Core/Spells: Allow using SpellDifficulty.dbc on battleground maps (#30055)

(cherry picked from commit e4caf52e5a3820399d7ddd5ea3963c36d1d71e28)
This commit is contained in:
Gildor
2026-06-01 16:10:34 +02:00
committed by Shauren
parent 2f060b28ee
commit 87370944aa
@@ -321,9 +321,10 @@ class spell_ioc_seaforium_blast_credit : public SpellScript
if (!caster)
return;
if (GetSpellInfo()->Id == SPELL_SEAFORIUM_BLAST)
uint32 spellId = GetSpellInfo()->Id;
if (spellId == SPELL_SEAFORIUM_BLAST)
_creditSpell = SPELL_A_BOMB_INABLE_CREDIT;
else if (GetSpellInfo()->Id == SPELL_HUGE_SEAFORIUM_BLAST)
else if (spellId == SPELL_HUGE_SEAFORIUM_BLAST)
_creditSpell = SPELL_A_BOMB_INATION_CREDIT;
if (GetHitGObj() && GetHitGObj()->IsDestructibleBuilding())