以下引用Iselia雪于2008-2-29 23:12:28的发言:
我觉得这个不够,但是这样就这样吧,完全按顶楼意思。
#--------------------------------------------------------------------------
# ● 对像角色的顺序确定
# actor_index : 角色索引
#--------------------------------------------------------------------------
def smooth_target_actor(actor_index)
# 取得对像
actor = @actors[actor_index]
# 对像存在的情况下
if actor != nil and actor.exist?
##########################################依塞莉亚
if actor.index == 0
return $game_party.actors[1]
end
###########################################
return actor
end
# 循环
for actor in @actors
# 对像存在的情况下
if actor.exist?
##########################################依塞莉亚
if actor.index == 0
return $game_party.actors[1]
end
###########################################
return actor
end
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |