In-Game DefinitionsGlobalsScripting FunctionsTraitLogicAddTraitOn this pageAddTrait Function name in TraitLogic.lua Usage AddTrait(unit, traitName, rarity, args) Parameters unit, traitName, rarity, args Returns any