From f28bc74e66350e7ae72a095bd89da3fc5d461108 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sun, 20 Jun 2010 05:21:50 +0400 Subject: [PATCH] [10085] Allow loot roll value 100 --- src/game/Group.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 7aa97e10b..e6db94f59 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -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) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ccacbd7c7..0a7acb120 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10084" + #define REVISION_NR "10085" #endif // __REVISION_NR_H__