Commit 5de33f03bda307916162207f3c3d978a57a19aa3
1 parent
e30b047e
nokey
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/adv/AdvMap.lua
@@ -553,7 +553,11 @@ createMap = function(self, mapId, isEnter, isNewRelay) | @@ -553,7 +553,11 @@ createMap = function(self, mapId, isEnter, isNewRelay) | ||
553 | if randomCommon() == false then | 553 | if randomCommon() == false then |
554 | return false | 554 | return false |
555 | end | 555 | end |
556 | - table.insert(monsterEvents, event) | 556 | + local curData = csvdb["event_monsterCsv"][event.id] |
557 | + if curData.noKey and curData.noKey == 1 then | ||
558 | + else | ||
559 | + table.insert(monsterEvents, event) | ||
560 | + end | ||
557 | end | 561 | end |
558 | 562 | ||
559 | --选择点 | 563 | --选择点 |