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

Negative Armors/Damage spell?

Status
Not open for further replies.
Level 5
Joined
Mar 6, 2015
Messages
130
hi i am currently working on a custom stats system that sets bonus armor or damage.
its like a function F(xunit,ydamageAmount) its working for positive values because i`ve used Damage Bonus (+20) Spell to add damage it`s a safe method to use because damages stack with each other without any problem but how can i use the same method for negative values the Damage Bonus (+20) ability uses integer for adding damage to a unit and it should be positive value there is another method that can add negative armor to a unit the Frost Armor Ability`s armor data can be negative or positive but i have to create a dummy unit and order to cast this spell it`s not a good method is there any non-casting spell or aura for doing it?
 
Status
Not open for further replies.
Top