03-31-2003, 07:34 AM
Hammerman,Mar 30 2003, 09:17 PM Wrote:Hm. I might actually have been mistaken on that (assuming that info was from me).Yes, that info was from you. I'll fix the page with correct info in the near future.
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.
A question: How long does Prevent monster heal last? Does it work on uniques/players?
Cheers,
Tommi
Hammer of Atur
PvE/RP World of Warcraft Guild
Argent Dawn (European RP server), Alliance side
Dwarf Campaign
Awarded Custom Campaign for Warcraft III
Tommi's Diablo II information and guides
The de facto source of Diablo II game mechanics
PvE/RP World of Warcraft Guild
Argent Dawn (European RP server), Alliance side
Dwarf Campaign
Awarded Custom Campaign for Warcraft III
Tommi's Diablo II information and guides
The de facto source of Diablo II game mechanics