I want to prevent specific fallen actors(in dead state) to be immune to raise. Basically, if this character's HP becomes 0, he cannot be raised or healed and can only be played next battle.
How should I do this?
How should I do this?
Battle Core has some.
<JS Targets>
targets = targets.filter(actor => actor != $gameActors.actor(actorId));
</JS Targets>
Thanks for the correction! That is definitely the way to go.
Just wondering as I'm still not familiar with note tags, is it possible to add/change note tags programmatically? If it does, is it a bad idea?
It's certainly possible, but the method to do it can vary, depending on the type of note tag, and the specific plugin that is using it. Most database objects have a
note property, which is a string that contains the contents of that object's corresponding note box. And you could edit that programmatically.This is working. Thanks!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/prevent-certain-actors-resurrection.148858/