aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-12-16 18:08:23 +0100
committerAnubisss <none@none>2010-12-16 18:08:23 +0100
commit6d9029c12e9805ee993d98ba66355db1147b0195 (patch)
tree2d0c46a04f03a0b61c6c9f49a7b7cef889db3237 /src/server/scripts/EasternKingdoms
parentbb7bd9ef45cd15c7da271c690f5c798cdd340b22 (diff)
Make some cleanup.
My thank goes to Az@zel for the code analysis. --HG-- branch : trunk
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
index 94a66b20c95..d0ebb877ebc 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
@@ -184,7 +184,7 @@ public:
void Reset()
{
- summons.DespawnAll();
+ DespawnAllImp();
}
void JustSummoned(Creature* summon)
diff --git a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
index a488ae8389e..6519478a26d 100644
--- a/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
+++ b/src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
@@ -125,8 +125,10 @@ public:
DrainLifeTimer = 3000 + rand()%4000;
DrainManaTimer = DrainLifeTimer + 5000;
FelExplosionTimer = 2100;
- DrainCrystalTimer = 10000 + rand()%5000;
- DrainCrystalTimer = 20000 + rand()%5000;
+ if (IsHeroic())
+ DrainCrystalTimer = 10000 + rand()%5000;
+ else
+ DrainCrystalTimer = 20000 + rand()%5000;
EmpowerTimer = 10000;
IsDraining = false;