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

还原巅峰战场对羁绊模块的修改

gitxsm 5 месяцев назад
Родитель
Сommit
6243f67dc0
1 измененных файлов с 1 добавлено и 7 удалено
  1. 1 7
      script/module/combat/JibanLogic.lua

+ 1 - 7
script/module/combat/JibanLogic.lua

@@ -567,13 +567,7 @@ function update(human,combatType,jibanListStr, heroIdStr, extraArgs)
 
 			-- setDB_JibanHeroID(human, k,	heroGrid.id)
 
-			local res
-			if combatType == CombatDefine.COMBAT_TYPE37 then
-				ServerCommerceActBattleGroundNS = ServerCommerceActBattleGroundNS or require("serverCommerce.ServerCommerceActBattleGroundNS")
-				res = ServerCommerceActBattleGroundNS.isGetHero(human, heroId)
-			else
-				res = HeroBook.isGetHero(human, heroId)
-			end
+			local res = HeroBook.isGetHero(human, heroId)
 			if not res or res == HeroBook.LIEZHUAN_REWARD_NO then
 				return
 			end