mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[10085] Allow loot roll value 100
This commit is contained in:
parent
c3cf108938
commit
f28bc74e66
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10084"
|
||||
#define REVISION_NR "10085"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue