• 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.

Detection amount of armor

Status
Not open for further replies.
Level 10
Joined
Apr 9, 2004
Messages
502
I was working on a system to quickly and easily detect a units armor but I have come across an impass and there are 2 solutions which i am considering.

firstly, is there a way to use logarithms with the editor via .GUI or custom script (i found nothing amongst the .GUI commands)

Secondly, how does normal armor stack in-game, as in, what is the algorithm that determines the % of damage reduction based on armor?
 
Status
Not open for further replies.
Top