for actor in $game_party.actors
if actor.hp == 0 and actor.state?(17)#判定你的状态
actor.remove_state(1) #复活
actor.animation_id = 126#复活动画
actor.hp = actor.maxhp #满血
actor.remove_state(17) #移除17号状态
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |