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:
+1
-3
@@ -463,8 +463,7 @@ struct boss_jormungarAI : public ScriptedAI
|
|||||||
if (slimePoolTimer <= uiDiff)
|
if (slimePoolTimer <= uiDiff)
|
||||||
{
|
{
|
||||||
/* Spell summon has only 30s duration */
|
/* Spell summon has only 30s duration */
|
||||||
//DoCast(SUMMON_SLIME_POOL);
|
DoCast(me, SUMMON_SLIME_POOL);
|
||||||
me->SummonCreature(NPC_SLIME_POOL, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), 0);
|
|
||||||
slimePoolTimer = 30*IN_MILLISECONDS;
|
slimePoolTimer = 30*IN_MILLISECONDS;
|
||||||
} else slimePoolTimer -= uiDiff;
|
} else slimePoolTimer -= uiDiff;
|
||||||
|
|
||||||
@@ -659,7 +658,6 @@ public:
|
|||||||
{
|
{
|
||||||
casted = false;
|
casted = false;
|
||||||
me->SetReactState(REACT_PASSIVE);
|
me->SetReactState(REACT_PASSIVE);
|
||||||
me->DespawnOrUnsummon(60*IN_MILLISECONDS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateAI(const uint32 /*uiDiff*/)
|
void UpdateAI(const uint32 /*uiDiff*/)
|
||||||
|
|||||||
Reference in New Issue
Block a user