• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How can I make spells ignore the damage reduction from armor?

Status
Not open for further replies.
Level 11
Joined
Nov 15, 2007
Messages
781
Spells already ignore armor value. They're only reduced by spell damage reduction (from the Runed Bracers item or abilities based on it) and armor type. By default, hero and divine armor types reduce spell damage. You can change this in gameplay constants.

As far as I know the only way to deal damage that is reduced by NOTHING - truly pure damage - is to alter the unit's health directly with triggers. You can perform a check to see if the health reduction would kill the target (greater than their current health), and if so, instead set the target's health to 1 and deal 10000 damage of attack type spell and damage type universal (overkill in even the most extreme circumstances). Spell damage is reduced by spell damage reduction even if the damage type is universal, but it will damage magic immune and ethereal units; physical damage will not damage ethereal units even if the damage type is universal; magic damage will not damage magic immune units even if the damage type is universal.
 
Status
Not open for further replies.
Top