Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC Hero.SpendGold
< Dota 2 Workshop Tools | Scripting | API
Note: This page is automatically generated. Any changes may be overwritten
Function Description
void SpendGold(int amount, int reason)
Args: int nGold, int nReason
Parameters
Type | Name | Description |
---|---|---|
int | amount | No Description Set |
int | reason | Use one of the gold modifier constants |