Open Wounds
#9
D-Dave,Nov 8 2003, 02: Wrote:Just a quick question:
as OW is handled like a curse, is it a direct effect on monster's hit points or is it a form of damage inflicted?

If it is a damage form, what type is it? physical, magic ...?
Well, yeah, it is set through the "curse" routine. That does not mean it should be considered a curse generally. I don't know what general interpretation people have on "curse". The curse routine in the game code basically set a specific condition on the target (a state, although not all states are set through the curse routine of course), and also modifies a stat on the player. It doesn't have to modifiy a stat though. The state set in this case also always has a duration set on it. I think there are flags for how a second identical state is handled when there is allready on on the target but I have never bothered looking much at it.

Anyway. For OW, the game set the state of "openwounds" on the target. It also modifies the stat "hpregen". It is set to a negative value (see above formula for the value, just skip the 25* so you get it per frame since that is how life regeneration works). This stat "hpregen" is the one that is added to a players/monsters life each fram when the game updates.

So it is not damage (and hence has no damage type). This is also why poison (who also modifies the same stat, but sets a different state on the target, "poison" I thin that state is called) and of course OW will halt normal regeneration since it sets a nother value other than the normal one. When the state runs out (duration is over), the game removes it and resets the old value.
There are three types of people in the world. Those who can count and those who can't.
Reply


Messages In This Thread
Open Wounds - by Jarulf - 11-07-2003, 09:28 PM
Open Wounds - by Guest - 11-07-2003, 09:53 PM
Open Wounds - by Jarulf - 11-07-2003, 10:18 PM
Open Wounds - by Guest - 11-07-2003, 10:46 PM
Open Wounds - by Raziel - 11-08-2003, 12:40 AM
Open Wounds - by D-Dave - 11-08-2003, 01:49 AM
Open Wounds - by Guest - 11-08-2003, 02:25 AM
Open Wounds - by Jarulf - 11-08-2003, 09:15 AM
Open Wounds - by Jarulf - 11-08-2003, 09:24 AM
Open Wounds - by D-Dave - 11-08-2003, 01:30 PM
Open Wounds - by D2Player69 - 12-02-2003, 03:41 PM
Open Wounds - by AtomicKitKat - 12-02-2003, 05:10 PM
Open Wounds - by WarBlade - 12-02-2003, 10:21 PM
Open Wounds - by AtomicKitKat - 12-02-2003, 10:29 PM
Open Wounds - by aaa - 12-02-2003, 10:56 PM
Open Wounds - by Guest - 12-08-2003, 03:55 PM
Open Wounds - by AtomicKitKat - 12-08-2003, 08:27 PM
Open Wounds - by adeyke - 12-08-2003, 08:40 PM
Open Wounds - by Ferengi - 12-08-2003, 11:34 PM
Open Wounds - by adeyke - 12-08-2003, 11:38 PM
Open Wounds - by Guest - 12-09-2003, 02:13 AM
Open Wounds - by Crystalion - 12-09-2003, 03:39 AM
Open Wounds - by adeyke - 12-09-2003, 03:43 AM
Open Wounds - by Crystalion - 12-09-2003, 04:38 AM
Open Wounds - by AtomicKitKat - 12-09-2003, 06:26 AM
Open Wounds - by adeyke - 12-09-2003, 06:32 AM
Open Wounds - by Guest - 12-09-2003, 08:55 PM
Open Wounds - by Occhidiangela - 12-09-2003, 09:30 PM
Open Wounds - by adeyke - 12-09-2003, 10:54 PM
Open Wounds - by librarian - 12-10-2003, 12:41 AM
Open Wounds - by Tommi - 12-10-2003, 11:46 PM
Open Wounds - by Jarulf - 12-11-2003, 08:19 AM

Forum Jump:


Users browsing this thread: 46 Guest(s)