aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/duskwood.cpp
diff options
context:
space:
mode:
authorSpp- <u84280@epreinf21.(none)>2011-06-30 14:24:56 +0200
committerSpp- <u84280@epreinf21.(none)>2011-06-30 14:24:56 +0200
commit6fd41ae50e5f988473f86ad8370b60a1e29eac5f (patch)
tree481e934be575ae4b0f44581e72e7ecc92d590ae1 /src/server/scripts/EasternKingdoms/duskwood.cpp
parentd12bb4a657e4df5230ce06f9b082f176d9db0b85 (diff)
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
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);