Scripts/ZulAman: fix exploit that player can fly until logout

This commit is contained in:
joschiwald
2013-11-13 23:50:35 +01:00
parent 0790138d73
commit dd20290911

View File

@@ -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)