Project1
标题:
【急救】战斗时候真移位脚本,角色死亡后复活报错
[打印本页]
作者:
hubin3884497
时间:
2011-4-10 13:06
标题:
【急救】战斗时候真移位脚本,角色死亡后复活报错
请教大师,战斗时候真移位脚本出问题了!
其中一个角色死亡后战斗图像消失,另一个用药复活他,报错,如下:
QQ截图未命名.jpg
(12.13 KB, 下载次数: 3)
下载附件
保存到相册
2011-4-10 13:05 上传
游戏到这卡住了,请求高手帮忙! dsu_plus_rewardpost_czw
作者:
听海
时间:
2011-4-10 13:21
提示:
作者被禁止或删除 内容自动屏蔽
作者:
hubin3884497
时间:
2011-4-10 13:24
回复
听海
的帖子
#--------------------------------------------------------------------------
# ● 刷新画面 (主回合步骤 4 : 对像方动画)
#--------------------------------------------------------------------------
def update_phase4_step4
# 刷新状态窗口
@status_window.refresh
# 对像方动画
for target in @target_battlers
#target.animation_id = @animation2_id
#target.animation_hit = (target.damage != "Miss")
if target.damage != nil
target.damage_pop = true
if target.damage != "Miss"
r = rand(5)+10
for i in 1..r
Graphics.update
Input.update
update
target.cp -= 1
@battler_cp.ttbar[target].y = (142 - (target.cp * 135 / target.maxcp)) + 32-7
end
end
end
end
# 限制动画长度、最低 8 帧
#@wait_count = 4
# 移至步骤 5
@phase4_step = 5
end
以上是报错相关的脚本,请帮忙看看
作者:
听海
时间:
2011-4-10 13:38
提示:
作者被禁止或删除 内容自动屏蔽
作者:
hubin3884497
时间:
2011-4-10 13:51
回复
听海
的帖子
出错范例.rar
(555.73 KB, 下载次数: 70)
2011-4-10 13:50 上传
点击文件名下载附件
作者:
听海
时间:
2011-4-10 16:15
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1