What I'm trying to achieve is an actor cast a skill on an ally that applies the "Automatic Revive" state. When the actor with that state then dies, they will instantly revive. I did what I could with the help of this thread. So far I've managed to apply the state and prevent it from being removed by death, but I can't seem to get the character to revive. I've even tried it in a new project with minimal plugins with no luck. I'm not sure where I went wrong.
I use MV version 1.5.2 and you can see the versions of the plugins I'm using. When I chose to not update MV any further I updating all of yanfly's plugins and haven't updated since. However, I have the latest versions of State Core and State Category because I didn't get those plugins until just recently when I decided I wanted to create this auto revive skill.
Knockout State
Automatic Revive State
Automatic Revive Skill
Revive Skill
Dead character with state
Console
Plugin List
I use MV version 1.5.2 and you can see the versions of the plugins I'm using. When I chose to not update MV any further I updating all of yanfly's plugins and haven't updated since. However, I have the latest versions of State Core and State Category because I didn't get those plugins until just recently when I decided I wanted to create this auto revive skill.
Knockout State
Notetag contents
Code:
State #1 will be automatically added when
HP reaches 0.
<Custom Apply Effect>
console.log("start");
if (target.isStateAffected(11)) {
console.log("condition true");
BattleManager.queueForceAction(target, 12, 0);
}
console.log("end");
</Custom Apply Effect>
Automatic Revive State
Automatic Revive Skill
Revive Skill
notetag contents
Code:
<setup action>
camera clamp on
display action
zoom: 300%
camera focus: user
wait for zoom
</setup action>
<target action>
camera focus: user
zoom: 250%
wait for camera
action animation: user
animation wait: 20
motion dying: user
wait for animation
action effect: target
motion standby: user
wait: 20
motion spell: user
wait: 25
</target action>
<finish action>
perform finish
clear battle log
reset camera
reset zoom
wait for camera
camera clamp on
</finish action>
Dead character with state
Console
Plugin List