赞 | 93 |
VIP | 0 |
好人卡 | 13 |
积分 | 80 |
经验 | 53314 |
最后登录 | 2024-8-13 |
在线时间 | 1183 小时 |
Lv4.逐梦者
- 梦石
- 0
- 星屑
- 7981
- 在线时间
- 1183 小时
- 注册时间
- 2007-7-29
- 帖子
- 2055
|
- class Game_Party
- attr_accessor :actors
- end
- class Scene_Battle
- def initialize
- $game_backup_actors = []
- for actor in $game_party.actors
- $game_backup_actors.push(actor.id)
- end
- _actor = nil
- loop do
- _actor = [$game_party.actors.shift]
- break if !_actor[0].dead?
- end
- $game_party.actors = _actor
- end
- alias battle_end0 battle_end
- def battle_end(result)
- $game_party.actors = []
- for id in $game_backup_actors
- $game_party.add_actor(id)
- end
- battle_end0(result)
- end
- end
复制代码 放在main之前 |
评分
-
查看全部评分
|