• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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