|
发表于 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
|
|