From f6d05b433dee6489aae4db4208e34cd023a0211b Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Thu, 2 Sep 2021 18:07:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A5=9E=E5=B0=86=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E3=80=91=E6=9C=AC=E6=9C=8D=E6=8E=92=E8=A1=8C=E6=A6=9C=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E7=A5=9E=E5=B0=86=E5=B1=9E=E6=80=A7=EF=BC=8C=E4=B8=8E?= =?UTF-8?q?=E8=83=8C=E5=8C=85=E7=A5=9E=E5=B0=86=E6=83=85=E6=8A=A5=E4=B8=AD?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/GoodFriend/GoodFriendManager.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendManager.lua b/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendManager.lua index afa08336dc..3f53ba7989 100644 --- a/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/GoodFriend/GoodFriendManager.lua @@ -500,6 +500,9 @@ function this.GetHeroDatas(_msgHeroData, force, specialEffects,guildSkill) end end end + --因为后端无法区分是否为PVP,所以前端处理,把PVP伤害加成和减免从伤害加成和减免中去除 + heroData.allAddProVal[51] = heroData.allAddProVal[51] - heroData.allAddProVal[69] + heroData.allAddProVal[52] = heroData.allAddProVal[52] - heroData.allAddProVal[70] heroData.skinId = _msgHeroData.skinId if heroData.skinId == 0 then