Fix issue in skill points by MetaphysicalDrama, tested by Gyullo. Closes #599
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -5437,7 +5437,7 @@ bool Player::UpdateSkillPro(uint16 SkillId, int32 Chance, uint32 step)
|
|||||||
if (!MaxValue || !SkillValue || SkillValue >= MaxValue )
|
if (!MaxValue || !SkillValue || SkillValue >= MaxValue )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int32 Roll = irand(1,100);
|
int32 Roll = irand(1,1000);
|
||||||
|
|
||||||
if ( Roll <= Chance )
|
if ( Roll <= Chance )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user