Scripts/Trial of the Crusader: Fixed Slime Pool duration on all difficulties and removed hacks for it

Signed-off-by: Shauren <[email protected]>
This commit is contained in:
Drethek
2011-01-14 15:08:32 +01:00
committed by Shauren
parent de8d5a9236
commit 94c9764323
@@ -463,8 +463,7 @@ struct boss_jormungarAI : public ScriptedAI
if (slimePoolTimer <= uiDiff)
{
/* Spell summon has only 30s duration */
//DoCast(SUMMON_SLIME_POOL);
me->SummonCreature(NPC_SLIME_POOL, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0);
DoCast(me, SUMMON_SLIME_POOL);
slimePoolTimer = 30*IN_MILLISECONDS;
} else slimePoolTimer -= uiDiff;
@@ -659,7 +658,6 @@ public:
{
casted = false;
me->SetReactState(REACT_PASSIVE);
me->DespawnOrUnsummon(60*IN_MILLISECONDS);
}
void UpdateAI(const uint32 /*uiDiff*/)