| 赞 | 0 |
| VIP | 40 |
| 好人卡 | 0 |
| 积分 | 1 |
| 经验 | 13258 |
| 最后登录 | 2021-2-21 |
| 在线时间 | 11 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 100
- 在线时间
- 11 小时
- 注册时间
- 2007-7-1
- 帖子
- 327
|
在SENCE_BATTER1里面 找到这个
#--------------------------------------------------------------------------
# ● 战斗结束
# result : 結果 (0:胜利 1:失败 2:逃跑)
#--------------------------------------------------------------------------
def battle_end(result)
# 清除战斗中标志
$game_temp.in_battle = false
# 清除全体同伴的行动
$game_party.clear_actions
# 解除战斗用状态
for actor in $game_party.actors
actor.remove_states_battle
end
# 清除敌人
$game_troop.enemies.clear
# 调用战斗返回调用
if $game_temp.battle_proc != nil
$game_temp.battle_proc.call(result)
$game_temp.battle_proc = nil
end
# 切换到地图画面
$scene = Scene_Map.new
然后在下面添加
#########################################################################
$game_temp.common_event_id = 1
$scene = Scene_Map.new
#########################################################################
在公共事件1里进行设置
条件分歧--当某某状态为战斗不能时 结束游戏
|
|