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

WoW Warrior Rage Stuff

Status
Not open for further replies.
Level 9
Joined
Oct 2, 2008
Messages
406
Hi there!I want to make my Warrior to have 100 mana,to lose mana insted to regenerate it and to gain mana when he takes or deals damage.I know how to make him degenerate mana,how to make it be 100 but I need help with gaining mana.HELP PLZ!!!!:cry:
 
Level 34
Joined
Jul 4, 2007
Messages
5,552
For losing mana:
Make the mana regeneration value negative, to do so you must hold shift and then double click the mana regeneration. Then add a negative number like -5.

For gaining mana when dealing damage or taking damage:
What you can try is to make Feedback negative and target it on yourself.
But that's for dealing damage.

To give mana when taking damage, you have to have the enemy have Feedback that is negative and targeted on enemy (or hero, whatsoever).


Off course I never tried these things myself, so it's likely I am wrong and you need triggers for it.
 
Level 3
Joined
Feb 7, 2009
Messages
42
You could use a mana shield based ability with negative mana per point of damage
or you could do in 2 ways with triggers :

1- //unit is attacked
//unit type of attacked unit = ( your unit )
//unit : set mana of attacked unit to [mana of attacked unit+X

2- you will need to create 2 triggers, the first one creates an event for the second one

--Trigger 1 --
//unit enters playable map area
//unit type of triggering unit = ( Your unit )
//trigger :add event to trigger 2 - triggering unit takes damage

--Trigger 2 --
//[no event]
//[no conditions]
//unit : set mana of triggering unit to [mana of triggering unit+damage taken]
 
You could use a mana shield based ability with negative mana per point of damage
or you could do in 2 ways with triggers :

1- //unit is attacked
//unit type of attacked unit = ( your unit )
//unit : set mana of attacked unit to [mana of attacked unit+X

2- you will need to create 2 triggers, the first one creates an event for the second one

--Trigger 1 --
//unit enters playable map area
//unit type of triggering unit = ( Your unit )
//trigger :add event to trigger 2 - triggering unit takes damage

--Trigger 2 --
//[no event]
//[no conditions]
//unit : set mana of triggering unit to [mana of triggering unit+damage taken]

Can be made with easyer.
Trigger 1
  • Event: a Unit is Attacked
  • Condition: "Attacking Unit" equal to (Your unit)
  • Action: set mana of "Attacking Unit" to current mana of "Attacking Unit" + (Gained mana/rage)
Trigger 2
  • Event: a Unit is Attacked
  • Condition: "Attacked Unit" equal to (Your unit)
  • Action: set mana of "Attacked Unit" to current mana of "Attacked Unit" + (Gained mana/rage)
(By some reason the icons went wrong)
Think that will work
 
Status
Not open for further replies.
Top