【GC4段】求助 如何实现群体上DOT~
本帖最后由 小小沫涵 于 2015-12-17 13:41 编辑fh专用函数使用了没有效果,不知道是不是我的姿势不正确,求正确姿势
这样设置无效~
不懂帮顶.....{:6_208:} 帮顶 同求。高端啊。牧师也用的到 帮顶,好像万岁爷也问过 本帖最后由 醉骚 于 2015-12-14 11:42 编辑
写了一段函数 能解决你的问题
function msGetRangeRadianAuraUnit(jl,debuff,spellName,hp,debuffT)
local nums=GetObjectCount ()
for i = 1, nums do
local obj = ObjectWithIndex(i)
local ObjectName2 = ObjectName(ObjectPointer(obj))
local unit=ObjectPointer(obj)
if ObjectIsType(obj,ObjectTypes.Unit)
and UnitCanAttack ("player", unit)
and msGBT(debuff, unit, "player", nil)<=debuffT
and msGD("player",unit) <= jl
and UnitHealth(unit)>hp
and FHINSight(unit)
--and AutoFaceTarget2(unit)
then
if msISC(spellName,unit) then
msRun(spellName,unit,0,true);
end
else
end
end
end
msGetRangeRadianAuraUnit(40,"腐蚀术","腐蚀术",10,3)--用法
楼上牛逼啊,我也试试看{:5_236:} 醉骚 发表于 2015-12-14 10:22
写了一段函数 能解决你的问题
你这个厉害 属于专业的了。。 自带的函数感觉不是特别好用 如果你不用GC 用MS 这些问题都不是问题 小小沫涵 发表于 2015-12-17 13:41
如果你不用GC 用MS 这些问题都不是问题
不会使用ms 没有代码基础。。
页:
[1]
2