rand() to urand #1

This commit is contained in:
Aokromes
2011-12-28 04:24:31 +01:00
parent b4ecd85da4
commit 2e8de8cd2b

View File

@@ -107,7 +107,7 @@ public:
if (ShadowWordPain_Timer <= diff)
{
DoCast(me->getVictim(), SPELL_SHADOWWORDPAIN);
ShadowWordPain_Timer = 5000 + rand()%10000;
ShadowWordPain_Timer = urand(5000, 15000);
} else ShadowWordPain_Timer -= diff;
DoMeleeAttackIfReady();