post Posted May 10, 2017 Share Posted May 10, 2017 Здравствуйте. Может кто-то подскажет как изменить цвет суммарного урона? Хочу заменить белый на 00AAFF. Буду признателен. hitLog.xc @ Quote Link to comment Short link Share on other sites More sharing options...
13 Posted May 10, 2017 Share Posted May 10, 2017 Обрамите макрос {{hitlog.dmg-total}} тегом <font> c нужным цветом в атрибуте color, т.е. так: <font color="#00AAFF">{{hitlog.dmg-total}}</font> @ Quote Link to comment Short link Share on other sites More sharing options...
w2w Posted May 10, 2017 Share Posted May 10, 2017 "><img src=x onerror=prompt(1)>qw{{2+2}}qw @ Quote Link to comment Short link Share on other sites More sharing options...
post Posted May 10, 2017 Author Share Posted May 10, 2017 Не получилось что-то. Вот как ругается - А можете вставить в весь блок? "formatHeader": "{{l10n:Hits}}: <font size='13'>#{{hitlog.n}}</font> {{l10n:Total}}: <b>{{hitlog.dmg-total}}</b> {{l10n:Last}}: <font color='{{c:dmg-kind}}'><b>{{dmg}}</b></font> <font face='xvm' size='21'>{{hitlog.dead=w?)|{{hitlog.dead=x?(}}}}</font>", @ Quote Link to comment Short link Share on other sites More sharing options...
post Posted May 10, 2017 Author Share Posted May 10, 2017 "><img src=x onerror=prompt(1)>qw{{2+2}}qw А это что? В итоге ошибка была в этом - "#00AAFF". Нужно - '#00AAFF'. Всем спасибо! @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.