Numerous corrections and fixes to the honor virtue.
http://www.runuo.com/community/threads/ready-honour-virtue-bugs.428439/
This commit is contained in:
parent
f5e7b9ed30
commit
d530fa2ffa
7 changed files with 137 additions and 76 deletions
|
|
@ -38,10 +38,11 @@ namespace Server
|
|||
{
|
||||
int v = from.Virtues.GetValue( (int)virtue );
|
||||
int vl;
|
||||
int vmax = GetMaxAmount( virtue );
|
||||
|
||||
if ( v < 4000 )
|
||||
vl = 0;
|
||||
else if ( v >= 20000 )
|
||||
else if ( v >= vmax)
|
||||
vl = 3;
|
||||
else
|
||||
vl = ( v + 9999 ) / 10000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue