Core/Script/Item: fix urand range in Six Demon Bag.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-09-07 20:47:48 +02:00
parent 2b0bc4c8e1
commit 0e9d0f6bcb

View File

@@ -540,7 +540,7 @@ public:
Unit* pCaster = GetCaster();
uint32 spellId = 0;
uint32 rand = urand(0, 100);
uint32 rand = urand(0, 99);
if (rand < 25) // Fireball (25% chance)
spellId = SPELL_FIREBALL;
else if (rand < 50) // Frostball (25% chance)