LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 1731|回复: 6

[综合] 求大神gengxxx帮忙

[复制链接]
发表于 2014-4-1 22:17:59 | 显示全部楼层 |阅读模式
求一个函数!!!!!顺便求收留
0-1层奥冲debuff一定读奥冲
2-3层奥冲debuff,2层飞弹读飞弹,否则读奥冲
4层奥冲debuff,1层飞弹,3-4层2T16buff读奥冲,2层2T16buff、99%蓝以上读奥冲,否则继续飞弹

4层奥冲debuff,飞弹打完后
0层2T16buff,96%蓝以上奥冲,96%蓝以下弹幕
1层2T16buff,92%蓝以上奥冲,92%蓝以下弹幕
2层或更高:继续奥冲


回复

使用道具 举报

发表于 2014-4-1 23:28:23 | 显示全部楼层
本帖最后由 gengxxx 于 2014-4-1 23:29 编辑

只是单纯按照你文字说明给出的代码, 不保证优先级正确

--不打断施法
if  ampb("隐形术") > 0 or amac("player")=="唤醒" or amac("player")=="奥术飞弹" or amac("player")=="暴风雪" then return;end

if ampdbn("奥术充能") < 2 then amrun("奥术冲击","target") end
if ampdbn("奥术充能") < 4 and ampbn("奥术飞弹!") == 2 then amrun("奥术飞弹","target") end
if ampdbn("奥术充能") < 4 and ampbn("奥术飞弹!") == 1 then amrun("奥术冲击","target") end
if ampdbn("奥术充能") == 4 and ampbn("奥术飞弹!") > 0 then
     if ampbn("法力高超") > 2 then amrun("奥术冲击","target") end
     if ampbn("法力高超") <= 2 and ampbn("法力高超") >  0 then
         if  BeeUnitMana("player","%",0) >= 99 then amrun("奥术冲击","target")  
         else amrun("奥术飞弹","target") end
     end
end

if ampdbn("奥术充能") == 4 and ampbn("奥术飞弹!") < 1 then
     if ampbn("法力高超") ==  0 then
         if BeeUnitMana("player","%",0) >= 96 then amrun("奥术冲击","target")
        else  amrun("奥术弹幕","target")  end
     end
     if ampbn("法力高超") ==  1 then
         if BeeUnitMana("player","%",0) >= 92 then amrun("奥术冲击","target")
        else  amrun("奥术弹幕","target")  end
         if ampbn("法力高超") >  1 then amrun("奥术冲击","target") end
     end
end

点评

赞+13800138000  发表于 2014-4-2 08:15 AM
回复 支持 反对

使用道具 举报

发表于 2014-4-2 09:48:19 | 显示全部楼层
XXX这是要变成代码王的节奏?!
回复 支持 反对

使用道具 举报

发表于 2014-4-2 09:53:23 | 显示全部楼层
大神真有爱阿!!
回复 支持 反对

使用道具 举报

发表于 2014-4-4 12:10:08 | 显示全部楼层
膜拜!

评分

参与人数 1伸手费 +50 收起 理由
gengxxx + 50 很给力!

查看全部评分

回复 支持 反对

使用道具 举报

发表于 2014-4-5 18:42:09 | 显示全部楼层
g大好称职的说~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-6-9 07:59 PM , Processed in 0.056082 second(s), 30 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表