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

How can I make a Stats Buff?

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Simply;
  • Melee Initialization
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Hero - Modify Strength of (Triggering unit): Add 5
      • Hero - Modify Agility of (Triggering unit): Add 5
      • Hero - Modify Intelligence of (Triggering unit): Add 5
      • Wait 5.00 seconds
      • Hero - Modify Strength of (Triggering unit): Subtract 5
      • Hero - Modify Agility of (Triggering unit): Subtract 5
      • Hero - Modify Intelligence of (Triggering unit): Subtract 5
Remember to change the Event to an appropriate one, in this case, use a Damage Detection System.
 
Level 4
Joined
Jun 2, 2012
Messages
747
Simply;
  • Melee Initialization
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Hero - Modify Strength of (Triggering unit): Add 5
      • Hero - Modify Agility of (Triggering unit): Add 5
      • Hero - Modify Intelligence of (Triggering unit): Add 5
      • Wait 5.00 seconds
      • Hero - Modify Strength of (Triggering unit): Subtract 5
      • Hero - Modify Agility of (Triggering unit): Subtract 5
      • Hero - Modify Intelligence of (Triggering unit): Subtract 5
Remember to change the Event to an appropriate one, in this case, use a Damage Detection System.
Youve help me again! THANKS!!!
 
Level 2
Joined
Aug 27, 2012
Messages
25
hi guys, sorry that writing here, but my question is similar to thread one.
Just wanted to ask the same question but for damage, defence?
Coz in this function hero modify is just atributes.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Just wanted to ask the same question but for damage, defence?
Coz in this function hero modify is just atributes.
Check my Custom Stats system (Signature), it allows you to modify stats (Damage/Armor/etc).

You can't modify Damage/Armor/Max HP/etc through triggers is because no action is provided.

Therefore you need to add ability to the unit (which my system is doing).
 
Level 2
Joined
Aug 27, 2012
Messages
25
Mmm you have to copy all abilities, hmm :) is there a faster way than copy one ability, go open your map paste it there then again go open your map to open it. It takes ages )
 
Level 2
Joined
Aug 27, 2012
Messages
25
and where can i find map header, its just i got "russian" version of world editor and it's like half translated and half not (
 
Level 2
Joined
Aug 27, 2012
Messages
25
By the way found, duno mistake or what in formula... if you press add sight 100, for each press it hides 100 armor, so press 5 times 100 sight, then press add 10 armor, you will get 520 :) may cause some problems for someone :) just letting you know
 
Level 2
Joined
Aug 27, 2012
Messages
25
but in all other ways it works just perfect, can't wait to get instructions from you and make proper spells from it )
 
Status
Not open for further replies.
Top