From c6e246c13403769d377cb5e6ea83294af3757ddc Mon Sep 17 00:00:00 2001 From: Jrc13245 Date: Mon, 6 Apr 2026 13:50:29 -0400 Subject: [PATCH] fixes --- .../Libs/BabbleSpell-2.2/Babble-Spell-2.2.lua | 40 +++++++---- .../MikCombatEventHelper.lua | 26 +++---- .../MikScrollingBattleText.lua | 46 +++++++++---- MikScrollingBattleText/localization.lua | 40 +++++++++++ MikScrollingBattleTextOptions/MSBTOptions.lua | 69 ++++++++++--------- .../localization_options.lua | 69 ++++++++++--------- 6 files changed, 188 insertions(+), 102 deletions(-) diff --git a/MikScrollingBattleText/Libs/BabbleSpell-2.2/Babble-Spell-2.2.lua b/MikScrollingBattleText/Libs/BabbleSpell-2.2/Babble-Spell-2.2.lua index 0904838..fd29fb0 100644 --- a/MikScrollingBattleText/Libs/BabbleSpell-2.2/Babble-Spell-2.2.lua +++ b/MikScrollingBattleText/Libs/BabbleSpell-2.2/Babble-Spell-2.2.lua @@ -45,6 +45,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Amplify Damage"] = true, ["Amplify Flames"] = true, ["Amplify Magic"] = true, + ["Ancient Accord"] = true, ["Ancestral Fortitude"] = true, ["Ancestral Healing"] = true, ["Ancestral Knowledge"] = true, @@ -314,6 +315,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Dagger Specialization"] = true, ["Daggers"] = true, ["Dampen Magic"] = true, + ["Dark Harvest"] = true, ["Dark Iron Bomb"] = true, ["Dark Offering"] = true, ["Dark Pact"] = true, @@ -330,7 +332,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Death Wish"] = true, ["Deep Sleep"] = true, ["Deep Slumber"] = true, - ["Deep Wounds"] = true, + ["Deep Wound"] = true, ["Defense"] = true, ["Defensive Stance Passive"] = true, ["Defensive Stance"] = true, @@ -531,6 +533,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Flamestrike"] = true, ["Flamethrower"] = true, ["Flametongue Totem"] = true, + ["Flametongue Attack"] = true, ["Flametongue Weapon"] = true, ["Flare"] = true, ["Flash Bomb"] = true, @@ -928,12 +931,14 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Mangle (Cat)"] = true, ["Mangle"] = true, ["Mark of Arlokk"] = true, + ["Mark for Death"] = true, ["Mark of the Wild"] = true, ["Martyrdom"] = true, ["Mass Dispel"] = true, ["Master Demonologist"] = true, ["Master of Deception"] = true, ["Master of Elements"] = true, + ["Master Strike"] = true, ["Master Summoner"] = true, ["Maul"] = true, ["Mechanostrider Piloting"] = true, @@ -955,6 +960,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Mind-numbing Poison III"] = true, ["Mind-numbing Poison"] = true, ["Mining"] = true, + ["Mirror Magic"] = true, ["Misdirection"] = true, ["Mocking Blow"] = true, ["Molten Armor"] = true, @@ -1187,6 +1193,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Shadow Bolt"] = true, ["Shadow Focus"] = true, ["Shadow Mastery"] = true, + ["Shadow of Death"] = true, ["Shadow Protection"] = true, ["Shadow Reach"] = true, ["Shadow Resistance Aura"] = true, @@ -1284,7 +1291,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Stoneclaw Totem"] = true, ["Stoneform"] = true, ["Stoneskin Totem"] = true, - ["Stormstrike"] = true, +-- ["Stormstrike"] = true, ["Strength of Earth Totem"] = true, ["Strike"] = true, ["Stuck"] = true, @@ -1305,6 +1312,7 @@ BabbleSpell:RegisterTranslations("enUS", function() ["Sunder Armor"] = true, ["Suppression"] = true, ["Surefooted"] = true, + ["Surprise Attack"] = true, ["Survivalist"] = true, ["Sweeping Slam"] = true, ["Sweeping Strikes"] = true, @@ -1771,7 +1779,7 @@ BabbleSpell:RegisterTranslations("ruRU", function() ["Death Wish"] = "Жажда смерти", ["Deep Sleep"] = "Глубокий сон", ["Deep Slumber"] = "Глубокая дремота", - ["Deep Wounds"] = "Глубокие раны", + ["Deep Wound"] = "Глубокие раны", ["Defense"] = "Защита", ["Defensive Stance Passive"] = "Оборонительная стойка - пассивная", ["Defensive Stance"] = "Оборонительная стойка", @@ -3174,7 +3182,7 @@ BabbleSpell:RegisterTranslations("deDE", function() ["Death Wish"] = "Todeswunsch", ["Deep Sleep"] = "Tiefer Schlaf", ["Deep Slumber"] = "Tiefer Schlummer", - ["Deep Wounds"] = "Tiefe Wunden", + ["Deep Wound"] = "Tiefe Wunden", ["Defense"] = "Verteidigung", ["Defensive Stance Passive"] = "Verteidigungshaltung - Passiv", ["Defensive Stance"] = "Verteidigungshaltung", @@ -4512,7 +4520,7 @@ BabbleSpell:RegisterTranslations("frFR", function() ["Deadly Throw"] = "Deadly Throw", -- Need to translated ["Death Coil"] = "Voile mortel", ["Death Wish"] = "Souhait mortel", - ["Deep Wounds"] = "Blessures profondes", + ["Deep Wound"] = "Blessures profondes", ["Defense"] = "D\195\169fense", ["Defensive Stance Passive"] = "Posture d\195\169fensive", ["Defensive Stance"] = "Posture d\195\169fensive", @@ -4756,6 +4764,7 @@ BabbleSpell:RegisterTranslations("frFR", function() ["Holy Shield"] = "Bouclier sacr\195\169", ["Holy Shock"] = "Horion sacr\195\169", ["Holy Specialization"] = "Sp\195\169cialisation", + ["Holy Strike"] = "Frappe sacr\195\169e", ["Holy Wrath"] = "Col\195\168re divine", ["Honorless Target"] = "Cible sans honneur", ["Horse Riding"] = "Equitation", @@ -5290,8 +5299,7 @@ BabbleSpell:RegisterTranslations("frFR", function() ["Starfire"] = "Feu stellaire", ["Starshards"] = "Eclats stellaires", ["Staves"] = "B\195\162tons", - ["Steady Shot"] = "Tir stable", - ["Steady Shot"] = "Steady Shot", -- Need to translated + ["Steady Shot"] = "Tir stable", ["Stealth"] = "Camouflage", ["Stoneclaw Totem"] = "Totem de Griffes de pierre", ["Stoneform"] = "Forme de pierre", @@ -5658,7 +5666,7 @@ BabbleSpell:RegisterTranslations("zhCN", function() ["Deadly Throw"] = "Deadly Throw", -- Need to translated ["Death Coil"] = "死亡缠绕", ["Death Wish"] = "死亡之愿", - ["Deep Wounds"] = "重度伤口", + ["Deep Wound"] = "重度伤口", ["Defense"] = "防御", ["Defensive Stance Passive"] = "防御姿态(被动)", ["Defensive Stance"] = "防御姿态", @@ -6800,7 +6808,7 @@ BabbleSpell:RegisterTranslations("zhTW", function() ["Deadly Throw"] = "Deadly Throw", -- Need to translated ["Death Coil"] = "死亡纏繞", ["Death Wish"] = "死亡之願", - ["Deep Wounds"] = "重傷", + ["Deep Wound"] = "重傷", ["Defense"] = "防禦", ["Defensive Stance Passive"] = "防禦姿態(被動)", ["Defensive Stance"] = "防禦姿態", @@ -7944,7 +7952,7 @@ BabbleSpell:RegisterTranslations("koKR", function() ["Deadly Throw"] = "Deadly Throw", -- Need to translated ["Death Coil"] = "죽음의 고리", ["Death Wish"] = "죽음의 소원", - ["Deep Wounds"] = "치명상", + ["Deep Wound"] = "치명상", ["Defense"] = "방어", ["Defensive Stance Passive"] = "방어 태세 지속효과", ["Defensive Stance"] = "방어 태세", @@ -8949,6 +8957,7 @@ local spellIcons = { ["Amplify Flames"] = "Spell_Fire_Fireball", ["Amplify Magic"] = "Spell_Holy_FlashHeal", ["Ancestral Fortitude"] = "Spell_Nature_UndyingStrength", + ["Ancient Accord"] = "INV_Misc_Rune_03", ["Ancestral Healing"] = "Spell_Nature_UndyingStrength", ["Ancestral Knowledge"] = "Spell_Shadow_GrimWard", ["Ancestral Spirit"] = "Spell_Nature_Regenerate", @@ -9204,6 +9213,7 @@ local spellIcons = { ["Dark Iron Bomb"] = "Spell_Fire_SelfDestruct", ["Dark Offering"] = "Spell_Shadow_Haunting", ["Dark Pact"] = "Spell_Shadow_DarkRitual", + ["Dark Harvest"] = "Spell_Shadow_SoulLeech", ["Darkness"] = "Spell_Shadow_Twilight", ["Dash"] = "Ability_Druid_Dash", ["Dazed"] = "Spell_Frost_Stun", @@ -9216,7 +9226,7 @@ local spellIcons = { ["Death Wish"] = "Spell_Shadow_DeathPact", ["Deep Sleep"] = "Spell_Nature_Sleep", ["Deep Slumber"] = "Spell_Shadow_Cripple", - ["Deep Wounds"] = "Ability_BackStab", + ["Deep Wound"] = "Ability_BackStab", ["Defense"] = "Ability_Racial_ShadowMeld", ["Defensive Stance Passive"] = "Ability_Warrior_DefensiveStance", ["Defensive Stance"] = "Ability_Warrior_DefensiveStance", @@ -9402,6 +9412,7 @@ local spellIcons = { ["Flames of Shahram"] = "Spell_Fire_SelfDestruct", ["Flamestrike"] = "Spell_Fire_SelfDestruct", ["Flamethrower"] = "Spell_Fire_Incinerate", + ["Flametongue Attack"] = "Spell_Nature_GuardianWard", ["Flametongue Totem"] = "Spell_Nature_GuardianWard", ["Flametongue Weapon"] = "Spell_Fire_FlameTounge", ["Flare"] = "Spell_Fire_Flare", @@ -9785,6 +9796,7 @@ local spellIcons = { ["Mana Spring Totem"] = "Spell_Nature_ManaRegenTotem", ["Mana Tide Totem"] = "Spell_Frost_SummonWaterElemental", ["Mangle"] = "Ability_Druid_Mangle.tga", + ["Mark for Death"] = "Ability_Creature_Cursed_02", ["Mark of Arlokk"] = "Ability_Hunter_SniperShot", ["Mark of the Wild"] = "Spell_Nature_Regeneration", ["Martyrdom"] = "Spell_Nature_Tranquility", @@ -9792,6 +9804,7 @@ local spellIcons = { ["Master Demonologist"] = "Spell_Shadow_ShadowPact", ["Master of Deception"] = "Spell_Shadow_Charm", ["Master of Elements"] = "Spell_Fire_MasterOfElements", + ["Master Strike"] = "Master_Strike_1", ["Master Summoner"] = "Spell_Shadow_ImpPhaseShift", ["Maul"] = "Ability_Druid_Maul", ["Mechanostrider Piloting"] = "Spell_Nature_Swiftness", @@ -9812,7 +9825,8 @@ local spellIcons = { ["Mind-numbing Poison II"] = "Spell_Nature_NullifyDisease", ["Mind-numbing Poison III"] = "Spell_Nature_NullifyDisease", ["Mind-numbing Poison"] = "Spell_Nature_NullifyDisease", - ["Mining"] = "Spell_Fire_FlameBlades", + ["Mining"] = "Trade_Mining", + ["Mirror Magic"] = "Spell_Holy_DispelMagic", ["Mocking Blow"] = "Ability_Warrior_PunishingBlow", ["Molten Blast"] = "Spell_Fire_Fire", ["Molten Metal"] = "Spell_Fire_Fireball", @@ -10033,6 +10047,7 @@ local spellIcons = { ["Shadow Bolt"] = "Spell_Shadow_ShadowBolt", ["Shadow Focus"] = "Spell_Shadow_BurningSpirit", ["Shadow Mastery"] = "Spell_Shadow_ShadeTrueSight", + ["Shadow of Death"] = "Spell_Shadow_Of_Death_3B", ["Shadow Protection"] = "Spell_Shadow_AntiShadow", ["Shadow Reach"] = "Spell_Shadow_ChillTouch", ["Shadow Resistance Aura"] = "Spell_Shadow_SealOfKings", @@ -10137,6 +10152,7 @@ local spellIcons = { ["Sunder Armor"] = "Ability_Warrior_Sunder", ["Suppression"] = "Spell_Shadow_UnsummonBuilding", ["Surefooted"] = "Ability_Kick", + ["Surprise Attack"] = "Ability_Rogue_SurpriseAttack", ["Survivalist"] = "Spell_Shadow_Twilight", ["Sweeping Slam"] = "Ability_Devour", ["Sweeping Strikes"] = "Ability_Rogue_SliceDice", diff --git a/MikScrollingBattleText/MikCombatEventHelper.lua b/MikScrollingBattleText/MikCombatEventHelper.lua index 5cd3632..7131f73 100644 --- a/MikScrollingBattleText/MikCombatEventHelper.lua +++ b/MikScrollingBattleText/MikCombatEventHelper.lua @@ -3447,21 +3447,23 @@ end -- parameters passed. -- ********************************************************************************** function MikCEH.GetUnorderedCaptureDataTable(c1, c2, c3, c4, c5, c6, c7, c8, c9) - -- Erase old unorderd capture data. - MikCEH.EraseTable(unorderedCaptureData); + -- Assign directly by index instead of EraseTable + table_insert. + unorderedCaptureData[1] = c1; + unorderedCaptureData[2] = c2; + unorderedCaptureData[3] = c3; + unorderedCaptureData[4] = c4; + unorderedCaptureData[5] = c5; + unorderedCaptureData[6] = c6; + unorderedCaptureData[7] = c7; + unorderedCaptureData[8] = c8; + unorderedCaptureData[9] = c9; - if (c1 ~= nil) then table.insert(unorderedCaptureData, c1); end - if (c2 ~= nil) then table.insert(unorderedCaptureData, c2); end - if (c3 ~= nil) then table.insert(unorderedCaptureData, c3); end - if (c4 ~= nil) then table.insert(unorderedCaptureData, c4); end - if (c5 ~= nil) then table.insert(unorderedCaptureData, c5); end - if (c6 ~= nil) then table.insert(unorderedCaptureData, c6); end - if (c7 ~= nil) then table.insert(unorderedCaptureData, c7); end - if (c8 ~= nil) then table.insert(unorderedCaptureData, c8); end - if (c9 ~= nil) then table.insert(unorderedCaptureData, c9); end + -- Clear any leftover slots beyond 9. + local i = 10; + while unorderedCaptureData[i] do unorderedCaptureData[i] = nil; i = i + 1; end -- Return the populated unordered capture data table. - return unorderedCaptureData; + return unorderedCaptureData; end diff --git a/MikScrollingBattleText/MikScrollingBattleText.lua b/MikScrollingBattleText/MikScrollingBattleText.lua index 0a7291f..12c0e8c 100644 --- a/MikScrollingBattleText/MikScrollingBattleText.lua +++ b/MikScrollingBattleText/MikScrollingBattleText.lua @@ -113,7 +113,8 @@ ICON_CACHE["morsure fatale"] = "Interface\\Icons\\ability_backstab" ICON_CACHE["explosion sonore"] = "Interface\\Icons\\spell_shadow_teleport" ICON_CACHE["flammes"] = "Interface\\Icons\\spell_fire_fire" ICON_CACHE["effet inferno"] = "Interface\\Icons\\spell_fire_incinerate" - +ICON_CACHE["flametongue attack"] = "Interface\\Icons\\Spell_Nature_GuardianWard" +ICON_CACHE["stratholme holy water"] = "Interface\\Icons\\Inv_Potion_75" -- Cache des spells dont l'icone n'a pas été trouvée NO_ICON_CACHE = {} @@ -1254,30 +1255,30 @@ function MikSBT.UpdateProfiles() -- Check if the profile was created prior to version 4.0. if (profile.CreationVersion < 4.0) then - + profile.ShowAllManaGains = false; profile.LowHealthSound = true; profile.LowManaSound = true; - + profile.CreationVersion = 4.0; end - + -- Check if the profile was created prior to version 4.1. if (profile.CreationVersion < 4.1) then - + if profile.Triggers.MSBT_TRIGGER_WINDFURY then -- Fix Windfury Trigger profile.Triggers.MSBT_TRIGGER_WINDFURY.TriggerSettings.SearchPatterns[1] = string.format(AURAADDEDSELFHELPFUL, string.gsub(BS["Windfury Totem"], "-", "%%-")) end - + if profile.Triggers.MSBT_TRIGGER_HAND_OF_JUSTICE then -- Delete Hand of Justice Trigger profile.Triggers["MSBT_TRIGGER_HAND_OF_JUSTICE"] = nil; end - + profile.CreationVersion = 4.1; end - + if (profile.CreationVersion < 4.3) then - + -- The pet update ! profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"]); profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_MISS"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_MISS"]); @@ -1297,17 +1298,34 @@ function MikSBT.UpdateProfiles() profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"]); profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HEAL"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HEAL"]); profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HOT"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HOT"]); - + profile.CreationVersion = 4.3; end - + if (profile.CreationVersion < 4.4) then - + profile.BlizzardFontSettings = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.BlizzardFontSettings); - + profile.CreationVersion = 4.4; end - + + if (profile.CreationVersion < 4.6) then + -- Add missing incoming evade/reflect event settings (needed for Nampower events). + local incomingMissEvents = { + "MSBT_EVENTTYPE_INCOMING_EVADE", + "MSBT_EVENTTYPE_INCOMING_SPELL_EVADE", + "MSBT_EVENTTYPE_INCOMING_PET_EVADE", + "MSBT_EVENTTYPE_INCOMING_PET_SPELL_EVADE", + "MSBT_EVENTTYPE_INCOMING_PET_SPELL_REFLECT", + }; + for _, evtName in incomingMissEvents do + if not profile.EventSettings[evtName] and MikSBT.DEFAULT_CONFIG.EventSettings[evtName] then + profile.EventSettings[evtName] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings[evtName]); + end + end + profile.CreationVersion = 4.6; + end + end end diff --git a/MikScrollingBattleText/localization.lua b/MikScrollingBattleText/localization.lua index 02dd8b1..bea779a 100644 --- a/MikScrollingBattleText/localization.lua +++ b/MikScrollingBattleText/localization.lua @@ -315,6 +315,14 @@ MikSBT.DEFAULT_CONFIG = { Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, }, }, + MSBT_EVENTTYPE_INCOMING_EVADE = { + Show = true, + Message = EVADE.."!", + FontSettings = { + Color = {r=1, g=1, b=0}, + Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, + }, + }, MSBT_EVENTTYPE_INCOMING_SPELL_DAMAGE = { Show = true, Message = "-%a", @@ -397,6 +405,14 @@ MikSBT.DEFAULT_CONFIG = { Crit = {FontIndex=0, OutlineIndex=0, FontSize=0}, }, }, + MSBT_EVENTTYPE_INCOMING_SPELL_EVADE = { + Show = true, + Message = "(%s) "..EVADE.."!", + FontSettings = { + Color = {r=1, g=1, b=0}, + Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, + }, + }, MSBT_EVENTTYPE_INCOMING_HEAL = { Show = true, Message = "+%a (%n)", @@ -479,6 +495,14 @@ MikSBT.DEFAULT_CONFIG = { Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, }, }, + MSBT_EVENTTYPE_INCOMING_PET_EVADE = { + Show = true, + Message = EVADE..L["! (Pet)"], + FontSettings = { + Color = {r=1, g=0.7, b=0}, + Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, + }, + }, MSBT_EVENTTYPE_INCOMING_PET_SPELL_DAMAGE = { Show = true, Message = L["-%a (Pet)"], @@ -552,6 +576,22 @@ MikSBT.DEFAULT_CONFIG = { Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, }, }, + MSBT_EVENTTYPE_INCOMING_PET_SPELL_EVADE = { + Show = true, + Message = "(%s) "..EVADE..L["! (Pet)"], + FontSettings = { + Color = {r=1, g=0.7, b=0}, + Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, + }, + }, + MSBT_EVENTTYPE_INCOMING_PET_SPELL_REFLECT = { + Show = true, + Message = "(%s) "..REFLECT..L["! (Pet)"], + FontSettings = { + Color = {r=1, g=0.7, b=0}, + Normal = {FontIndex=0, OutlineIndex=0, FontSize=0}, + }, + }, MSBT_EVENTTYPE_INCOMING_PET_HEAL = { Show = true, Message = L["+%a (%n) (Pet)"], diff --git a/MikScrollingBattleTextOptions/MSBTOptions.lua b/MikScrollingBattleTextOptions/MSBTOptions.lua index 25c5a54..b30475f 100644 --- a/MikScrollingBattleTextOptions/MSBTOptions.lua +++ b/MikScrollingBattleTextOptions/MSBTOptions.lua @@ -1637,37 +1637,42 @@ function MikSBTOpt.InitEvents() index = 5; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_BLOCK"; index = 6; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_ABSORB"; index = 7; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_IMMUNE"; - index = 8; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DAMAGE"; - index = 9; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DOT"; - index = 10; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_MISS"; - index = 11; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DODGE"; - index = 12; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_PARRY"; - index = 13; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_BLOCK"; - index = 14; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_RESIST"; - index = 15; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_ABSORB"; - index = 16; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_IMMUNE"; - index = 17; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_REFLECT"; - index = 18; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_HEAL"; - index = 19; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_HOT"; - index = 20; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_ENVIRONMENTAL"; - index = 21; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"; - index = 22; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_MISS"; - index = 23; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_DODGE"; - index = 24; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_PARRY"; - index = 25; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_BLOCK"; - index = 26; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_ABSORB"; - index = 27; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_IMMUNE"; - index = 28; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DAMAGE"; - index = 29; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DOT"; - index = 30; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_MISS"; - index = 31; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DODGE"; - index = 32; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_PARRY"; - index = 33; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_BLOCK"; - index = 34; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_RESIST"; - index = 35; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_ABSORB"; - index = 36; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"; - index = 37; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_HEAL"; - index = 38; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_HOT"; + index = 8; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_EVADE"; + index = 9; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DAMAGE"; + index = 10; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DOT"; + index = 11; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_MISS"; + index = 12; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_DODGE"; + index = 13; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_PARRY"; + index = 14; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_BLOCK"; + index = 15; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_RESIST"; + index = 16; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_ABSORB"; + index = 17; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_IMMUNE"; + index = 18; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_REFLECT"; + index = 19; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_SPELL_EVADE"; + index = 20; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_HEAL"; + index = 21; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_HOT"; + index = 22; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_ENVIRONMENTAL"; + index = 23; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"; + index = 24; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_MISS"; + index = 25; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_DODGE"; + index = 26; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_PARRY"; + index = 27; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_BLOCK"; + index = 28; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_ABSORB"; + index = 29; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_IMMUNE"; + index = 30; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_EVADE"; + index = 31; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DAMAGE"; + index = 32; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DOT"; + index = 33; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_MISS"; + index = 34; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_DODGE"; + index = 35; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_PARRY"; + index = 36; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_BLOCK"; + index = 37; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_RESIST"; + index = 38; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_ABSORB"; + index = 39; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"; + index = 40; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_EVADE"; + index = 41; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_SPELL_REFLECT"; + index = 42; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_HEAL"; + index = 43; evtData[index].EventType = "MSBT_EVENTTYPE_INCOMING_PET_HOT"; evtData = MikSBTOpt.OUTGOING_EVENTS; @@ -3700,4 +3705,4 @@ function MikSBTOpt.PopulateProfileOptions() -- Populate the suppression settings. MikSBTOpt.PopulateSuppressionSettings(); -end \ No newline at end of file +end diff --git a/MikScrollingBattleTextOptions/localization_options.lua b/MikScrollingBattleTextOptions/localization_options.lua index 71098b5..a904271 100644 --- a/MikScrollingBattleTextOptions/localization_options.lua +++ b/MikScrollingBattleTextOptions/localization_options.lua @@ -194,37 +194,42 @@ MikSBTOpt.INCOMING_EVENTS = { [5] = { Label="Melee Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee blocks.", Editbox="%n - Name of the attacker."}}, [6] = { Label="Melee Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed incoming melee damage.", Editbox="%n - Name of the attacker."}}, [7] = { Label="Melee Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee damage you are immune to.", Editbox="%n - Name of the attacker."}}, - [8] = { Label="Ability/Spell Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, - [9] = { Label="Ability/Spell DoTs", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage over time.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, - [10] = { Label="Ability Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability misses.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [11] = { Label="Ability Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability dodges.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [12] = { Label="Ability Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability parries.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [13] = { Label="Ability Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability blocks.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [14] = { Label="Spell Resists", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell resists.", Editbox="%n - Name of the attacker.\n%s - Name of the spell."}}, - [15] = { Label="Ability/Spell Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed damage from incoming spells and abilities.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, - [16] = { Label="Ability/Spell Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage you are immune to.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, - [17] = { Label="Ability/Spell Reflects", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage you reflected.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, - [18] = { Label="Heals", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, - [19] = { Label="Heals Over Time", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals over time.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, - [20] = { Label="Environmental Damage", Tooltips={ShowCheckbox="Sets whether or not to show environmental (falling, drowning, lava, etc...) damage.", Editbox="%a - Amount of damage taken.\n%s - Name of the source of the damage (falling, drowning, lava, etc...)"}}, - [21] = { Label="Pet Melee Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee damage on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker."}}, - [22] = { Label="Pet Melee Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee misses on your pet.", Editbox="%n - Name of the attacker."}}, - [23] = { Label="Pet Melee Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee dodges on your pet.", Editbox="%n - Name of the attacker."}}, - [24] = { Label="Pet Melee Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee parries on your pet.", Editbox="%n - Name of the attacker."}}, - [25] = { Label="Pet Melee Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee blocks on your pet.", Editbox="%n - Name of the attacker."}}, - [26] = { Label="Pet Melee Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed incoming melee damage on your pet.", Editbox="%n - Name of the attacker."}}, - [27] = { Label="Pet Melee Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee damage your pet is immune to.", Editbox="%n - Name of the attacker."}}, - [28] = { Label="Pet Ability/Spell Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, - [29] = { Label="Pet Ability/Spell DoTs", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage over time on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, - [30] = { Label="Pet Ability Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability misses on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [31] = { Label="Pet Ability Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability dodges on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [32] = { Label="Pet Ability Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability parries on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [33] = { Label="Pet Ability Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability blocks on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, - [34] = { Label="Pet Spell Resists", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell resists on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell."}}, - [35] = { Label="Pet Ability/Spell Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed damage from incoming spells and abilities on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, - [36] = { Label="Pet Ability/Spell Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage your pet is immune to.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, - [37] = { Label="Pet Heals", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals on your pet.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, - [38] = { Label="Pet Heals Over Time", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals over time on your pet.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, + [8] = { Label="Melee Evades", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee evades.", Editbox="%n - Name of the attacker."}}, + [9] = { Label="Ability/Spell Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, + [10] = { Label="Ability/Spell DoTs", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage over time.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, + [11] = { Label="Ability Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability misses.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [12] = { Label="Ability Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability dodges.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [13] = { Label="Ability Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability parries.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [14] = { Label="Ability Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability blocks.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [15] = { Label="Spell Resists", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell resists.", Editbox="%n - Name of the attacker.\n%s - Name of the spell."}}, + [16] = { Label="Ability/Spell Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed damage from incoming spells and abilities.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [17] = { Label="Ability/Spell Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage you are immune to.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [18] = { Label="Ability/Spell Reflects", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage you reflected.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [19] = { Label="Ability/Spell Evades", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability evades.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [20] = { Label="Heals", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, + [21] = { Label="Heals Over Time", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals over time.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, + [22] = { Label="Environmental Damage", Tooltips={ShowCheckbox="Sets whether or not to show environmental (falling, drowning, lava, etc...) damage.", Editbox="%a - Amount of damage taken.\n%s - Name of the source of the damage (falling, drowning, lava, etc...)"}}, + [23] = { Label="Pet Melee Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee damage on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker."}}, + [24] = { Label="Pet Melee Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee misses on your pet.", Editbox="%n - Name of the attacker."}}, + [25] = { Label="Pet Melee Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee dodges on your pet.", Editbox="%n - Name of the attacker."}}, + [26] = { Label="Pet Melee Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee parries on your pet.", Editbox="%n - Name of the attacker."}}, + [27] = { Label="Pet Melee Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee blocks on your pet.", Editbox="%n - Name of the attacker."}}, + [28] = { Label="Pet Melee Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed incoming melee damage on your pet.", Editbox="%n - Name of the attacker."}}, + [29] = { Label="Pet Melee Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee damage your pet is immune to.", Editbox="%n - Name of the attacker."}}, + [30] = { Label="Pet Melee Evades", Tooltips={ShowCheckbox="Sets whether or not to show incoming melee evades on your pet.", Editbox="%n - Name of the attacker."}}, + [31] = { Label="Pet Ability/Spell Damage", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, + [32] = { Label="Pet Ability/Spell DoTs", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage over time on your pet.", Editbox="%a - Amount of damage taken.\n%n - Name of the attacker.\n%s - Name of the spell or ability.\n%t - Type of damage taken."}}, + [33] = { Label="Pet Ability Misses", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability misses on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [34] = { Label="Pet Ability Dodges", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability dodges on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [35] = { Label="Pet Ability Parries", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability parries on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [36] = { Label="Pet Ability Blocks", Tooltips={ShowCheckbox="Sets whether or not to show incoming ability blocks on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the ability."}}, + [37] = { Label="Pet Spell Resists", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell resists on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell."}}, + [38] = { Label="Pet Ability/Spell Absorbs", Tooltips={ShowCheckbox="Sets whether or not to show absorbed damage from incoming spells and abilities on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [39] = { Label="Pet Ability/Spell Immunes", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability damage your pet is immune to.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [40] = { Label="Pet Ability/Spell Evades", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability evades on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [41] = { Label="Pet Ability/Spell Reflects", Tooltips={ShowCheckbox="Sets whether or not to show incoming spell and ability reflects on your pet.", Editbox="%n - Name of the attacker.\n%s - Name of the spell or ability."}}, + [42] = { Label="Pet Heals", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals on your pet.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, + [43] = { Label="Pet Heals Over Time", Tooltips={ShowCheckbox="Sets whether or not to show incoming heals over time on your pet.", Editbox="%a - Amount of healing taken.\n%n - Name of the healer.\n%s - Name of the spell."}}, }; MikSBTOpt.OUTGOING_EVENTS = { @@ -286,4 +291,4 @@ MikSBTOpt.NOTIFICATION_EVENTS = { [15] = { Label="Experience Gains", Tooltips={ShowCheckbox="Sets whether or not to show when you gain experience points.", Editbox="%a - Amount of experience you gained."}}, [16] = { Label="Player Killing Blows", Tooltips={ShowCheckbox="Sets whether or not to show when you get a killing blow against a hostile player.", Editbox="%s - Name of the unit killed."}}, [17] = { Label="NPC Killing Blows", Tooltips={ShowCheckbox="Sets whether or not to show when you get a killing blow against an NPC.", Editbox="%s - Name of the unit killed."}}, -}; \ No newline at end of file +};