From 866852ffc1fd54eea4f72c6d010b2440ec78f50f Mon Sep 17 00:00:00 2001 From: chenyueqi Date: Thu, 4 Feb 2021 17:26:30 +0800 Subject: [PATCH] 主城看板有可能是story cg id --- src/actions/HeroAction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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