Melee abilities color fix

This commit is contained in:
Athene
2015-10-11 13:35:58 +02:00
parent 848f118c22
commit 3ed3ff0e18
4 changed files with 4 additions and 8 deletions
@@ -1039,10 +1039,6 @@ function MikSBT.FormatEventText(animationEvent)
outputString = string.gsub(outputString, "%%a", "\124cffA000A0\124h%%a\124h\124r");
elseif animationEvent.DamageType == SPELL_SCHOOL6_CAP then
outputString = string.gsub(outputString, "%%a", "\124cffFFB9FF\124h%%a\124h\124r");
elseif animationEvent.DamageType == SPELL_SCHOOL0_CAP and animationEvent.EffectName and animationEvent.ScrollArea.AssociatedFrame == "MSBTFrameOutgoing" then
outputString = string.gsub(outputString, "%%a", "\124cffFFFF00\124h%%a\124h\124r");
elseif animationEvent.DamageType == SPELL_SCHOOL0_CAP then
outputString = string.gsub(outputString, "%%a", "\124cffFFFFFF\124h%%a\124h\124r");
elseif animationEvent.DamageType == "Inconnu" then
outputString = string.gsub(outputString, "%%a", "\124cffFFB9FF\124h%%a\124h\124r");
-- DEFAULT_CHAT_FRAME:AddMessage(animationEvent.DamageType)
@@ -1,5 +1,5 @@
## Interface: 11200
## Version: 4.11
## Version: 4.2
## Title: Mik's Scrolling Battle Text
## Notes: Scrolls battle information around the character model.
## OptionalDeps: SW_FixLogStrings
+2 -2
View File
@@ -12,8 +12,8 @@ MikSBT = {};
-------------------------------------------------------------------------------
MikSBT.MOD_NAME = "MikScrollingBattleText"
MikSBT.VERSION_NUMBER = 4.11;
MikSBT.VERSION_STRING = "v4.11";
MikSBT.VERSION_NUMBER = 4.2;
MikSBT.VERSION_STRING = "v4.2";
MikSBT.WINDOW_TITLE = "Mik's Scrolling Battle Text " .. MikSBT.VERSION_STRING .. " - \124cffF58CBA\124hAthene Edit\124h\124r";
MikSBT.COMMAND = "/msbt";
@@ -1,5 +1,5 @@
## Interface: 11200
## Version: 4.11
## Version: 4.2
## Title: Mik's Scrolling Battle Text Options
## Notes: Load on demand options for Mik's Scrolling Battle Text
## Dependencies: MikScrollingBattleText