Is it possible to make it so a hero will gain mana when he attacks people, then lose it when he's idle not attacking anyone? I can't get it to work.
Gain Mana
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Warlord
Actions
Advanced - For (Attacking unit) Increase mana maximum by 30
Gain Mana
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Warlord
Actions
Advanced - For (Attacking unit) Increase mana maximum by 30