local FairPlayCard_Controller = {} FairPlayCard_Controller.protectCard1v1Id = 2220 --1v1保分卡Id FairPlayCard_Controller.protectCard3v3Id = 2222 --3v3保分卡Id FairPlayCard_Controller.experienceCardId = 2221 --体验卡Id function FairPlayCard_Controller.IsUsedExperienceCard(heroId) if MDL.HeroSelect.IsHasHero(heroId) then return false end -- 测试武将 if MDL.SyncSolo.CheckIsTestFreeHero(heroId) then return false end -- 限免武将 if MDL.SyncSolo.CheckIsTemporaryFreeHero(heroId) then return false end -- 体验卡武将 if MDL.SyncSolo.CheckIsExperienceFreeHero(heroId) then return true end return false end return FairPlayCard_Controller