您需要 登录 才可以下载或查看,没有账号?注册会员
使用道具 举报
綾川司の姫様<
#-------------------------------------------------------------------------- # ● 刷新画面 (主回合步骤 3 : 行动方动画) #-------------------------------------------------------------------------- def update_phase4_step3 # 行动方动画 (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 if @active_battler.is_a?(Game_Actor) and target.is_a?(Game_Actor) and @active_battler.id == target.id target.animation_id = @animation1_id elsif @active_battler.is_a?(Game_Enemy) and target.is_a?(Game_Enemy) and @active_battler.id == target.id target.animation_id = @animation1_id else target.animation_id = @animation2_id target.animation_hit = (target.damage != "Miss") end end # 移至步骤 4 @phase4_step = 4 end #-------------------------------------------------------------------------- # ● 刷新画面 (主回合步骤 4 : 对像方动画) #-------------------------------------------------------------------------- def update_phase4_step4 # 对像方动画 for target in @target_battlers if @active_battler.is_a?(Game_Actor) and target.is_a?(Game_Actor) and @active_battler.id == target.id target.animation_id = @animation2_id target.animation_hit = (target.damage != "Miss") elsif @active_battler.is_a?(Game_Enemy) and target.is_a?(Game_Enemy) and @active_battler.id == target.id target.animation_id = @animation2_id target.animation_hit = (target.damage != "Miss") end end # 限制动画长度、最低 8 帧 @wait_count = 8 # 移至步骤 5 @phase4_step = 5 end
lov Peii 4ever
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
这里的今天,有我过往努力的见证~
第3届短篇游戏大赛R剧及RMTV组亚军
Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.