Spell/Script: Spawn Blood Pool

Closes #23878

(cherry picked from commit 3ddc6e70df0401a0677bef536e6b0e46e3dbf9e9)
This commit is contained in:
Rushor
2021-12-23 00:21:24 +01:00
committed by Shauren
parent 2c5eb750b3
commit 10cf49e130
@@ -192,7 +192,6 @@ class spell_gen_animal_blood : public AuraScript
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (Unit* owner = GetUnitOwner())
if (owner->IsInWater())
owner->CastSpell(owner, SPELL_SPAWN_BLOOD_POOL, true);
}