In-Game DefinitionsGlobalsScripting FunctionsTraitLogicHeroHasTraitOn this pageHeroHasTrait Function name in TraitLogic.lua Usage HeroHasTrait(traitName) Parameters traitName Returns bool