diff options
author | joschiwald <joschiwald@online.de> | 2013-11-13 23:50:35 +0100 |
---|---|---|
committer | joschiwald <joschiwald@online.de> | 2013-11-13 23:50:35 +0100 |
commit | dd202909110c06af34e4ab79849151d341fac590 (patch) | |
tree | 0aaebac4ae7517a4657d3f88d34121dda826caf2 | |
parent | 0790138d73158b6ebd52ecf4fefacf3ae2c410c7 (diff) |
Scripts/ZulAman: fix exploit that player can fly until logout
-rw-r--r-- | src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp index 72b71bb045d..526daaffee1 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp @@ -261,11 +261,14 @@ class boss_akilzon : public CreatureScript DoCast(target, SPELL_ELECTRICAL_STORM, false); // storm cyclon + visual float x, y, z; target->GetPosition(x, y, z); + /// @todo: fix it in correct way, that causes player to can fly until logout + /* if (target) { target->SetDisableGravity(true); target->MonsterMoveWithSpeed(x, y, me->GetPositionZ()+15, 0); } + */ Unit* Cloud = me->SummonTrigger(x, y, me->GetPositionZ()+16, 0, 15000); if (Cloud) |