So uh... it works now. Kind of. You were clearly onto the right stuff. Except now it triggers twice instead of the old five times. Huh. Could it have something to do with your ATB settings for turn length?
Ellye's State Damage
JS Plugin Releases (RMMV)Might be related; with my plugin it should fire once per "turn timer end" (instead of firing after each action).
The option to select whether this type of effect happens at turn timer or at action end is a pending feature of my other script, should get done soon.
Are the two applications happening twice immediately? If so, there's indeed something wrong.
Twice at end of turn timer, yes. As in it's having double the effect.
I'm personally not using the ATB system, and it's still ticking twice for me as well. The states do their damage at the very end of the turn, but tick twice.
I am using YEP battle-core and all the action sequence plugins that go with it.
Definitely on the right track from the previous version though!
I am using YEP battle-core and all the action sequence plugins that go with it.
Definitely on the right track from the previous version though!
Thanks, I'll take a look!
On my tests here it's only happening once, so I need to figure out what might be the difference here.
Edit: By the way, for those with the damage poping up twice: can you confirm if the damage itself is actually being applied twice, or if it's just that the numbers appear two times? I'm thinking it's the second; if that's the case I think I know what's happening.
Update: Yeah, Fernyfer775 sent me a copy of a project with this bug, and indeed it seems that the damage popups were getting duplicated due to another plugin (the damage itself was only being applied once).
I've added a Compatibility option to the parameters of my plugin.
Thanks!
On my tests here it's only happening once, so I need to figure out what might be the difference here.
Edit: By the way, for those with the damage poping up twice: can you confirm if the damage itself is actually being applied twice, or if it's just that the numbers appear two times? I'm thinking it's the second; if that's the case I think I know what's happening.
Update: Yeah, Fernyfer775 sent me a copy of a project with this bug, and indeed it seems that the damage popups were getting duplicated due to another plugin (the damage itself was only being applied once).
I've added a Compatibility option to the parameters of my plugin.
Thanks!
Woohoo, thanks!
I'm looking to do a Curse state that inflicts damage to the cursed battler equal to 1/2 of its last attack's damage. Is that possible with this?
Hmm.. as it is right now, only if you have some way to store the last deal damage in a game variable (you can use game variables in damage formulas).
When does the state apply damage with your plugin? At the end of the turn or the end of the action?
For now, end of turn only (same thing with the default poison/regen).
This will be configurable later on, though.
Alright. Cuz I can easily add a line of code to set the last damage value to a variable, but I'd have multiple actors and enemies attacking, so I'd have to apply the damage directly after the action to get the appropriate effect.
I also still get the double state damage. It's just visual right?
This is one of my favourite plug-ins! But how would I completely remove the damage points displayed when states tick? My skills are very DoT/HoT based and it gets annoying to see numbers flying everywhere every 4 seconds, especially since I also have the "states stack" plugin, so at least 3 numbers appear on each character.
Would I have to look in a completely different plugin?
Would I have to look in a completely different plugin?
Thanks again for the awesome plugin!
I noticed an issue with the enemy death animations when the state-inflicted damage deals the killing blow. It seems that when the enemy dies to the state damage at the end of a round, they do not show the "collapse" death animation, and instead just stay on the screen as the victory scene starts. It seemed to still occur on a clean project with no other plugins. I found that it happens regardless of the option selected under "Damage Popup Compatibility".
Another smaller thing I noticed occurred when I have multiple characters inflicting the same damage state on different enemies. If character1 casts poison on enemy1, and then later that turn character2 casts poison on enemy2, then at the end of the turn both enemy 1 and enemy 2 will take damage based on character 2's stats, even though the poison on enemy1 was cast by character1. It looks like it uses the stats of whatever character last used the ability, instead of calculating it based on the person that actually applied the state to that enemy. I wasn't sure if that was what you intended or not, so I thought I'd mention it.
Great work so far! I'm excited to see how this develops. 🙂
I noticed an issue with the enemy death animations when the state-inflicted damage deals the killing blow. It seems that when the enemy dies to the state damage at the end of a round, they do not show the "collapse" death animation, and instead just stay on the screen as the victory scene starts. It seemed to still occur on a clean project with no other plugins. I found that it happens regardless of the option selected under "Damage Popup Compatibility".
Another smaller thing I noticed occurred when I have multiple characters inflicting the same damage state on different enemies. If character1 casts poison on enemy1, and then later that turn character2 casts poison on enemy2, then at the end of the turn both enemy 1 and enemy 2 will take damage based on character 2's stats, even though the poison on enemy1 was cast by character1. It looks like it uses the stats of whatever character last used the ability, instead of calculating it based on the person that actually applied the state to that enemy. I wasn't sure if that was what you intended or not, so I thought I'd mention it.
Great work so far! I'm excited to see how this develops. 🙂
Thanks for reporting those! I'll take a look at it tomorrow!
To add on to what PlatypusOfDoom said about enemies lingering on screen, this is how Yanfly's battle plugin reacts when they linger:
Yanfly lets you keep acting until one command has been given. If I pick a command that doesn't target enemies it works fine, but once an enemy has to be targeted I get that error. I'm guessing the state damage doesn't properly get rid of the enemy until the next alive check or something? Not sure...
Yanfly lets you keep acting until one command has been given. If I pick a command that doesn't target enemies it works fine, but once an enemy has to be targeted I get that error. I'm guessing the state damage doesn't properly get rid of the enemy until the next alive check or something? Not sure...
Can confirm that I got the same error listed above ^ 😛
Thanks, that's helpful!
I've made an update, see if this fixes that issue?
I've made an update, see if this fixes that issue?
The enemies disappear properly now. I believe the problem is in Yanfly's plugin rather than yours. I remember a very similar problem in the VX Ace battle engine where if an enemy died from a state rather than from a "proper" attack it wouldn't exit combat and create a problem like this. I fixed this by eventing my own end-of-combat trigger, but it's a bit of a hassle so if it's possible to fix in another way that'd be excellent. Might not be something you can fix on your side though!
Hmm, the default RPG Maker MV states can't kill, if I remember correctly, so perhaps Yanfly's system really doesn't expect a state to deal the killing blow.
I'll take a look later on, perhaps a compatibility switch can be made with relative ease.
I'll take a look later on, perhaps a compatibility switch can be made with relative ease.
I'll test and debug this properly tomorrow.
Original thread: https://forums.rpgmakerweb.com/threads/ellyes-state-damage.48631/