HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how to make Armor % reduction reduce spell damage?

05-08-2006, 07:12 PM#1
Exilus
My game is mainly based on spell casting, and i would like the spells to be reduced on the armor just like normal damage does.
a spell wich does 200 damage will do 200 damage on "Normal Defense" no matter what the % reduction given by the armor number is. i need to make all my spell damage do NORMAL damage.

how can i do this?
05-08-2006, 07:14 PM#2
Mezzer
Sry, missunderstood you, like anitarf said in the next post
05-08-2006, 07:14 PM#3
Anitarf
By making triggered spells with triggered damage, or by making a triggered spell resistance system using spell damage reduction abilities.
05-08-2006, 08:50 PM#4
karukef
Or much easier, give all units a version of the item spellresistance ability of 101 levels 0-100% resistance. Then use the official formula to set this ability to the correct level:

Quote:
For positive Armor, damage reduction =((armor)*0.06)/(1+0.06*(armor))
For negative Armor, it is damage increase = 2-0.94^(-armor) since you take more damage for negative armor scores.

That is, 1 armor gives 6% (level 6) of the ability etc.

It can be further improved by using two abilities of 21 levels each, -10% to 10% and -100% to 100% (so that you can add them together and avoid having hundreds of levels of an ability)
05-09-2006, 02:43 PM#5
blu_da_noob
Better yet, would be a binary system, allowing -100% to 100% with only 8 abilities.
05-09-2006, 04:03 PM#6
Captain Griffen
And that is better than one with two levels giving -100 to 100? How do they stack, by the way? I thought that when they did stack they had diminishing returns in % terms (but exponential returns in EHP).