Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
This commit is contained in:
@@ -186,7 +186,7 @@ namespace Scripts.World.ItemScripts
|
||||
if (player.GetZoneId() != Misc.ZoneIdHowling)
|
||||
return false;
|
||||
|
||||
if (!player.GetTransport() || player.GetAreaId() != Misc.AreaIdShatteredStraits)
|
||||
if (player.GetTransport() == null || player.GetAreaId() != Misc.AreaIdShatteredStraits)
|
||||
{
|
||||
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo(SpellIds.PetrovBomb, Difficulty.None);
|
||||
if (spellInfo != null)
|
||||
|
||||
Reference in New Issue
Block a user