Просмотр исходного кода

修改异界之战据点被占领后,公会排行榜据点数量异常bug

gitxsm 3 месяцев назад
Родитель
Сommit
83e793bd9b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      script/module/anotherWorldBattle/AnotherWorldBattleCS.lua

+ 1 - 1
script/module/anotherWorldBattle/AnotherWorldBattleCS.lua

@@ -1481,7 +1481,7 @@ local function challenge_Win(msg)
 
 
         -- 更新防守方公会的排行榜数据
-        AnotherWorldBattleDB.UpdateUnionRankList(groupId, pointData.unionId, cityNum, pointNum)
+        AnotherWorldBattleDB.UpdateUnionRankList(groupId, pointData.unionId, cityNum, -pointNum)
         -- 更新防守方玩家的排行榜数据
         AnotherWorldBattleDB.UpdatePlayerRankList(groupId, pointData.playerUuid, -pointNum, -pointWeight)