查看: 1125|回复: 0

[提交中] RELEASEMAGICEX 伤害触发不能关

[复制链接]

2

主题

7

回帖

156

积分

注册会员

积分
156
发表于 2024-4-3 13:38:20 | 显示全部楼层 |阅读模式
attackdamage 里面放技能 明明没给触发伤害 还是重复触发了

function _AttackDamage(Actor, AttackTarget, nDamage, MagIdx)  --攻击前触发

if (Actor.TargetCret ~= nil ) and Actor.TargetCret.iHandle == AttackTarget.iHandle then
print(Actor.TargetCret.iHandle .. '第二刀的实际仇恨值目标')
Actor.TargetCret = AttackTarget    --当前攻击目标设置为AttackTarget
print('当前攻击目标设置为' .. AttackTarget.CharName)
vvlib:action(Actor,RELEASEMAGICEX,1,0,3,1,0,0)     第六个参数不能关闭伤害触发,导致Actor一直放技能
--Actor:UseSkill(11,false,3,1,0,2)

end


  return nDamage
end

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表