In-Game DefinitionsGlobalsScripting FunctionsTraitLogicAddTraitToHeroSourceOn this pageAddTraitToHeroSource Function name in TraitLogic.lua Usage AddTraitToHeroSource(source, args) Parameters source, args Returns none