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

2 spell questions

Status
Not open for further replies.
Level 11
Joined
Aug 10, 2008
Messages
1,912
I'm having trouble with there 2 spells, A spell in a 3 level Aura that:
Level 1 - Increases damage dealt to Undead by 4%
Level 2 - Increases damage dealt to Undead by 7%
Level 3 - Increases damage dealt to Undead by 10%
the Other is a 1 Level spell that causes nearby enemies to flee.
 
Ive got it ! Using devotion aura as an example, Note 100/7 is reallllyy long so i took a inperfect number so its not 100% 7% but it should work. Theres also map with the trigger in it if you dont understand. ^^

  • Events: A Unit is attacked
  • Conditions:(((Attacked unit) is Undead) Equal to True) and (((Attacking unit has buff Devotion Aura) Equal to True)
  • Actions:
  • If (All Conditions is true) Then do (Then Actions) else do (Else Actions) If Conditions
  • (Level of Devotion Aura for (Attacking unit)) Equal to 1
  • Then Actions
  • Unit - Cause (Attacking unit) to damage (Attacked Unit), dealing ((Damage Taken) / 25.00) damage of attack type Normal and damage type Normal
  • Else Actions:
  • If (All Conditions is true) Then do (Then Actions) else do (Else Actions) If Conditions
  • (Level of Devotion Aura for (Attacking unit)) Equal to 2
  • Then Actions
  • Unit - Cause (Attacking unit) to damage (Attacked Unit), dealing ((Damage Taken) / 14.00) damage of attack type Normal and damage type Normal
  • Else Actions:
  • If (All Conditions is true) Then do (Then Actions) else do (Else Actions) If Conditions
  • (Level of Devotion Aura for (Attacking unit)) Equal to 3
  • Then Actions
  • Unit - Cause (Attacking unit) to damage (Attacked Unit), dealing ((Damage Taken) / 10.00) damage of attack type Normal and damage type Normal
  • Else Actions:
 

Attachments

Status
Not open for further replies.
Back
Top