AddResourceAmount

Parameters
whichUnit unit

Add gold to this gold mine unit.

amount integer

The amount of gold to add to the unit.

comment

Adds the amount of available gold to a gold mine. The amount can be negative, which is practically the same as 0.

note

See SetResourceAmount for edge-case descriptions. Also: SetResourceAmount, GetResourceAmount.

patch

1.00

return type
nothing
Source code
native AddResourceAmount            takes unit whichUnit, integer amount returns nothing
Source
common.j
wc3modding.com
AddResourceAmount