From a9202be2b8af070af9dcc943c074e1a2fc809c88 Mon Sep 17 00:00:00 2001 From: Wurmschwanz Date: Sun, 30 Aug 2026 17:06:22 +0200 Subject: [PATCH] Delete spells directory --- spells/druid.lua | 85 ------------------ spells/hunter.lua | 97 --------------------- spells/mage.lua | 70 --------------- spells/paladin.lua | 54 ------------ spells/priest.lua | 78 ----------------- spells/registry_shadow.lua | 153 --------------------------------- spells/rogue.lua | 75 ---------------- spells/shaman.lua | 40 --------- spells/warlock.lua | 172 ------------------------------------- spells/warrior.lua | 109 ----------------------- 10 files changed, 933 deletions(-) delete mode 100644 spells/druid.lua delete mode 100644 spells/hunter.lua delete mode 100644 spells/mage.lua delete mode 100644 spells/paladin.lua delete mode 100644 spells/priest.lua delete mode 100644 spells/registry_shadow.lua delete mode 100644 spells/rogue.lua delete mode 100644 spells/shaman.lua delete mode 100644 spells/warlock.lua delete mode 100644 spells/warrior.lua diff --git a/spells/druid.lua b/spells/druid.lua deleted file mode 100644 index 17be58b..0000000 --- a/spells/druid.lua +++ /dev/null @@ -1,85 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.DruidAuras = { - { - key = "moonfire", - names = { "Moonfire" }, - duration = 18, - }, - { - key = "rake", - names = { "Rake" }, - duration = 9, - }, - { - key = "rip", - names = { "Rip" }, - duration = 12, - }, - { - key = "faerie_fire", - names = { "Faerie Fire" }, - duration = 40, - }, - { - key = "faerie_fire_feral", - names = { "Faerie Fire (Feral)" }, - duration = 40, - }, - { - key = "entangling_roots", - names = { "Entangling Roots" }, - duration = 27, - }, - { - key = "insect_swarm", - names = { "Insect Swarm" }, - duration = 18, - }, - { - key = "bash", - names = { "Bash" }, - duration = 4, - }, - { - key = "pounce", - names = { "Pounce" }, - duration = 2, - }, - { - key = "pounce_bleed", - names = { "Pounce Bleed" }, - duration = 18, - }, - { - key = "hibernate", - names = { "Hibernate" }, - duration = 40, - }, - { - key = "demoralizing_roar", - names = { "Demoralizing Roar" }, - duration = 30, - }, - { - key = "feral_charge_effect", - names = { "Feral Charge Effect" }, - duration = 4, - }, - { - key = "challenging_roar", - names = { "Challenging Roar" }, - duration = 6, - }, - { - key = "lacerate", - names = { "Lacerate" }, - duration = 8, - }, - { - key = "mangle", - names = { "Mangle" }, - duration = 2, - }, -} diff --git a/spells/hunter.lua b/spells/hunter.lua deleted file mode 100644 index 0d4524c..0000000 --- a/spells/hunter.lua +++ /dev/null @@ -1,97 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.HunterAuras = { - { - key = "immolation_trap_effect", - names = { "Immolation Trap Effect" }, - duration = 15, - spellIDs = { 14298 }, - }, - { - key = "explosive_trap_effect", - names = { "Explosive Trap Effect" }, - duration = 20, - }, - { - key = "freezing_trap_effect", - names = { "Freezing Trap Effect" }, - duration = 20, - }, - { - key = "serpent_sting", - names = { "Serpent Sting" }, - duration = 15, - }, - { - key = "viper_sting", - names = { "Viper Sting" }, - duration = 8, - }, - { - key = "scorpid_sting", - names = { "Scorpid Sting" }, - duration = 20, - }, - { - key = "improved_scorpid_sting", - names = { "Improved Scorpid Sting" }, - duration = 20, - }, - { - key = "wing_clip", - names = { "Wing Clip" }, - duration = 10, - }, - { - key = "improved_wing_clip", - names = { "Improved Wing Clip" }, - duration = 5, - }, - { - key = "concussive_shot", - names = { "Concussive Shot" }, - duration = 4, - }, - { - key = "improved_concussive_shot", - names = { "Improved Concussive Shot" }, - duration = 3, - }, - { - key = "scatter_shot", - names = { "Scatter Shot" }, - duration = 4, - }, - { - key = "wyvern_sting", - names = { "Wyvern Sting" }, - duration = 12, - }, - { - key = "entrapment", - names = { "Entrapment" }, - duration = 5, - }, - { - key = "counterattack", - names = { "Counterattack" }, - duration = 5, - }, - { - key = "intimidation", - names = { "Intimidation" }, - duration = 3, - }, - { - key = "scare_beast", - names = { "Scare Beast" }, - duration = 20, - }, - { - key = "hunters_mark", - names = { "Hunter's Mark" }, - duration = 120, - shared = true, - }, -} diff --git a/spells/mage.lua b/spells/mage.lua deleted file mode 100644 index cefc483..0000000 --- a/spells/mage.lua +++ /dev/null @@ -1,70 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.MageAuras = { - { - key = "frostbolt", - names = { "Frostbolt" }, - duration = 9, - }, - { - key = "fireball", - names = { "Fireball" }, - duration = 8, - }, - { - key = "pyroblast", - names = { "Pyroblast" }, - duration = 12, - }, - { - key = "polymorph", - names = { "Polymorph" }, - duration = 50, - }, - { - key = "cone_of_cold", - names = { "Cone of Cold" }, - duration = 8, - }, - { - key = "frost_nova", - names = { "Frost Nova" }, - duration = 8, - }, - { - key = "counterspell", - names = { "Counterspell" }, - duration = 10, - }, - { - key = "counterspell_silence", - names = { "Counterspell - Silenced" }, - duration = 4, - }, - { - key = "ignite", - names = { "Ignite" }, - duration = 4, - }, - { - key = "impact", - names = { "Impact" }, - duration = 2, - }, - { - key = "frostbite", - names = { "Frostbite" }, - duration = 5, - }, - { - key = "fire_vulnerability", - names = { "Fire Vulnerability" }, - duration = 30, - }, - { - key = "winters_chill", - names = { "Winter's Chill" }, - duration = 15, - }, -} diff --git a/spells/paladin.lua b/spells/paladin.lua deleted file mode 100644 index 2082700..0000000 --- a/spells/paladin.lua +++ /dev/null @@ -1,54 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.PaladinAuras = { - { - key = "judgement_light", - names = { "Judgement of Light" }, - duration = 10, - spellIDs = { 20344 }, - }, - { - key = "judgement_wisdom", - names = { "Judgement of Wisdom" }, - duration = 10, - spellIDs = { 20355 }, - }, - { - key = "judgement_justice", - names = { "Judgement of Justice" }, - duration = 10, - spellIDs = { 20184 }, - }, - { - key = "judgement_crusader", - names = { "Judgement of the Crusader" }, - duration = 10, - spellIDs = { 20302 }, - }, - { - key = "hammer_of_justice", - names = { "Hammer of Justice" }, - duration = 6, - }, - { - key = "repentance", - names = { "Repentance" }, - duration = 6, - }, - { - key = "turn_undead", - names = { "Turn Undead" }, - duration = 20, - }, - { - key = "hand_of_reckoning", - names = { "Hand of Reckoning" }, - duration = 3, - }, - { - key = "crusader_strike", - names = { "Crusader Strike" }, - duration = 30, - }, -} diff --git a/spells/priest.lua b/spells/priest.lua deleted file mode 100644 index 0ebaff3..0000000 --- a/spells/priest.lua +++ /dev/null @@ -1,78 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.PriestAuras = { - { - key = "shadow_word_pain", - names = { "Shadow Word: Pain", "Schattenwort: Schmerz" }, - duration = 18, - }, - { - key = "devouring_plague", - names = { "Devouring Plague" }, - duration = 24, - }, - { - key = "vampiric_embrace", - names = { "Vampiric Embrace" }, - duration = 60, - }, - { - key = "mind_flay", - channel = true, - names = { "Mind Flay" }, - duration = 3, - }, - { - key = "psychic_scream", - names = { "Psychic Scream" }, - duration = 8, - }, - { - key = "silence", - names = { "Silence" }, - duration = 5, - }, - { - key = "hex_of_weakness", - names = { "Hex of Weakness" }, - duration = 120, - }, - { - key = "touch_of_weakness", - names = { "Touch of Weakness" }, - duration = 120, - }, - { - key = "holy_fire", - names = { "Holy Fire" }, - duration = 10, - }, - { - key = "blackout", - names = { "Blackout" }, - duration = 3, - }, - { - key = "starshards", - channel = true, - names = { "Starshards" }, - duration = 6, - }, - { - key = "shadow_vulnerability", - names = { "Shadow Vulnerability" }, - duration = 15, - }, - { - key = "shackle_undead", - names = { "Shackle Undead" }, - duration = 50, - }, - { - key = "mind_control", - channel = true, - names = { "Mind Control" }, - duration = 60, - }, -} diff --git a/spells/registry_shadow.lua b/spells/registry_shadow.lua deleted file mode 100644 index c3e2356..0000000 --- a/spells/registry_shadow.lua +++ /dev/null @@ -1,153 +0,0 @@ -BNP = BNP or {} - --- Shadow-only spell registry. --- This module never controls tracking or rendering. It only audits whether a --- successful local cast could be resolved by a future SpellDB implementation. -BNP.SpellDBShadow = BNP.SpellDBShadow or { - byID = {}, - byName = {}, - byTexture = {}, - stats = { total = 0, id = 0, name = 0, texture = 0, unknown = 0, ignored = 0 }, - recent = {}, -} - -local DB = BNP.SpellDBShadow - --- Successful SuperWoW cast events which are not hostile target auras and must --- not count as missing SpellDB entries. More can be added as Turtle exposes --- additional proc/engine events during testing. -local IGNORED_SPELL_IDS = { - [17941] = true, -- Shadow Trance / Nightfall proc - [836] = true, -- LOGINEFFECT engine event -} - -local function Lower(value) - if not value then return nil end - return string.lower(value) -end - -local function RegisterDef(def) - if not def then return end - - if def.names then - for _, name in ipairs(def.names) do - DB.byName[Lower(name)] = def - end - end - - if def.textureMatch then - DB.byTexture[Lower(def.textureMatch)] = def - end - - if def.durations then - for spellID in pairs(def.durations) do - DB.byID[spellID] = def - end - end - - if def.spellIDs then - for _, spellID in ipairs(def.spellIDs) do - DB.byID[spellID] = def - end - end -end - -for _, def in ipairs(BNP.WarlockAuras or {}) do - RegisterDef(def) -end - -local function FindByTexture(texture) - local lowerTexture = Lower(texture) - if not lowerTexture then return nil end - - for fragment, def in pairs(DB.byTexture) do - if string.find(lowerTexture, fragment) then - return def - end - end - - return nil -end - -local function PushRecent(spellID, spellName, result, key) - local recent = DB.recent - table.insert(recent, 1, { - id = spellID, - name = spellName or "?", - result = result, - key = key or "?", - }) - - while table.getn(recent) > 10 do - table.remove(recent) - end -end - -function BNP:AuditSpellDB(spellID) - if not spellID or not SpellInfo then return end - - if IGNORED_SPELL_IDS[spellID] then - DB.stats.ignored = (DB.stats.ignored or 0) + 1 - return - end - - local spellName, _, texture = SpellInfo(spellID) - local def = DB.byID[spellID] - local result = "ID" - - if not def and spellName then - def = DB.byName[Lower(spellName)] - result = "NAME" - end - - if not def and texture then - def = FindByTexture(texture) - result = "TEXTURE" - end - - DB.stats.total = DB.stats.total + 1 - - if def then - if result == "ID" then - DB.stats.id = DB.stats.id + 1 - elseif result == "NAME" then - DB.stats.name = DB.stats.name + 1 - else - DB.stats.texture = DB.stats.texture + 1 - end - PushRecent(spellID, spellName, result, def.key) - else - DB.stats.unknown = DB.stats.unknown + 1 - PushRecent(spellID, spellName, "UNKNOWN", "-") - end -end - -function BNP:PrintSpellDBAudit() - local stats = DB.stats - self:Print("SpellDB Schattenmodus – Renderer unverändert.") - self:Print("Casts: " .. stats.total .. " | ID: " .. stats.id .. " | Name: " .. stats.name .. " | Textur: " .. stats.texture .. " | Unbekannt: " .. stats.unknown .. " | Ignoriert: " .. (stats.ignored or 0)) - - if table.getn(DB.recent) == 0 then - self:Print("Noch keine eigenen erfolgreichen Casts protokolliert.") - return - end - - self:Print("Letzte Casts:") - for i = 1, table.getn(DB.recent) do - local entry = DB.recent[i] - self:Print(entry.name .. " [" .. tostring(entry.id) .. "] -> " .. entry.result .. " (" .. entry.key .. ")") - end -end - -function BNP:ResetSpellDBAudit() - DB.stats.total = 0 - DB.stats.id = 0 - DB.stats.name = 0 - DB.stats.texture = 0 - DB.stats.unknown = 0 - DB.stats.ignored = 0 - for i = table.getn(DB.recent), 1, -1 do - table.remove(DB.recent, i) - end - self:Print("SpellDB-Protokoll zurückgesetzt.") -end diff --git a/spells/rogue.lua b/spells/rogue.lua deleted file mode 100644 index d685997..0000000 --- a/spells/rogue.lua +++ /dev/null @@ -1,75 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.RogueAuras = { - { - key = "garrote", - names = { "Garrote" }, - duration = 18, - }, - { - key = "rupture", - names = { "Rupture" }, - duration = 6, - }, - { - key = "gouge", - names = { "Gouge" }, - duration = 4, - }, - { - key = "kidney_shot", - names = { "Kidney Shot" }, - duration = 6, - }, - { - key = "cheap_shot", - names = { "Cheap Shot" }, - duration = 4, - }, - { - key = "sap", - names = { "Sap" }, - duration = 45, - }, - { - key = "blind", - names = { "Blind" }, - duration = 10, - }, - { - key = "expose_armor", - names = { "Expose Armor" }, - duration = 30, - }, - { - key = "kick_silenced", - names = { "Kick - Silenced" }, - duration = 2, - }, - { - key = "hemorrhage", - names = { "Hemorrhage" }, - duration = 15, - }, - { - key = "crippling_poison", - names = { "Crippling Poison" }, - duration = 12, - }, - { - key = "mind_numbing_poison", - names = { "Mind-numbing Poison" }, - duration = 10, - }, - { - key = "wound_poison", - names = { "Wound Poison" }, - duration = 15, - }, - { - key = "deadly_poison", - names = { "Deadly Poison", "Deadly Poison II", "Deadly Poison III", "Deadly Poison IV", "Deadly Poison V" }, - duration = 12, - }, -} diff --git a/spells/shaman.lua b/spells/shaman.lua deleted file mode 100644 index 3a23dd9..0000000 --- a/spells/shaman.lua +++ /dev/null @@ -1,40 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.ShamanAuras = { - { - key = "flame_shock", - names = { "Flame Shock" }, - duration = 12, - }, - { - key = "frost_shock", - names = { "Frost Shock" }, - duration = 8, - }, - { - key = "stormstrike", - names = { "Stormstrike" }, - duration = 12, - }, - { - key = "earth_shock", - names = { "Earth Shock" }, - duration = 2, - }, - { - key = "earthbind", - names = { "Earthbind" }, - duration = 5, - }, - { - key = "earthgrab", - names = { "Earthgrab" }, - duration = 4, - }, - { - key = "frostbrand_attack", - names = { "Frostbrand Attack" }, - duration = 8, - }, -} diff --git a/spells/warlock.lua b/spells/warlock.lua deleted file mode 100644 index 6c838a1..0000000 --- a/spells/warlock.lua +++ /dev/null @@ -1,172 +0,0 @@ -BNP = BNP or {} - --- Warlock debuffs supported by the SuperWoW own-cast tracker. --- Durations are Vanilla defaults. Rank-specific values are used where ranks --- materially change the duration. Server-specific effects such as Dark --- Harvest are intentionally handled in a later compatibility pass. -BNP.WarlockAuras = { - { - key = "corruption", - names = { "Corruption", "Verderbnis" }, - texture = "Interface\\Icons\\Spell_Shadow_AbominationExplosion", - textureMatch = "abominationexplosion", - duration = 18, - durations = { [172] = 12, [6222] = 15, [6223] = 18, [7648] = 18, [11671] = 18, [11672] = 18 }, - }, - { - key = "curse_of_agony", - category = "CURSE", - names = { "Curse of Agony", "Fluch der Pein" }, - texture = "Interface\\Icons\\Spell_Shadow_CurseOfSargeras", - textureMatch = "curseofsargeras", - duration = 24, - spellIDs = { 980, 1014, 6217, 11711, 11712, 11713 }, - }, - { - key = "siphon_life", - names = { "Siphon Life", "Lebensentzug" }, - texture = "Interface\\Icons\\Spell_Shadow_Requiem", - textureMatch = "requiem", - duration = 30, - spellIDs = { 18265, 18879, 18880, 18881 }, - }, - { - key = "immolate", - names = { "Immolate", "Feuerbrand" }, - texture = "Interface\\Icons\\Spell_Fire_Immolation", - textureMatch = "immolation", - duration = 15, - spellIDs = { 348, 707, 1094, 2941, 11665, 11667, 11668 }, - }, - { - key = "curse_of_doom", - category = "CURSE", - names = { "Curse of Doom", "Fluch der Verdammnis" }, - texture = "Interface\\Icons\\Spell_Shadow_AuraOfDarkness", - textureMatch = "auraofdarkness", - duration = 60, - spellIDs = { 603, 30910 }, - }, - { - key = "curse_of_weakness", - category = "CURSE", - names = { "Curse of Weakness", "Fluch der Schwäche" }, - texture = "Interface\\Icons\\Spell_Shadow_CurseOfMannoroth", - textureMatch = "curseofmannoroth", - duration = 120, - spellIDs = { 702, 1108, 6205, 7646, 11707, 11708 }, - }, - { - key = "curse_of_recklessness", - category = "CURSE", - names = { "Curse of Recklessness", "Fluch der Tollkühnheit" }, - texture = "Interface\\Icons\\Spell_Shadow_UnholyStrength", - textureMatch = "unholystrength", - duration = 120, - spellIDs = { 704, 7658, 7659, 11717 }, - }, - { - key = "curse_of_tongues", - category = "CURSE", - names = { "Curse of Tongues", "Fluch der Sprachen" }, - texture = "Interface\\Icons\\Spell_Shadow_CurseOfTounges", - textureMatch = "curseoftounges", - duration = 30, - spellIDs = { 1714, 11719 }, - }, - { - key = "curse_of_elements", - category = "CURSE", - names = { "Curse of the Elements", "Curse of Elements", "Fluch der Elemente" }, - texture = "Interface\\Icons\\Spell_Shadow_ChillTouch", - textureMatch = "chilltouch", - duration = 300, - spellIDs = { 1490, 11721, 11722 }, - }, - { - key = "curse_of_shadow", - category = "CURSE", - names = { "Curse of Shadow", "Fluch der Schatten" }, - texture = "Interface\\Icons\\Spell_Shadow_CurseOfAchimonde", - textureMatch = "curseofachimonde", - duration = 300, - spellIDs = { 17862, 17937 }, - }, - { - key = "curse_of_exhaustion", - category = "CURSE", - names = { "Curse of Exhaustion", "Fluch der Erschöpfung" }, - texture = "Interface\\Icons\\Spell_Shadow_GrimWard", - textureMatch = "grimward", - duration = 12, - spellIDs = { 18223 }, - }, - { - key = "fear", - names = { "Fear", "Furcht" }, - texture = "Interface\\Icons\\Spell_Shadow_Possession", - textureMatch = "possession", - duration = 20, - durations = { [5782] = 10, [6213] = 15, [6215] = 20 }, - }, - { - key = "howl_of_terror", - names = { "Howl of Terror", "Schreckensgeheul" }, - texture = "Interface\\Icons\\Spell_Shadow_DeathScream", - textureMatch = "deathscream", - duration = 15, - durations = { [5484] = 10, [17928] = 15 }, - }, - { - key = "banish", - names = { "Banish", "Verbannen" }, - texture = "Interface\\Icons\\Spell_Shadow_Cripple", - textureMatch = "cripple", - duration = 30, - durations = { [710] = 20, [18647] = 30 }, - }, - { - key = "death_coil", - names = { "Death Coil", "Todesmantel" }, - texture = "Interface\\Icons\\Spell_Shadow_DeathCoil", - textureMatch = "deathcoil", - duration = 3, - spellIDs = { 6789, 17925, 17926 }, - }, - { - key = "drain_life", - channel = true, - names = { "Drain Life", "Blutsauger" }, - texture = "Interface\\Icons\\Spell_Shadow_LifeDrain02_Purple", - textureMatch = "lifedrain02", - duration = 5, - spellIDs = { 689, 699, 709, 7651, 11699, 11700 }, - }, - { - key = "drain_soul", - channel = true, - names = { "Drain Soul", "Seelendieb" }, - texture = "Interface\\Icons\\Spell_Shadow_Haunting", - textureMatch = "haunting", - duration = 15, - spellIDs = { 1120, 8288, 8289, 11675 }, - }, - { - key = "enslave_demon", - names = { "Enslave Demon", "Dämonensklave" }, - texture = "Interface\\Icons\\Spell_Shadow_EnslaveDemon", - textureMatch = "enslavedemon", - duration = 300, - spellIDs = { 1098, 11725, 11726 }, - }, - { - key = "shadow_vulnerability", - names = { "Shadow Vulnerability" }, - duration = 10, - spellIDs = { 17794, 17797, 17798, 17799, 17800 }, - -- Shadow Vulnerability uses a different aura spell ID for each talent rank. - -- Track every rank so BNP also sees/refreshes Rank 5 [17800]. - shared = true, - sharedSpellIDs = { 17794, 17797, 17798, 17799, 17800 }, - }, -} diff --git a/spells/warrior.lua b/spells/warrior.lua deleted file mode 100644 index b3742a3..0000000 --- a/spells/warrior.lua +++ /dev/null @@ -1,109 +0,0 @@ -BNP = BNP or {} - --- Expanded against ShaguPlates enUS debuff tables. -BNP.WarriorAuras = { - { - key = "rend", - names = { "Rend" }, - duration = 21, - }, - { - key = "hamstring", - names = { "Hamstring" }, - duration = 15, - }, - { - key = "improved_hamstring", - names = { "Improved Hamstring" }, - duration = 5, - }, - { - key = "thunder_clap", - names = { "Thunder Clap" }, - duration = 30, - aoe = true, - }, - { - key = "demoralizing_shout", - names = { "Demoralizing Shout" }, - duration = 30, - aoe = true, - }, - { - key = "sunder_armor", - names = { "Sunder Armor" }, - duration = 30, - }, - { - key = "piercing_howl", - names = { "Piercing Howl" }, - duration = 6, - aoe = true, - }, - { - key = "mortal_strike", - names = { "Mortal Strike" }, - duration = 10, - }, - { - key = "intimidating_shout", - names = { "Intimidating Shout" }, - duration = 8, - }, - { - key = "mocking_blow", - names = { "Mocking Blow" }, - duration = 6, - }, - { - key = "disarm", - names = { "Disarm" }, - duration = 10, - }, - { - key = "taunt", - names = { "Taunt" }, - duration = 3, - }, - { - key = "challenging_shout", - names = { "Challenging Shout" }, - duration = 6, - aoe = true, - }, - { - key = "charge_stun", - names = { "Charge Stun" }, - duration = 1, - }, - { - key = "intercept_stun", - names = { "Intercept Stun" }, - duration = 3, - }, - { - key = "concussion_blow", - names = { "Concussion Blow" }, - duration = 5, - }, - { - key = "revenge_stun", - names = { "Revenge Stun" }, - duration = 3, - }, - { - key = "pummel", - names = { "Pummel" }, - duration = 4, - }, - { - key = "shield_bash", - names = { "Shield Bash" }, - duration = 6, - }, - { - key = "deep_wound", - names = { "Deep Wound", "Deep Wounds" }, - duration = 12, - }, -}