fix(Scripts/World): Fix Emeriss putrid mushrooms not doing anything (#12035)

* fix(Scripts/World): Fix Emeriss putrid mushrooms not doing anything

* Update rev_1655056541364669100.sql
This commit is contained in:
Skjalf
2022-06-13 06:36:26 -03:00
committed by GitHub
parent 30d55ef2fa
commit b273da1a59
2 changed files with 11 additions and 1 deletions

View File

@@ -471,7 +471,10 @@ public:
void KilledUnit(Unit* who) override
{
if (who->GetTypeId() == TYPEID_PLAYER)
DoCast(who, SPELL_PUTRID_MUSHROOM, true);
{
who->CastSpell(who, SPELL_PUTRID_MUSHROOM, true);
}
emerald_dragonAI::KilledUnit(who);
}