BlackArrow = {id = 3674, name = GetSpellInfo(3674)},
ExplosiveShot = {id = 53301, name = GetSpellInfo(53301)},
killshot = {id = 61006, name = GetSpellInfo(61006)},
["BlackArrow"] = function()
if ValidUsable(spells.BlackArrow.id, "target")
and _playerInRange
and FacingLosCast(spells.BlackArrow.name, "target") then
return true
end
end,
["ExplosiveShot"] = function()
if ValidUsable(spells.ExplosiveShot.id, "target")
and _playerInRange
and FacingLosCast(spells.ExplosiveShot.name, "target") then
return true
end
end,
这是第一次按照黑箭和爆炸射击改的杀戮射击,不生效
["killshot"] = function()
if ValidUsable(spells.killshot.id, "target")
and _playerInRange
and FacingLosCast(spells.killshot.name, "target") then
return true
end
end,
这是参考自带文件里的别人写的改的杀戮射击,还是不生效
["killshot"] = function()
if ni.spell.available(spells.killshot.id)
and ni.spell.valid("target", spells.killshot.id, false, true, true) then
ni.spell.cast(spells.killshot.name)
return true
end
end,
在local queue = 中已经添加了killshot