Oninuva
You can change this now in User CP.
- Reaction score
- 221
I need assistance in making system to have armor reduce magic attacks a.k.a. spells. Anyone here have this sort of knowledge, please post. :thup:
How does dota do it..
Facts
Armour does not stack with diminishing returns. It is damage reduction that stacks with diminishing returns. This will be proven later.
Damage reduction from armour is different from armour type reduction. They are independent of each other.
Critical strike does not ignore armour.
Melee bashes are reduced by armour type spell resistance.
Ranged bashes are counted just as normal damage.
Spell damage ignores armour but is reduced by spell damage resistance.
Formula for damage reduction is :
Damage Reduction = ([armor]*0.06)/(1+0.06*[armor])
The formula above only applies for positive values. For negative values, it is calculated differently.
Formula for damage increase (negative armour):
Damage Increase = 2 - 0.94^(-[armor]) or Damage Reduction = 0.94^(-[armour]) - 1
Both formula will give you the same answer, with the first one as positive value and second one as negative.
set h = ((agility of (hero) including bonuses) * 2)