aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2009-09-02 12:36:14 +0200
committerRat <none@none>2009-09-02 12:36:14 +0200
commit992d51132209c8e38b4b2b6ad93ddb82273767ef (patch)
tree16bca59267f0e8e3202db6491d3d53582e105ee9 /src
parent1e06f0ee1ebebfc82af66584a760dd8e0fe85195 (diff)
*Kalecgos should teleport out all (even dead) players from Spectral Realm, not just players who have realm buff
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
index b26156031ce..7f43ef65ea2 100644
--- a/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
+++ b/src/bindings/scripts/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
@@ -530,7 +530,7 @@ struct TRINITY_DLL_DECL boss_sathrovarrAI : public ScriptedAI
Map::PlayerList const &PlayerList = pMap->GetPlayers();
for(Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i)
{
- if(i->getSource()->HasAura(AURA_SPECTRAL_REALM))
+ if(i->getSource()->GetPositionZ() <= DRAGON_REALM_Z-5)
{
i->getSource()->RemoveAura(AURA_SPECTRAL_REALM);
i->getSource()->TeleportTo(me->GetMap()->GetId(),i->getSource()->GetPositionX(),i->getSource()->GetPositionY(),DRAGON_REALM_Z+5,i->getSource()->GetOrientation());