| 赞 | 0 |
| VIP | 5 |
| 好人卡 | 4 |
| 积分 | 1 |
| 经验 | 12066 |
| 最后登录 | 2015-12-4 |
| 在线时间 | 94 小时 |
Lv1.梦旅人 叶
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 94 小时
- 注册时间
- 2007-6-3
- 帖子
- 801
|
5楼

楼主 |
发表于 2007-8-28 19:46:03
|
只看该作者
以下引用Eajoe^Lee于2007-8-28 11:43:17的发言:
将
@battler.battler_name = @battler.battler_name.split(/★/)[0]
改成:
@battler_name = @battler.battler_name.split(/★/)[0]
试试
战斗没问题了
但攻击时又显示 target.battler_name = target.battler_name.split(/★/)[0]
错------------------误!!!!{/ll}{/ll}{/ll}
就是这段:
#--------------------------------------------------------------------------
# ● 刷新画面 (主回合步骤 4 : 对像方动画) ★
#--------------------------------------------------------------------------
def update_phase4_step4
# 对像方动画
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
if target.is_a?(Game_Actor)
target.battler_name = target.battler_name.split(/★/)[0]
if (target.current_action.kind == 0 and target.current_action.basic == 1) or target.damage == "Miss" or target.damage.to_i <= 0
target.battler_name = target.battler_name + "★3"
else
target.battler_name = target.battler_name + "★4"
end
end
end
# 限制动画长度、最低 8 帧
@wait_count = 8
# 移至步骤 5
@phase4_step = 5
end |
|