- Joined
- Jul 23, 2012
- Messages
- 133
- Reaction score
- 157
- First Language
- English
- Primarily Uses
- RMMV
I'm looking to add a way of removing only a single state at a time instead of the regular Dispel/Esuna type skills removing absolutely everything at once.
I'm using Yanfly's Lunatic scripts to use their base implemented functions but as I'm not a scripter myself, I'm having trouble wrapping my head around what I'd need to do to get this to work.
I'm assuming it would need to look through each state to determine the states possible for removal so I think that would be an array. I would assume setting Priority x to all "negative" states targetable by Esuna and Priority y to all "positive" states targetable by Dispel would be the right way to get them to be distinct.
Then I assume there's a way to remove a single state at random from those respective lists if they are on an actor.
Thanks to anyone who can help!
I'm using Yanfly's Lunatic scripts to use their base implemented functions but as I'm not a scripter myself, I'm having trouble wrapping my head around what I'd need to do to get this to work.
I'm assuming it would need to look through each state to determine the states possible for removal so I think that would be an array. I would assume setting Priority x to all "negative" states targetable by Esuna and Priority y to all "positive" states targetable by Dispel would be the right way to get them to be distinct.
Then I assume there's a way to remove a single state at random from those respective lists if they are on an actor.
Thanks to anyone who can help!