Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC Hero.SetPrimaryAttribute
From Valve Developer Community
< Dota 2 Workshop Tools | Scripting | API

Function Description
void SetPrimaryAttribute(int nPrimaryAttribute)
Set this hero's primary attribute value.
- Example
function CDOTA_BaseNPC_Hero:SetPrimaryAttribute( nPrimaryAttribute ) end
Parameters
Type | Name | Description |
---|---|---|
int | nPrimaryAttribute | No Description Set |