Boss/Script: Mr Smith will use the proc aura for Nimble Reflexes instead a script

This commit is contained in:
Killyana
2020-03-29 17:46:08 +01:00
parent 7258d00f93
commit 5b2b221177
2 changed files with 3 additions and 11 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_template_addon` SET `auras`="6433" WHERE `entry`=646;

View File

@@ -33,8 +33,7 @@ enum Spells
{
SPELL_TRASH = 3391,
SPELL_SMITE_STOMP = 6432,
SPELL_SMITE_SLAM = 6435,
SPELL_NIMBLE_REFLEXES = 6264
SPELL_SMITE_SLAM = 6435
};
enum Equips
@@ -72,7 +71,6 @@ public:
{
uiTrashTimer = urand(5000, 9000);
uiSlamTimer = 9000;
uiNimbleReflexesTimer = urand(15500, 31600);
uiHealth = 0;
@@ -86,7 +84,6 @@ public:
uint32 uiTrashTimer;
uint32 uiSlamTimer;
uint32 uiNimbleReflexesTimer;
uint8 uiHealth;
@@ -140,13 +137,6 @@ public:
}
else uiSlamTimer -= uiDiff;
if (uiNimbleReflexesTimer <= uiDiff)
{
if (bCheckChances())
DoCast(me, SPELL_NIMBLE_REFLEXES);
uiNimbleReflexesTimer = urand(27300, 60100);
}
else uiNimbleReflexesTimer -= uiDiff;
}
if ((uiHealth == 0 && !HealthAbovePct(66)) || (uiHealth == 1 && !HealthAbovePct(33)))