赞 | 2 |
VIP | 19 |
好人卡 | 10 |
积分 | 3 |
经验 | 57661 |
最后登录 | 2019-5-20 |
在线时间 | 574 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 253
- 在线时间
- 574 小时
- 注册时间
- 2006-8-25
- 帖子
- 969
|
3楼
楼主 |
发表于 2008-3-16 09:31:21
|
只看该作者
是这样吗?好像还是一样....
#--------------------------------------------------------------------------
# ● 刷新画面 (主回合步骤 4 : 行动方动画)
#--------------------------------------------------------------------------
def update_phase4_step4
# 行动方动画 (ID 为 0 的情况下是白色闪烁)
if @animation1_id == 0
@active_battler.white_flash = true
else
@active_battler.animation_id = @animation1_id
@active_battler.animation_hit = true
end
# 对像方动画
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
#.......................................................................
if target.is_a?(Game_Actor)
##############
if target.guarding?
$fangyu = 1
end
##############
if target.current_action.kind == 0 and target.current_action.basic == 1
target.setup_battler_ani(target.battler_name.split(/★/)[2])
else
target.setup_battler_hurt_ani(0)
end
end
if target.is_a?(Game_Enemy)
if target.current_action.kind == 0 and target.current_action.basic == 1
target.setup_battler_ani(target.battler_name.split(/★/)[1])
else
target.setup_battler_hurt_ani(0)
end
end
#.......................................................................
end
# 对像方动画
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
#......................................................................
end
# 限制动画长度、最低 8 帧
@wait_count = 8
# 移至步骤 5
@phase4_step = 5
end
#--------------------------------------------------------------------------
# ● 刷新画面 (主回合步骤 3 : 对像方动画) ★
#--------------------------------------------------------------------------
def update_phase4_step3
# 限制动画长度、最低 8 帧
@wait_count = 8
# 移至步骤 5
@phase4_step = 4
end
end
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 取得战斗画面的 X 坐标
#--------------------------------------------------------------------------
|
|