Change monster regeneration over time to use healmon(), too
I missed this one.
This commit is contained in:
+2
-3
@@ -295,9 +295,8 @@ onscary(coordxy x, coordxy y, struct monst *mtmp)
|
|||||||
void
|
void
|
||||||
mon_regen(struct monst *mon, boolean digest_meal)
|
mon_regen(struct monst *mon, boolean digest_meal)
|
||||||
{
|
{
|
||||||
if (mon->mhp < mon->mhpmax
|
if (svm.moves % 20 == 0 || regenerates(mon->data))
|
||||||
&& (svm.moves % 20 == 0 || regenerates(mon->data)))
|
healmon(mon, 1, 0);
|
||||||
mon->mhp++;
|
|
||||||
if (mon->mspec_used)
|
if (mon->mspec_used)
|
||||||
mon->mspec_used--;
|
mon->mspec_used--;
|
||||||
if (digest_meal) {
|
if (digest_meal) {
|
||||||
|
|||||||
Reference in New Issue
Block a user