• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Freezing Mana

Status
Not open for further replies.
Level 18
Joined
Jun 15, 2012
Messages
498
Hot to freeze mana, like when you use a summoning spell, as long as the summon is alive, the mana used to cast the spell remains frozen
Example: hero has max10 mana, uses a summoning spell which costs 3mana, and as long as the summon is alive, his max mana will be 3
 
Level 9
Joined
Dec 12, 2007
Messages
489
his max mana will not be 7?

anyway, if you intend to change the maximum mana, you can use BonusMod or create your own bonus ability.
for the spell trigger itself, you add the negative bonus to the caster, then set a timer with low interval, checking if the summon is still alive or not, then retrieve the negative bonus if the summon is dead.
 
Status
Not open for further replies.
Top