• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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