【GC四段】关于(FH)检测范围内可以打断的施法-函数的问题
本帖最后由 小小沫涵 于 2015-12-5 21:44 编辑--检测范围内可以打断的施法
function FHGetRangeRadianCastingUnit(jl,Degrees,spellName)
local name, rank, icon, castTime, minRange, maxRange, spellID = GetSpellInfo(SpellName)
for i = 1, #FHenemiesTable do
local thisUnit = FHenemiesTable.unit
if FHObjectDistance("player",thisUnit) < jl and FHgetFacing(thisUnit,Degrees) == true and FHINSight(thisUnit) == trueand UnitIsDeadOrGhost(thisUnit) == false then
---检测打断目标
if amSpellInterrupt(thisUnit) then
amrun(spellName,thisUnit);
return true
end
end
end
return false
end
求教此函数怎样加上时间延时或百分比的逻辑变量,还有就是怎样添加想打断的特定技能。(例如只打断范围内可打断的“炎爆术”)
页:
[1]