From be11f42a16d1fa0482e9572bf54e99e4dedd3c78 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Thu, 28 Mar 2024 19:29:22 +0100 Subject: Core/Battlegrounds: Move to scripts (#29799) * Introduce new BattlegroundScript class for map/bg specific scripts * Remove all sub, zone specific, battleground classes except Arena * Move all bg zone scripts to new BattlegroundScripts class in script folder * Remove ZoneScript from Battleground class * Remove some unused hooks from Battleground --- src/server/scripts/Spells/spell_item.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/server/scripts/Spells') diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 828523e0bf3..f0c1e460815 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -3081,9 +3081,6 @@ class spell_item_rocket_boots : public SpellScript void HandleDummy(SpellEffIndex /* effIndex */) { Player* caster = GetCaster()->ToPlayer(); - if (Battleground* bg = caster->GetBattleground()) - bg->EventPlayerDroppedFlag(caster); - caster->GetSpellHistory()->ResetCooldown(SPELL_ROCKET_BOOTS_PROC); caster->CastSpell(caster, SPELL_ROCKET_BOOTS_PROC, true); } -- cgit v1.2.3