- Joined
- Jul 9, 2008
- Messages
- 25
Is there a trigger action to increase/decrease a unit's mana by a set amount? I'm trying to make a spell that costs 1% of the caster's mana, but all I can find are "Set Mana (To Percentage)" and "Set Mana (To Value)", when I need something more similar to "Damage Target".
Alternatively, I tried to do "Set Mana (To Value)", with the value being the caster's maximum mana, minus a variable (named mana) divided by 100, with another trigger that sets the variable to a caster's max mana whenever a unit casts the spell. But the only mana-related number that a variable can be set to is "percentage mana of (unit)", and I don't know what that means.
Alternatively, I tried to do "Set Mana (To Value)", with the value being the caster's maximum mana, minus a variable (named mana) divided by 100, with another trigger that sets the variable to a caster's max mana whenever a unit casts the spell. But the only mana-related number that a variable can be set to is "percentage mana of (unit)", and I don't know what that means.