forked from github/server
get_race is better than old_race
This commit is contained in:
parent
115e13d513
commit
b958fa1c2e
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ damage_unit(unit * u, const char *dam, bool physical, bool magic)
|
|||
heiltrank = 0;
|
||||
|
||||
/* Sieben Leben */
|
||||
if (old_race(u_race(u)) == RC_CAT && (chance(1.0 / 7))) {
|
||||
if (u_race(u) == get_race(RC_CAT) && (chance(1.0 / 7))) {
|
||||
hp[i] = u->hp / u->number;
|
||||
hp_rem += hp[i];
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue