[10085] Allow loot roll value 100

This commit is contained in:
VladimirMangos 2010-06-20 05:21:50 +04:00
parent c3cf108938
commit f28bc74e66
2 changed files with 3 additions and 3 deletions

View file

@ -771,7 +771,7 @@ void Group::CountTheRoll(Rolls::iterator& rollI)
if (itr->second != ROLL_NEED)
continue;
uint8 randomN = urand(1, 99);
uint8 randomN = urand(1, 100);
SendLootRoll(itr->first, randomN, ROLL_NEED, *roll);
if (maxresul < randomN)
{
@ -819,7 +819,7 @@ void Group::CountTheRoll(Rolls::iterator& rollI)
if (itr->second != ROLL_GREED && itr->second != ROLL_DISENCHANT)
continue;
uint8 randomN = urand(1, 99);
uint8 randomN = urand(1, 100);
SendLootRoll(itr->first, randomN, itr->second, *roll);
if (maxresul < randomN)
{