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

[Unsolved] Adding Mana

Status
Not open for further replies.
Level 11
Joined
Aug 25, 2009
Messages
1,210
I am currently trying to make a rage system. I have the rage depleting done but I do not have the rage gaining. How do I make it so when the "warrior" attacks he gains two rage power and when he casts "charge" he gains 10 rage power (How do I make it so when it says "Stats - Mana Cost" it says -10?) Will rep if I learn :D
 
I'm going to assume "Rage Power" is simply mana points called by a different name.

  • Rage Gain
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Warrior
    • Actions
      • Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + 2.00)
  • Charge
    • Events
      • Unit - A unit Begins the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Charge
    • Actions
      • Unit - Set mana of (Casting unit) to ((Mana of (Casting unit)) + 10.00)
The Charge ability should be a dummy ability.

If you want to change "Mana" into entirely as "Rage Power", click Advanced at the top of the editor and then click Game Interface...

Once in the interface, edit every Text data message that uses the word Mana and replace it with Rage Power.

I think this is the kinda stuff you're looking for.
 
Last edited:
Well. Simply all you've got to do is to edit '0', choose the function 'Arithmetic' and edit one of the integers to 'Unit - Property' Change Life to mana and (Triggering Unit) to (Casting Unit), and then change the amount of mana you want to give your unit.
 
Status
Not open for further replies.
Back
Top