Weapon Damage Calculation
#16
Hammerman,Mar 30 2003, 09:17 PM Wrote: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.
Yes, that info was from you. I'll fix the page with correct info in the near future.

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
Reply


Messages In This Thread
Weapon Damage Calculation - by Tommi - 03-24-2003, 08:10 PM
Weapon Damage Calculation - by Cartimandua - 03-25-2003, 08:51 PM
Weapon Damage Calculation - by Bolty - 03-26-2003, 12:36 AM
Weapon Damage Calculation - by Taem - 03-26-2003, 05:53 AM
Weapon Damage Calculation - by HunkyDory - 03-26-2003, 10:29 PM
Weapon Damage Calculation - by Tommi - 03-29-2003, 06:23 PM
Weapon Damage Calculation - by AtomicKitKat - 03-29-2003, 09:02 PM
Weapon Damage Calculation - by Ruvanal - 03-29-2003, 09:24 PM
Weapon Damage Calculation - by the Langolier - 03-30-2003, 06:45 AM
Weapon Damage Calculation - by lemekim - 03-30-2003, 07:45 AM
Weapon Damage Calculation - by Tommi - 03-30-2003, 08:29 AM
Weapon Damage Calculation - by Tommi - 03-30-2003, 08:47 AM
Weapon Damage Calculation - by Hammerman - 03-30-2003, 07:26 PM
Weapon Damage Calculation - by Jarulf - 03-30-2003, 07:57 PM
Weapon Damage Calculation - by lemekim - 03-30-2003, 09:55 PM
Weapon Damage Calculation - by Tommi - 03-31-2003, 07:34 AM
Weapon Damage Calculation - by Tommi - 03-31-2003, 07:40 AM
Weapon Damage Calculation - by lemekim - 04-01-2003, 02:40 AM
Weapon Damage Calculation - by FenrisWulf - 04-01-2003, 09:25 AM
Weapon Damage Calculation - by lemekim - 04-01-2003, 09:45 AM
Weapon Damage Calculation - by FenrisWulf - 04-01-2003, 09:48 AM
Weapon Damage Calculation - by Ruvanal - 04-02-2003, 11:18 PM
Weapon Damage Calculation - by FenrisWulf - 04-03-2003, 01:37 AM
Weapon Damage Calculation - by Tommi - 04-05-2003, 01:04 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)