diff options
author | Trazom62 <none@none> | 2010-09-07 20:47:48 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-09-07 20:47:48 +0200 |
commit | 0e9d0f6bcb7e01635e34ae3cd4e5e6d5981ed659 (patch) | |
tree | dc621aca700ff8910060377b790a24e36e0fbc0a /src | |
parent | 2b0bc4c8e177ef7e0b2d2fa7458cfbfd2203d852 (diff) |
Core/Script/Item: fix urand range in Six Demon Bag.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index b9891757e8d..81b314db9be 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -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) |