diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index f10c575..9e94ceb 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -1127,7 +1127,7 @@ function _M.changeCrown(agent, data) local heroType = msg.heroType - if not role:isHaveHero(heroType) then return true end + if heroType < 10000 and not role:isHaveHero(heroType) then return true end role:setProperty("crown", heroType) role:log("hero_show", { -- libgit2 0.21.2