Calculation about dmg taken goes to mana, ES, and Dmg red

combatman

Diabloii.Net Member
Calculation about dmg taken goes to mana, ES, and Dmg red

Ok, hire we go,... I am tickeling for a time with some questions. How is Dmg taken goes to mana calculated in corelation with Es?IS it calculated before the absorption of es or later?

I will make a short sample:

If a barb hits me with 6k ww dmg, after pvp penality 1/6 we get 1000 pure dmg.

Lets say that i have Es pumped up until 80% this means i will get 200 pure dmg.

Then my storm+shako will do the job abd will cut this 200 dmg for 45% making it 110 taken from my hit points.

Until this point eveything seems clear and resonable.

Now lets say that i socket my viper with an ith rune that gives me 15% dmg taken goes to mana.This will lead us to the equasion:

0.15 *110 =16.5 mana recover after hit, this is after the dmg red and pvp penality. But if we calculate before the dmg reduce:

0.15*200= 30 mana after hit.

Now,...lets asume that dmg taken goes to mana bypas the Energy shield (i know that it doesnt but lets asume) we will take huge mana recovery of 150 man per hit.

Now after the whole math thingy i am asking wich is the right equasion??
Anyone help me plz?

I think is the first but i am not so sure.
 

combatman

Diabloii.Net Member
Omg,i didnt c that in the guide library heh, now i know what this DTM stands for :xrollseye
Thx Melianor :clap:
 

Miladys-Knight

Diabloii.Net Member
When making your calculations this may be helpful to you.....

D2 damage resolution

Attack and damage resolving order:

- Check to_hit chance to see if a hit occurs (to_hit = 100*AR/(AR+DR) * 2*alvl/(alvl+dlvl)), unless the attack is "always hit" (f.i. Guided Arrow)...quite obviously the first step.
- If a hit occurs, check for a block if the attack can be blocked (block can occur from shield or Assassin Weapon Block skill, WB can block a great deal more than a shield can).
- If the attack cannot be blocked or the block check failed, check for evade/avoid/dodge.
Now we get to the point where damage resolving starts.
- Damage dealt is reduced by Battle Cry, Weaken, Decrepify.
- PvP penalty: The damage is divided by 6 in player to player combat. Also modifications like Boss-to-Minion are applied here.
- Energy Shield: This is where ES reduced the damage and mana loss due to ES occurs.
- Bone Armor/Cyclone Armor: Reduction of damage due to these spells is applied, possibly nullifying the damage.
- (Magic) Damage Reduced by X: The damage is reduced by the total amount of (Magic) Damage Reduced by X on the character, possibly nullifying the damage.
- Resistances are applied: This can be either positive or negative and goes for all damage types; fire/cold/lightning/poison/magical/physical. These are the resistances as listed in the character screen, but also the Damage Reduced by X% (Shaftstop and the like) and magical damage (f.i. the crafted safety shield). Lower Resist, Conviction, Amplify Damage, Cold Mastery and any other effects that give -% to resist are applied here. The total resistance % to the type of damage is determined, then the damage is modified by this factor.
- X% Absorb: the damage is reduced by the % absorb to the element in question. The amount that the damage is reduced by is stored and will be used for healing later.
- +X Absorb: the damage is reduced by +X (f.i. 20 for Thundergod's Vigor in case of lightning damage). This can nullify the damage. The amount by which the damage is reduced is again stored (added to the amount from the previous step).
- Apply healing from the previous 2 steps: If damage was absorbed, the amounts is added to life at this point, if possible (you cannot go over full life due to this effect).
- Damage Goes to Mana: Mana is gained based on the amount of damage still present at this stage, if any.
- Damage is subtracted from life. Ouch.
- Mana Burn damage is applied to mana. Technically this step isn't part of damage resolving, but I mention it here to make it clear that it occurs after Damage Goes to Mana, thus DgtM will not generate any mana that will be available after being hit by a mana burner.
 
Top