TrinityCore/TrinityCore — comment on commit 559dfe5139aa01ca1abfb69f69c4dd0e703debc1
File:  line 0
By atlantiscore:

@@ -482,21 +482,21 @@
{
Shout();
DoCast(me, SPELL_RENEW);
- uiRenew_timer = rand(1000, 6000);
+ uiRenew_timer = urand(1000, 6000);
} else uiRenew_timer -= diff;

if (uiInquisitor_Penance_timer <= diff)
{
Shout();
DoCast(me->getVictim(), SPELL_INQUISITOR_PENANCE);
- uiInquisitor_Penance_timer = rand(2000, 7000);
+ uiInquisitor_Penance_timer = urand(2000, 7000);
} else uiInquisitor_Penance_timer -= diff;

if (uiValroth_Smite_timer <= diff)
{
Shout();
DoCast(me->getVictim(), SPELL_VALROTH_SMITE);
- uiValroth_Smite_timer = rand(1000, 6000);
+ uiValroth_Smite_timer = urand(1000, 6000);
} else uiValroth_Smite_timer -= diff;

DoMeleeAttackIfReady();