New account registration is temporarily disabled.

[RM2K3] BETTER STATUS HANDLING REQUEST

Posts

Pages: 1
So, I made my ECS battle mode system thingy. It works more or less, and I recently added something that could renew weather status every few turns (on the off chance you managed to dispel it).

So, ummm then I put it in practice, and started with Priority 100, since I didn't want it to get replaced by stupid stuff. It doesn't let you contract other status (of course) and does screwy stuff like showing non-dead animation (duh). In general, it's a non-option.

So, yea, then I try having it at 50 priority, to let quite a bit or other statuses on. I have a priority 90 status that has a different animation. When I get hit by it, it overwrites the status, and thus not only does the weather effect not work but it can't be added back in by the code that normally adds it back in, because the other is higher priority and thus blocks it.

Could someone (a) tell me how some statuses stack and some replace and therefore how to get it to do its job better, or (b) help make a plugin that does this instead:

  • If priority is higher, it cannot be replaced by a lower priority status, but neither does it (that is, if I had my original priority 100, I could stack lesser statuses, without fear of blocking the other ones).
  • Statuses always stack, unless they have conflicting effects (such as haste and slow). The newest one replaces the oldest one, if they are equal (this doesn't keep happening with equal priority, possibly because I had slightly different durations). If they aren't, the higher priority blocks the lower one.
  • The newest highest priority replaces the second highest animation (i.e. if a priority 100 Stone target is then killed, they show dead but they are actually Stone and Dead), but the actual one forced out is the lowest priority. Basically, things should stack until their limit.


As it is, I'm not really sure how it properly works, but it tends not to stack beyond one or two on a regular basis, and tends to do annoying negation/replacement crap.
Yeah, I sucked it up and put most of my stats at 50 (except stuff at equal priority to death, like Stone).

Fun fact, despite Death supposedly being "hard-coded" all you have to do to change Death's priority is to copy from another number (like if I had 36 be Death changed it to priority 90 and copied it to position 1, Death is now priority 90 instead of 100).

Pages: 1