class Game_Actor def add_state(state_id) item = $data_armors[1] # 1 为护甲ID if state_id == death_state_id && armors.include?(item) discard_equip(item) recover_all else super end end end
class Game_Actor
def add_state(state_id)
item = $data_armors[1] # 1 为护甲ID
if state_id == death_state_id && armors.include?(item)
discard_equip(item)
recover_all
else
super
end
end
end
|