% Based Poison/Regen Attacks
Moderators: marionline, SDHawk
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
% Based Poison/Regen Attacks
Is this possible? Screwing around with maximum/current % values recently make me believe that it isn't, but I wanted to check to be sure.
In theory, I'd like to make a poison attack that deals 5% of the target's health per tick.
In theory, I'd like to make a poison attack that deals 5% of the target's health per tick.
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
Actually, I think there might be a way to do it.
Make a 2-part chain. The first part has the "% based attacks damage instead of set" bitset turned on, and does damage of 5% of Max HP
The second part of the chain should be "Damage Math: Pure" and "Base ATK Stat: previous attack" and "Target Stat: Poison Register"
Make a 2-part chain. The first part has the "% based attacks damage instead of set" bitset turned on, and does damage of 5% of Max HP
The second part of the chain should be "Damage Math: Pure" and "Base ATK Stat: previous attack" and "Target Stat: Poison Register"
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
So I've tested it and it seems to work well. But another question has come up with testing it.
Does any poison effect negate the regen effect? Like if I have a 10HP regen on a character and they are poisoned for 10HP, does regen still tick? It didn't seem like it did in my preliminary testing.
Also, any plans to make an icon for when characters are under the effects of regen in the future?
Does any poison effect negate the regen effect? Like if I have a 10HP regen on a character and they are poisoned for 10HP, does regen still tick? It didn't seem like it did in my preliminary testing.
Also, any plans to make an icon for when characters are under the effects of regen in the future?
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
Oh, that's odd... we have settings to set icons for poison, stun, and mute, but not regen. An oversight.
Since Ruin is based on a very old .rpg file, all the status icons will default to blank. You can set them in the Battle Settings menu.
You didn't set your regen attack to heal, did you? It must be set to damage the regen register in the same way as poison. Yes, it doesn't make sense.
Since Ruin is based on a very old .rpg file, all the status icons will default to blank. You can set them in the Battle Settings menu.
You didn't set your regen attack to heal, did you? It must be set to damage the regen register in the same way as poison. Yes, it doesn't make sense.
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
Aha! I had the "cure instead of harm bitset on" and I'm guessing that had something to do with it. Now that it is turned off, regen is working like a charm.
Having said that, there is no option for me to set a regen indicator in the battle systems options menu. Take a look at the attachment.
Having said that, there is no option for me to set a regen indicator in the battle systems options menu. Take a look at the attachment.
- Attachments
-
- Ruin0000.png (8.32 KiB) Viewed 1538 times
Yes, I mentioned that. I just went ahead and added it. Ended up rearranging that menu in the process...
Regen, poison, stun and mute are implemented with registers. The initial values are 1000. The amount of regen, etc, is equal to the amount below 1000 that these are damaged. The implications are that you can't have more than 1000 seconds of stun, etc, and that percentage-damage attacks on those registers is a really bad idea. Also, you can heal the registers above 1000 using 'allow cure to exceed maximum', which acts like a buffer against future attacks.
Regen, poison, stun and mute are implemented with registers. The initial values are 1000. The amount of regen, etc, is equal to the amount below 1000 that these are damaged. The implications are that you can't have more than 1000 seconds of stun, etc, and that percentage-damage attacks on those registers is a really bad idea. Also, you can heal the registers above 1000 using 'allow cure to exceed maximum', which acts like a buffer against future attacks.
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
You might need to re-download your nightly wip. There may have been a bit of lag time between when TMC implemented the feature, and when the nightly build re-builtMeatballsub wrote:Hey TMC,
Not sure if you saw where a regen indicator is not even an option in my battle settings. Any idea why it wouldn't show up?
- Meatballsub
- Liquid Metal Slime
- Posts: 996
- Joined: Mon Oct 15, 2007 6:39 pm
- Location: Northwest Georgia
- Contact:
- FnrrfYgmSchnish
- Metal Slime
- Posts: 741
- Joined: Thu Jun 18, 2009 4:37 am
- Location: Middle of Nowhere
This is some really useful information that I had never seen anywhere before!Regen, poison, stun and mute are implemented with registers. The initial values are 1000. The amount of regen, etc, is equal to the amount below 1000 that these are damaged. The implications are that you can't have more than 1000 seconds of stun, etc, and that percentage-damage attacks on those registers is a really bad idea. Also, you can heal the registers above 1000 using 'allow cure to exceed maximum', which acts like a buffer against future attacks.
I knew the "base" for poison register, etc. had to be something really high, as making a percent-based poison attack led to huge poison damage (I actually used this in Okédoké for the "Expiration Date" attack which is supposed to kill whoever's affected in just two or three turns no matter what -- and with that game's HP cap set at 255, it does -- but yeah, not recommended for "regular" poison!) but I didn't know the exact value for it.
Also never knew that healing poison/stun/mute registers beyond the maximum would block part (or all) of the next poison/stun/mute attack. That's pretty neat. So it would actually be possible to make an attack that provides temporary "poison resistance" and so on in-battle, then?
Customizable poison/stun/etc. registers might be a kinda neat random minor feature to add at some point. Like if you wanted to make "stackable" poison/stun possible, but didn't want it to get completely out of hand (so as to keep players from abusing it vs. enemies, and to keep enemies who use poison/stun from being too annoying), so you could set the base stun register to something much, much lower than 1000 to make an "endless stun" effect harder to pull off.
FYS:AHS -- Working on Yagziknian NPC walkabout sprites