|
|
@@ -257,6 +257,7 @@ BESKILL_TYPE69 = 69 --血族英雄特殊处理
|
|
|
BESKILL_TYPE70 = 70 --增加的属性激活就生效(计入面板属性)并且概率连击
|
|
|
BESKILL_TYPE71 = 71 --回合开始 在其他buff添加结束
|
|
|
BESKILL_TYPE72 = 72 -- 不施放技能,只用来做其他效果的判断条件
|
|
|
+BESKILL_TYPE73 = 73 --使用技能(包括普攻技能)命中敌方且造成伤害
|
|
|
|
|
|
|
|
|
NO_CHECK_FANJI_LIST = {
|
|
|
@@ -271,6 +272,7 @@ NO_CHECK_FANJI_LIST = {
|
|
|
[BESKILL_TYPE38] = 1,
|
|
|
[BESKILL_TYPE44] = 1,
|
|
|
[BESKILL_TYPE46] = 1,
|
|
|
+ [BESKILL_TYPE73] = 1,
|
|
|
}
|
|
|
|
|
|
NO_CHECK_COMBO_LIST = {
|
|
|
@@ -288,6 +290,7 @@ NO_CHECK_COMBO_LIST = {
|
|
|
[BESKILL_TYPE38] = 1,
|
|
|
[BESKILL_TYPE43] = 1,
|
|
|
[BESKILL_TYPE15] = 1,
|
|
|
+ [BESKILL_TYPE73] = 1,
|
|
|
}
|
|
|
|
|
|
local function checkLimit(data)
|
|
|
@@ -804,7 +807,18 @@ function onHit(attacker,targets,skillID)
|
|
|
end
|
|
|
|
|
|
local side = attacker.side
|
|
|
- local defendSide = side == CombatDefine.ATTACK_SIDE and CombatDefine.DEFEND_SIDE or CombatDefine.ATTACK_SIDE
|
|
|
+ local defendSide = side == CombatDefine.ATTACK_SIDE and CombatDefine.DEFEND_SIDE or CombatDefine.ATTACK_SIDE
|
|
|
+
|
|
|
+
|
|
|
+ local target = targets[1]
|
|
|
+ if target and target.side == defendSide and CombatObj.getValue(attacker,RoleDefine.RATE_COMBAT_NOW) > 0 then
|
|
|
+ if attacker.beSkillList[BESKILL_TYPE73] then
|
|
|
+ for _,v in ipairs(attacker.beSkillList[BESKILL_TYPE73]) do
|
|
|
+ use(attacker,targets,v)
|
|
|
+ end
|
|
|
+ end
|
|
|
+ end
|
|
|
+
|
|
|
|
|
|
--普通技能触发
|
|
|
if useSkillConfig.type == CombatDefine.SKILL_TYPE1 then
|