Fix Script Naxxramas/Kel'Thuzad. Thank PrinceCreed, Scazzato88 and Gyullo.

Fixes issue #486.
Fixes issue #511.

- fix kel'thuzad not casting when entering phase 2.
- fix crash when casting Detonate Mana.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-01-28 19:30:15 +01:00
parent cb05b01854
commit 4d0960e630
2 changed files with 4 additions and 3 deletions

View File

@@ -206,6 +206,7 @@ struct TRINITY_DLL_DECL boss_kelthuzadAI : public BossAI
events.Reset();
me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
me->SetReactState(REACT_AGGRESSIVE);
me->InterruptNonMeleeSpells(false);
events.ScheduleEvent(EVENT_BOLT, urand(5000,10000));
events.ScheduleEvent(EVENT_NOVA, 15000);
events.ScheduleEvent(EVENT_DETONATE, urand(30000,40000));