灯笼菜刀王 发表于 2019-1-6 09:11
嘛, 自己手动添加判定就是了, 比如 在 平砍, 技能, 道具 调用动画的地方, 增加个开关, 当需要只 ...
direnshuliang = 0 for target in @target_battlers direnshuliang += 1 end # 对像方动画 for target in @target_battlers #如果 “对象方的动画” 的位置为 “画面” if $data_animations[@animation2_id].position == 3 #这个动画全体的透明度变为 255/direnshuliang end
for target in @target_battlers if $data_animations[@animation2_id].position == 3 target.animation_id = @animation2_id break#中断循环 end end
阮声悠悠 发表于 2019-1-7 17:40
自行解决了,分享方法给大家
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |