HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding mana to a unit.

02-25-2005, 09:31 PM#1
Azhag
This might be a noob question but, I have an ability on a hero, and when you cast the ability it costs 100 mana, and then what i want the ability to do is to add 100 mana to a building that player owns. Is this possible? Plz help. I know it will be done through triggers, but i can't find a trigger that will add a certain amount of mana.
02-25-2005, 09:39 PM#2
johnfn
Code:
Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 100.00)

Change picked unit to whatever.
02-25-2005, 09:48 PM#3
Azhag
Thx.