03-30-2003, 07:26 PM
the Langolier,Mar 30 2003, 06:36 AM Wrote:Am I reading this right, Prevent Monster Heal stops life regeneration and has the same effect of "Ignore Target's Defense"?Hm. I might actually have been mistaken on that (assuming that info was from me).
The game uses a function to set states and add to stats for a limited amount of time. Open wounds, for example, sets state = STATE_OPENWOUNDS, stat id = STATS_HPREGEN, stat value = neg(clvl * 9 + 40), duration = 100 frames.
This function ADDS to the given stat, but when I was looking at prevent monster heal I had the idea it SET the given stat to the value. Prevent monster heal then simply adds 0 to defense, but doesn't set it to 0. It seems that it was put in there to fill up the required parameters, since it sets the target to STATE_NOHEAL (or something like that) and the actual effects of it are done elsewhere. I hope I'm making sense here, but if not then just ignore it. The point is that it ADDS 0 to the defense, but does not SET it to 0. Sorry for the confusion.