Commit f02ffa27e74ae245cd19baef22bcfb72a50cb623

Authored by zhouhaihai
1 parent a35f71ee

未获得神器

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/adv/Adv.lua
... ... @@ -961,6 +961,10 @@ local function chooseCommon(self, room, block, chooseData, choose, tag)
961 961 [9] = function (_, value)
962 962 return self.battle.player.hp / self.battle.player.hpMax * 100 > value
963 963 end,
  964 + -- 10 = 未获得x神器
  965 + [10] = function(_, artifactId)
  966 + return not self:isHaveArtifact(artifactId)
  967 + end,
964 968 }
965 969 assert(not cond[1] or checkCond[cond[1]], "error cond, event_" .. (tag or "choose") .. "Csv id :" .. block.event.id)
966 970  
... ...