|
发表于 2019-9-4 14:48:39
|
显示全部楼层
- function kezhiwugongSetPerform(tempatt,i,targetid)
- if score.xiangyun=='死' or score.xiangyun=='衰' then
- jlcheck='max'
- else
- jlcheck=math.ceil((hp.pot_max - 100) / 4) + 200
- end
- exe('alias pbuff '..GetVariable("pfmbuff"))
- exe('set double_attack 1;unset no_kill_ap;')
- if (job.name=='wudang' or hsjob2>=1) and (kzValue=='险' or kzValue=='妙') then
- exe('jiali '..jlcheck..';pbuff;'..GetVariable(kezhi_valuecmd[tempatt])..' '.. targetid..';hp')
- create_alias('kezhiwugongpfm','kezhiwugongpfm','alias pppp'..i..' jiali '..jlcheck..';pbuff;'..GetVariable(kezhi_valuecmd[tempatt])..' '.. targetid)
- exe('kezhiwugongpfm')
- exe('set wimpy 100')
- else
- exe('jiali '..jlcheck..';'..GetVariable(kezhi_valuecmd[tempatt])..' '.. targetid..';hp')
- create_alias('kezhiwugongpfm','kezhiwugongpfm','alias pppp'..i..' jiali '..jlcheck..';'..GetVariable(kezhi_valuecmd[tempatt])..' '.. targetid)
- exe('kezhiwugongpfm')
- exe('set wimpy 100')
- end
- end
复制代码
我找了个不知道啥版把你code需要实现的方式写了一遍,你测试一下吧,如不对再一起参详 |
|