【战斗】 白骨精追加普攻必定暴击修改

dev_chengFeng
wangzhenxing 2020-12-26 19:08:16 +09:00
parent fcc8724fca
commit ed9efaf4e8
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ function BattleUtil.CalDamage(skill, atkRole, defRole, damageType, baseFactor, i
--特殊处理 白骨精附加的普攻不会必定暴击
local mustCrit=atkRole.mustCrit
if atkRole.roleId==10091 and skill and skill.type==BattleSkillType.Normal and skill.isAdd then
atkRole.mustCrit=false
mustCrit=false
end
local critCondition = clamp(atkRole:GetRoleData(RoleDataName.Crit) - defRole:GetRoleData(RoleDataName.Tenacity), 0, 1)
bCrit = critRandom <= critCondition