本帖最后由 FHNBHJ 于 2016-7-20 14:26 编辑
class Game_Party < Game_Unit #-------------------------------------------------------------------------- # ● alias:角色离队 #-------------------------------------------------------------------------- alias remove_actor_fhn remove_actor def remove_actor(actor_id) actor = $game_actors[actor_id] actor.clear_equipments if @actors.include?(actor_id) remove_actor_fhn(actor_id) end end
class Game_Party < Game_Unit
#--------------------------------------------------------------------------
# ● alias:角色离队
#--------------------------------------------------------------------------
alias remove_actor_fhn remove_actor
def remove_actor(actor_id)
actor = $game_actors[actor_id]
actor.clear_equipments if @actors.include?(actor_id)
remove_actor_fhn(actor_id)
end
end
塞在插件脚本里 |