aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/duskwood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/EasternKingdoms/duskwood.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/duskwood.cpp3
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);