Commit ed20b43cf26c1a603d42a68edc205ccc478ce4f3

Authored by zhouhaihai
1 parent ba84f3c7

冒险bug

Showing 2 changed files with 2 additions and 3 deletions   Show diff stats
src/adv/AdvBattle.lua
... ... @@ -14,7 +14,6 @@ function Battle:ctor(adv)
14 14 self:initAfter()
15 15 if self.isNewPlayer then
16 16 self.player:triggerPassive(Passive.BORN_ONCE)
17   - self.player:addExp((self.adv.level - 1) * 40)
18 17 end
19 18 end
20 19  
... ...
src/adv/AdvMap.lua
... ... @@ -523,7 +523,7 @@ createMap = function(self, mapId, isEnter, isNewRelay)
523 523 --开放出口
524 524 randomFunc[AdvEventType.Diner] = function()
525 525 -- if not self.adv.isRelay or isEnter or isNewRelay then return false end
526   - if not self.adv.isRelay or isEnter then return false end
  526 + -- if not self.adv.isRelay or isEnter then return false end
527 527 end
528 528  
529 529 --boss
... ... @@ -567,7 +567,7 @@ createMap = function(self, mapId, isEnter, isNewRelay)
567 567 end
568 568 --建筑
569 569 randomFunc[AdvEventType.Build] = function()
570   - if self.adv.isRelay and isEnter then return false end
  570 + -- if self.adv.isRelay and isEnter then return false end
571 571 return randomCommon()
572 572 end
573 573 --陷阱
... ...