Hi, I was wondering how I would go about making a skill refresh debuffs on only a specific target. For example I create a skill called refresh. If a target has venom on it already, this skill will cause the venom timer to refresh, and if it has venom + blind, it'll refresh both of those. Which in turn makes it so 1 skill can do all of these states again, but only if the states are already up. So I don't want it to just apply these states. I tried doing it with conditionals, but I can't figure out how to do it properly without making all targets who have a debuff get refreshed and not only the one i target. Say Squirrel 1 and squirrel 2 both have venom. I only want the refresh to affect squirrel 1. Any help would be appreciated.
Make a skill refresh a debuff.
RPG Maker MV SupportBefore this, you'll need to create a state called REFRESH.
The skill REFRESH applies state REFRESH and call a common event.
The skill should be calling a COMMMON EVENT that does this:
In CONDITIONAL BRANCH, you check for REFRESH state and reapply state only on targets that have REFRESH on them. At the end of event, you just
REMOVE STATE : REFRESH.
If you have any trouble, contact me.
The skill REFRESH applies state REFRESH and call a common event.
The skill should be calling a COMMMON EVENT that does this:
In CONDITIONAL BRANCH, you check for REFRESH state and reapply state only on targets that have REFRESH on them. At the end of event, you just
REMOVE STATE : REFRESH.
If you have any trouble, contact me.
In addition to Paldemaars solution, you could modify the process a bit if you don't want to create a common-event:
Create a state called "Poison-blocker". Poison and Poison-blocker should resist each other (trait).
Your skill should now:
Add Poison-blocker (1000%, the LUK difference between both battlers should not exceed 900)
Add Poison (If the target isn't already inflicted, Poison-blocker will prevent the application)
Remove Poison-blocker
Create a state called "Poison-blocker". Poison and Poison-blocker should resist each other (trait).
Your skill should now:
Add Poison-blocker (1000%, the LUK difference between both battlers should not exceed 900)
Add Poison (If the target isn't already inflicted, Poison-blocker will prevent the application)
Remove Poison-blocker
Original thread: https://forums.rpgmakerweb.com/threads/make-a-skill-refresh-a-debuff.59477/