• 🏆 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!

Rage instead of mana for Heroes.

Status
Not open for further replies.
Level 1
Joined
Jan 13, 2010
Messages
1
Hey guys, I am working on a World of Warcraft map but I am stuck on the Warrior Class.

All I need is to have the Warrior gain mana only during combat and if possible, loose it while idle.

I will settle on just gaining it however.

If anyone can help me it will be greatly appreciated.

Sorry I think I posted this in the wrong area.
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
What exactly do you mean by "combat". If it were me making this I would probably use the event for unit takes damage. If a unit of type Warrior is dealt damage (or deals damage), then you can increase the state of it's mana.

For decreasing mana over time (rage wears off) you can apply a simple mana regeneration that is negative, so instead of "regenerating" mana, you would "degenerate" mana.
 
Status
Not open for further replies.
Top