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

Need Help(adding magic resistance)

Level 3
Joined
Feb 10, 2026
Messages
11
Hello everyone!

Have a question,maybe a simple or even silly, but:

I've made a skill based on mountain giants dmg absorb that have 3 levels, and i want to add to it a magic resiatance.
I think that can be done only via triggers, so I've alredy made 3 separate skills that gives 11/22/33% of magic resiatanse
So question is how can I apply magic resistance that will grow when bmg absorb ability are lvlup'ed?

(And if there is easier way I'll be grateful to anyone who will help me to figure it out)

P.S. Appologies for my incompetency I'm absolutley new to all this stuff
 
Hello there!
I've made an example for you that might work.:wink:

  • Hardened Skin And Magic Resistance
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Hardened Skin (Custom)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Hardened Skin (Custom) for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Add Spell Damage Reduction (Custom) to (Triggering unit)
        • Else - Actions
          • Unit - Set level of Spell Damage Reduction (Custom) for (Triggering unit) to (Level of Hardened Skin (Custom) for (Triggering unit))

I attached the test map here so you can test it.
Learn the spell for each hero and then press the escape button.
:peasant-ok-hand:
 

Attachments

Hello there!
I've made an example for you that might work.:wink:

  • Hardened Skin And Magic Resistance
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Hardened Skin (Custom)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Hardened Skin (Custom) for (Triggering unit)) Equal to 1
        • Then - Actions
          • Unit - Add Spell Damage Reduction (Custom) to (Triggering unit)
        • Else - Actions
          • Unit - Set level of Spell Damage Reduction (Custom) for (Triggering unit) to (Level of Hardened Skin (Custom) for (Triggering unit))

I attached the test map here so you can test it.
Learn the spell for each hero and then press the escape button.
:peasant-ok-hand:
Thanks a lot! Works just as supposed to:infl_thumbs_up:
 
Back
Top