ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/living.C
(Generate patch)

Comparing deliantra/server/common/living.C (file contents):
Revision 1.80 by root, Thu Nov 8 19:43:23 2007 UTC vs.
Revision 1.81 by root, Sat Nov 10 03:40:17 2007 UTC

1476 /* now if there are equals at highest level, pick the one with focus, 1476 /* now if there are equals at highest level, pick the one with focus,
1477 or else at random */ 1477 or else at random */
1478 if (atnr_is_dragon_enabled (abil->stats.exp) && abil->resist[abil->stats.exp] >= level) 1478 if (atnr_is_dragon_enabled (abil->stats.exp) && abil->resist[abil->stats.exp] >= level)
1479 atnr = abil->stats.exp; 1479 atnr = abil->stats.exp;
1480 1480
1481 level = (int) (level / 5.); 1481 level = (int) (level / 25.);
1482 1482
1483 /* now set the new title */ 1483 /* now set the new title */
1484 if (pl->contr) 1484 if (pl->contr)
1485 { 1485 {
1486 if (level == 0) 1486 if (level == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines