I'm trying to make a skill that has a chance to instant kill smaller enemies and i want to make it so that if the skill succeeds an additional effect happens I'm not sure what it will be yet though. First I need to know if it's possible for a skill to check if it killed the target or not.
Is it possible to have a skill check if it killed the target?
RPG Maker MV SupportI'm not sure if this works, but if you use Yanfly's Skill Core plugin, i hope this note tag can help you. Just put it into your skill:
It will check after all damage is dealt to the target (If i'm not wrong).
<After Eval>
if (target.hp <= 0){
//do something you want here, like adding a state to the user
user.addState(x);}
</After Eval>
if (target.hp <= 0){
//do something you want here, like adding a state to the user
user.addState(x);}
</After Eval>
@JamesRyan that worked perfectly thanks for the help 🙂
Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-have-a-skill-check-if-it-killed-the-target.79335/