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

Magic resistance for hero?

Status
Not open for further replies.
There's an item ability for the runed bracers which passively adds magic resistance. In "Abilities" check under "Special" - "Items". It's called Spell Magic Reduction. Also, there's a spell called Magic Defense, but it's an active spell. It's like Defense but with magic resistance rather than ranged unit damage. I hope this helps :).
 
Well, you need to make a passive spell, based on Bash for example with values set to 0 and, when the hero learns it:
  • Trigger
  • Events
    • Unit - A unit learns a skill
  • Conditions
    • (Learned Hero skill) Equal to X
  • Actions
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (Level of (Learned Hero skill)) Equal to 1
      • Then - Actions
        • Unit - Add (Ruined Bracers) to (Triggering unit)
      • Else - Actions
        • Unit - Set level of (Ruined Bracers for (Triggering unit)) to (Level of X for (Triggering unit)
Make multiple levels for the Ruined Bracers. If they don't level up, add the Ruined bracers ability in a Spell Book and
  • Trig
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • For each (Integer A) from 1 to 12, do (Actions)
      • Loop - Actions
        • Player - Disable (Spell Book) for Player(IntegerA)
 
Status
Not open for further replies.
Back
Top