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

[General] Negative armor and how to disable it

Status
Not open for further replies.
Level 3
Joined
Mar 31, 2015
Messages
28
Is there a way to disable negative armor values?

All the effects (Orb of Corruption, Acid Bomb, etc.) should still reduce armor but never bellow zero. I'm certain that, by default, minimum armor is -20 or -71% damage resistance, and everything after only updates text but the damage resistance stays at -71%.

Is there an easy way to move the cap from -20 to 0? Is it somewhere in Gameplay Constants, or in something like MiscData, or is that hardcoded? And if it truly is hardcoded, is there an workaround?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Is there an easy way to move the cap from -20 to 0? Is it somewhere in Gameplay Constants, or in something like MiscData, or is that hardcoded? And if it truly is hardcoded, is there an workaround?
As far as I am aware it is hard coded. So no easy work around...

Hard work around would be to track all armor values and use a system to raise/lower armor. The system could then implement a minimum armor value of 0.
 
Status
Not open for further replies.
Top