Spell/Script: Spawn Blood Pool

Port From (https://github.com/TrinityCore/TrinityCore/commit/10cf49e130304a3b71cce13a31662f42af7bd72a)
This commit is contained in:
hondacrx
2022-01-07 11:39:56 -05:00
parent 56e6674001
commit 72e9c7f12d
+1 -2
View File
@@ -557,8 +557,7 @@ namespace Scripts.Spells.Generic
{
Unit owner = GetUnitOwner();
if (owner)
if (owner.IsInWater())
owner.CastSpell(owner, SpellIds.SpawnBloodPool, true);
owner.CastSpell(owner, SpellIds.SpawnBloodPool, true);
}
public override void Register()