Help me please...

Status
Not open for further replies.

x0oo0

X

x0oo0

How do you make it so i subtract gold from a player during a trigger?
 
I should of been more specific how would i subtract based on hero level?
 
Lets Fix that.
  • Player - Add (-1000 x (Level of(Dying Unit))) to (Owner of(Dying Unit)) Current Gold.

Triggering Unit corresponds to "Unit - A unit dies" just as Dying unit does, except that triggering unit is local to the function. (It won't get overwritten if there is a wait)

But yeah, same thing pretty much in this case. Just thought I'd mention it. =D
 
Status
Not open for further replies.
Back
Top