• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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