From ed9efaf4e8da1c149c12a3d274c2dbb4fe95ed02 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Sat, 26 Dec 2020 19:08:16 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=98=E6=96=97=E3=80=91=20?= =?UTF-8?q?=E7=99=BD=E9=AA=A8=E7=B2=BE=E8=BF=BD=E5=8A=A0=E6=99=AE=E6=94=BB?= =?UTF-8?q?=E5=BF=85=E5=AE=9A=E6=9A=B4=E5=87=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua index bab1e83f46..f60e7b7c81 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua @@ -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