• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Manipulating Mana Pool values

Status
Not open for further replies.
Level 3
Joined
Dec 8, 2023
Messages
13
Hi!

I cannot seem to find a way to customize a units max mana (or hp). The triggers I can see only changes the current hp/mana and not the value of the max mana/hp.

I am trying to make a skill in which the hero for every (n) seconds gets (x) to max mana.

Also, is there a way to manipulate the value of a units armor/defense?

Question: does armor not only reduce physical damage but also other damage like spell or magic?

Thanks!
 
Hi!

I cannot seem to find a way to customize a units max mana (or hp). The triggers I can see only changes the current hp/mana and not the value of the max mana/hp.

I am trying to make a skill in which the hero for every (n) seconds gets (x) to max mana.

Also, is there a way to manipulate the value of a units armor/defense?

Question: does armor not only reduce physical damage but also other damage like spell or magic?

Thanks!
Type the word "hp", "mana", or "max" in the Search For Text box and you'll find these:
  • Actions
    • Unit - Set Max HP of (Triggering unit) to 500
    • Unit - Set Max Mana of (Triggering unit) to 300
I believe they were added in patch 1.32.

Otherwise, you can rely on Item Abilities which add Life/Mana.
 
Question: does armor not only reduce physical damage but also other damage like spell or magic?
Armor does not reduce damage from spells. Generic spell damage is attack type spells and damage type universal. For spell damage to be reduced by armor the attack type should be spells and damage type could be f.e. normal.
 
Otherwise, you can rely on Item Abilities which add Life/Mana.
And in this regard, the item abilities do not add any HP/MP to the unit when given to them and leveled up. But they do remove the stats they should have added when the ability is removed from the unit. So instead of giving the ability +15 HP and adding it to the unit, you’ll set it to give -15 HP then add to and remove it from the unit.
 
Status
Not open for further replies.
Back
Top