• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Ability: Magic Defense / Activision-Blizzard sux

Status
Not open for further replies.
Level 17
Joined
Mar 16, 2008
Messages
635
I'm trying to make this ability reduce magic damage taken by 20% but it seems the data fields in object editor have no effect (screenshot). This ability either makes the target immune or not, there's no 33% reduction. I'm trying to make a turn on/off ability that reduces speed by 90% and reduces magic damage by 20% when it's active.

1634411216041.png
 
Level 18
Joined
Feb 27, 2019
Messages
521
This reply will speak in rough terms.

Get used to getting taken on a illogical trip by blizzard/activision. Youd think magic damage redution means you get magic damage reduction but for some reason it doesnt. The best solution to avoid most default ways how things work is to trigger the magic resistance yourself, that can be done with damage event, unit indexer and a magic resist variable array.

If damagetype = spell then set damageamt = damageamt x magic resist[custom value of unit].

There is also at least two default ways to get magic resistance. Theres the Items that give Magic Resistance, then theres the ablility called Elunes Grace which gives Magic Resistance. These two stack.
 
Level 18
Joined
Feb 27, 2019
Messages
521
Sure Elune's Grace can be used to recieve Magic Resistance, but why limit oneself to only two types of Magic Resistance when one can use damage engine and a variable array to keep track of a much more flexible Magic Resistance instead.
 
Status
Not open for further replies.
Top