Magic Reduction Via Armor

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:
 

Flare

Stops copies me!
Reaction score
662
How does dota do it..

Could you explain what exactly DotA is doing??? Not everyone here plays DotA (including me), so I haven't a clue what you're talking about :p

If you mean reducing spell damage by armor value, it's probably triggered damage. I don't think there is a way to reduce 'normal' spell damage by armor value
 

Squishy

You can change this now in User CP.
Reaction score
127
You could take the Spell Damage Reduction item ability, and make multiple levels of it, with different spell damage reduction levels. Then adjust the level of it based on the unit's armor.
 

Oninuva

You can change this now in User CP.
Reaction score
221
Well, DotA armor reduces magic damage.. And some of DotA skills are melee ones so I don't see how they would trigger so many :S Is there a way around this?
 

Flare

Stops copies me!
Reaction score
662
Here may be the best place to look for an answer. Somewhere, around the forum (I can't find it right now), there is a thread that explains the mechanics of a number of DotA spells. It may also explain this magic damage reduction through armor value

By melee abilities, what exactly do you mean?

EDIT: Here's the thread with the spell mechanics. The subforum may have the info if this thread doesn't

EDIT: Found another thread, which definitely points towards Triggered Damage
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.

Taken from the Armour and Effective HP guide.

Perhaps you were mistaking Hero armor's natural reduction (25% IIRC) of magic damage as armor value reduction?
 

martix

There is no spoon
Reaction score
49
How so completely wrong...
Nowhere in dota does armor reduce spell damage. Only some spells do physical damage. And it is reduced by armor, since its like a normal attack.
You'd have to calculate your armor and one solution is to heal the unit after it takes damage OR custom-damage the unit...
 

Oninuva

You can change this now in User CP.
Reaction score
221
can you explain why does sniper not do pure damage then with assasinate?
 

martix

There is no spoon
Reaction score
49
What do you mean?
All heroes in warcraft(incl. dota) have an innate magic reduction of 25%. All items and abilities only add to that.
So something that does 400 damage to a unit would do 300 to a hero. Quite a lot, and worth to consider when playing.
 

Onnings

New Member
Reaction score
9
Hero abilities do somewhat reduced damage on hero targets. So if the ability claims to do 100 damage to a target, the actual damage caused to heroes is something like 80 instead. I can't find a way to enable / disable it currently, but I'm sure I've seen it somewhere.

Anyhow, maybe that reduction is what you've noticed?
 

Andyoyo

TH.net Regular
Reaction score
22
Above posts are right, spells are reduced by 25% in dota, 30% standard. Some spells in dota are physical damage, such as scatter shot; magical damage, such as finger of death; pure damage such as glaives of wisdom; or reduced by both physical & spell reductions, such as wild axes.

If you have custom spells its more possible because you can set the damage to physical with a trigger, reduction based on armor. You can also set an integer variable to a multiple of your agility or str or int. such as:
Code:
set h = ((agility of (hero) including bonuses) * 2)

then you would need another trigger ran when a spell is cast, with the actions set to heal the damaged unit based on the spell damage. Heal Hero for (h hp * (1/spell max damage))

As far as a complete, bug free system, I'd claim its impossible
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top