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

[Spell] multiple spell in a spell

Status
Not open for further replies.
Level 6
Joined
Aug 4, 2012
Messages
193
i wan to make a spell that add 10 armor to nearby allies unit but add extre 5 armor to the unit owing the aura, how can i do it?
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Create 2 auras, one that gives 10, and another that gives 5 with target: "Self". Add both to the unit and you're done.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Create 2 auras, one that gives 10, and another that gives 5 with target: "Self". Add both to the unit and you're done.
Having 2 same auras to the same unit does not make it stack.

@laserdemon
Here's a test map, check it out.
Make sure you learn the ability.
 

Attachments

  • test19.w3x
    12.6 KB · Views: 47
Level 6
Joined
Aug 4, 2012
Messages
193
can i use this?
  • Events
    • Unit - A unit Learns a skill
  • Conditions
    • (Learned Hero Skill) Equal to Devotion Aura
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of Devotion Aura for (Triggering unit)) Equal to 1
      • Then - Actions
        • Unit - Add Item Armor Bonus to (Triggering unit)
      • Else - Actions
        • Unit - Set level of Item Armor Bonus for (Triggering unit) to (Level of Devotion Aura for (Triggering unit))
 
Status
Not open for further replies.
Top