| 赞 | 3 |
| VIP | |
| 好人卡 | |
| 积分 | 4 |
| 经验 | |
| 最后登录 | 2026-8-10 |
| 在线时间 | 29 小时 |
- 梦石
- 0
- 星屑
- 380
- 在线时间
- 29 小时
- 注册时间
- 2013-2-17
- 回帖
- 12
|
发表于 2018-2-17 10:34:52
|
显示全部楼层
def set_target_battlers(scope)
# 行动方的战斗者是敌人的情况下
if @active_battler.is_a?(Game_Enemy)
# 效果范围分支
case scope
when 1 # 敌单体
index = @active_battler.current_action.target_index
#==以下更改内容===============
target_got = false
for a in $game_party.actors
if (@active_battler.state?(99) and a.state?(99))
@target_battlers.push(a)
target_got = true
end
end
unless target_got
@target_battlers.push($game_party.smooth_target_actor(index)) #原有内容
end
#==以上更改内容===============
when 2 # 敌全体
for actor in $game_party.actors
if actor.exist?
@target_battlers.push(actor)
end
end
在scene battle 4里面找 |
|