Commit 866852ffc1fd54eea4f72c6d010b2440ec78f50f

Authored by chenyueqi
1 parent 2205321c

主城看板有可能是story cg id

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/HeroAction.lua
... ... @@ -1127,7 +1127,7 @@ function _M.changeCrown(agent, data)
1127 1127  
1128 1128 local heroType = msg.heroType
1129 1129  
1130   - if not role:isHaveHero(heroType) then return true end
  1130 + if heroType < 10000 and not role:isHaveHero(heroType) then return true end
1131 1131 role:setProperty("crown", heroType)
1132 1132  
1133 1133 role:log("hero_show", {
... ...