diff options
author | QAston <qaston@gmail.com> | 2011-07-01 12:48:21 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-07-01 12:48:21 +0200 |
commit | 06515b27b3a92b353b63ee98b99d8c44f24e7194 (patch) | |
tree | 3ee85275da234a7e0311d898107e5e5e376717c6 /src/server/scripts/EasternKingdoms/duskwood.cpp | |
parent | 3b8dce669d6ce4aad680da99dae1b73fe54b17df (diff) | |
parent | a9c9ab0efa7e41c31f52e71749048300d809d69a (diff) |
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Diffstat (limited to 'src/server/scripts/EasternKingdoms/duskwood.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/duskwood.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/duskwood.cpp b/src/server/scripts/EasternKingdoms/duskwood.cpp index 6a550d55a0b..9e2fd198df2 100644 --- a/src/server/scripts/EasternKingdoms/duskwood.cpp +++ b/src/server/scripts/EasternKingdoms/duskwood.cpp @@ -75,7 +75,7 @@ public: struct boss_twilight_corrupterAI : public ScriptedAI { - boss_twilight_corrupterAI(Creature *c) : ScriptedAI(c) {} + boss_twilight_corrupterAI(Creature* c) : ScriptedAI(c) {} uint32 SoulCorruption_Timer; uint32 CreatureOfNightmare_Timer; @@ -116,6 +116,7 @@ public: DoCast(me->getVictim(), SPELL_SOUL_CORRUPTION); SoulCorruption_Timer = rand()%4000+15000; //gotta confirm Timers } else SoulCorruption_Timer-=diff; + if (CreatureOfNightmare_Timer <= diff) { DoCast(me->getVictim(), SPELL_CREATURE_OF_NIGHTMARE); |