From b3d1b0ef3e0701b0c5935c88476b4b6ae0155d9a Mon Sep 17 00:00:00 2001 From: maanuel Date: Thu, 10 Dec 2009 12:53:02 -0300 Subject: Fix issue in skill points by MetaphysicalDrama, tested by Gyullo. Closes #599 --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 4ad1098e019..bf9f1f63c62 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5437,7 +5437,7 @@ bool Player::UpdateSkillPro(uint16 SkillId, int32 Chance, uint32 step) if (!MaxValue || !SkillValue || SkillValue >= MaxValue ) return false; - int32 Roll = irand(1,100); + int32 Roll = irand(1,1000); if ( Roll <= Chance ) { -- cgit v1.2.3