• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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