Bloody Well Right
kinds and order of damage
There are different kinds of damage and states in the game. According to the state of an unit the application of some damage varies. The kind of unit also affects the amount of damage it takes from another unit.
some states of an unit
The state of an unit is important, because some kinds of damage will be stronger or weaker against that unit. Some states are exclusive, some additive. Following a list of states with meanings in damage order.
These are not all truly states taken from States.txt, take it as illustrational info.
- poisoned
A unit is poisoned when it suffers poison damage. Life regeneration of monsters, pets and hirelings is stopped during poisoning (it is not set off against poison). Poison is exclusive, only one poisoned state is active at any time. If a poisoned unit is hit by another poisonous attack poison's bite damage (damage per frame) is checked. If new bite damage is higher, the new poisoning is applied, otherwise it's skipped with exception of the very first frame. - ill
this state looks graphically similar to poisoned and is very likely the same. The only difference is, poisoned and ill are not exclusive, both states can be active the same time. Illness can only be caused by Druid's Rabies skill. - suffers Open Wounds
the effect is quite similar to poison, but it is no poison damage and it can't be resisted. This state can only step in against any unit other than a player when the unit was already in life regeneration (already hurt); versus players it may always work. Duration is fix at eight seconds, and the state is additive to all others. - without regeneration
prevents the automatic life regeneration of units other than players. All states above will cause this, and in addition the property Prevent Monster Heal. This has no effect on further damage order reflections. - slowed
a slowed unit suffers according to another FAQtoid either- cold damage,
- a slowing effect from enemy's gear,
- a Decrepify curse
or - Holy Freeze aura
- does an animation
an unit may run, block or recover from a hit and more, but this has no effect on further damage order reflections. But a character may only play one animation a time. - cursed
some units, namely Necromancers and some monsters can put curses upon other units, also other character classes have curse-like skills. Of our interest are three differences.- Curse effects which modify native decision routines (AI bending effects) have no effect on further damage order reflections.
- Curse effects which modify enemy's offensive possibilities, which also have no effect on further damage order reflections.
- Curse effects which modify enemy's defensive possibilities, in lowering their defense or resistances.
kinds of damage
Several kinds of damage exist, most of them take immediately effect, some work over time. Some kinds won't damage player's red health bubble but mana or stamina. The listed kinds of damage all have FAQtoid chapters of their own, so I won't go into details here.
- Crushing Blow
will diminish enemy's health by a certain given percentage. Positive values of physical resistance will decrease the effect, but negative ones won't increase it. - physical damage
is commonly delivered via blowing, throwing or shooting, but some spells also deal it.- Assassin
- Psycho Hammer
- Mindblast
- Barbarian
- War Cry
- Druid
- Shock Wave
- Twister
- Tornado
- Molten Boulder
- Volcano
- Necromancer
- Corpse Explosion
Some special rules apply to Assassin's blade skills, reflected damage via thorny effects and the item property 'attacker takes damage of xx', but all of them are pure physical damage. - Assassin
- Elemental damage
is subdivided in- fire damage
- cold damage
- lightning damage,
and furthermore - magic damage
- Poison damage
works over time and is, Rabies aside, exclusive. It's composed of damage and duration. Players and hirelings have different resistances for both components, other units inherit poison length reduce via poison resistance. - Open Wounds
works quite similar to poison damage, but is a very own kind of damage. There is no resistance.
Some other kinds of damage won't interest us further, since they have no effect on damage order.
- Mana damage
decreases mana instead of life and obviously only works against players. - Stamina damage
is delivered mainly by insects and works for common sense only against players, too. - A Fire Shrine
causes life loss of half of actual life for all units in range, there is no resistance. Despite the name this is no fire damage. - burning damage,
is not activated in the game. Despite its name it also is no fire damage.
damage in Diablo II
There is a certain range between minimum and maximum damage of all spells and attacks, but the exactly delivered amount does not vary for each spell but is calculated individually for each opponent. So any spell or attack with some area of effect ability may cause different damage to the units in area (before resistances, that is!).
All of the damage calculation happens when the enemy is hit!
No matter if several enemies are hit by one attack due to the attack itself or due to some passive skill or item property.
Some examples follow. Despite the examples cover arrows other attacks and spells follow the same scheme.
shooting an arrow
A common bow attack emits an arrow upon the enemy. This arrow's damage in potentia is displayed in character screen as, say, 10 to 15 damage points. So the arrow will deliver a value from { 10, 11, 12, 13, 14, 15 }, each value with same probability. If there's a chance of doing a critical hit the set is { 10, ..., 15, 20, 22, 24, 26, 28, 30 }, the probability for each value shifts with the actual CS chance. If the chance is 100%, the lower values are skipped.
This arrow can - without usage of other properties - just hit one enemy, so it doesn't matter if the value is token when the shoot is done or when the arrow actually hits.
Take Amazon's Pierce skill or the item property Piercing Attack and the arrow can hurt another enemy behind the first one. Here's a big difference in assumption of damage determination when shooting or when being hit.
All damage calculations are in fact target-based. First there is a CtH check, then damage is calculated, then the check for piercing is done. If the latter is successful the arrow travels to the second enemy, and the cycle starts again. An arrow may pierce up to four times, thus it can hurt up to five enemies, provided its range doesn't expire before.
If the CtH check fails on an enemy piercing isn't checked anymore. The arrow 'drops onto the ground'. If the CtH check is successful, but piercing check fails, the arrow 'gets stuck in the enemy'.
We can expand this example to other 'chance' effects like Crushing Blow, Open Wounds, Chance to Cast stuff, Hit Blinds Target, Hit Freezes Target and Hit Causes Monster to Flee.
We add, say, a Flee chance, and this one will be checked separately on every enemy which was hit by that sole arrow.
Take Strafe or Multiple Shot instead of a standard arrow. Every arrow of a salve or spread gets its individual check for hitting, damage etc. Add piercing, and every enemy gets its individual check, even those suffering damage from the same arrow of a salve or spread.
Of course this also happens with bolts and throwing weapons. Just for the sake of completeness.
damage conversion
There's a bunch of skills which convert physical damage to elemental damage. The mechanism stays the same, the conversion step is just added.
area damage of a single effect
Amazon's Exploding Arrow skill causes a little explosion when it collides, let's assume 20 to 30 fire damage for that one. Every enemy in explosion area suffers a fire damage value from set { 20, 21, ..., 29, 30 } individually. The value of fire damage is not set once for that explosion and every enemy in range does not suffer the same fire damage.
area damage of a multiple effect
Let's have a look at Immolation Arrow, especially its tiny fire patch on the ground (the explosion pretty much works similar to the above ExA description).
This patch is composed quite similar to sorceress' Fire Wall of several tiny flames. Each flame has a set of fire damage values from minimum to maximum. Each enemy upon that patch suffers individual damage via each flame he's standing on.
I've omitted up to this paragraph all modifications the enemy does to his suffered damage, thus defense, blocking, resistances, several skills and so on. But even enemies of the very same kind, say cows, will suffer damage individually, since the token values for damage are calculated when hit, not when arrow is fired.
Our damage order so far lists:
- weapon damage includion Enhanced Damage (%ED) on the weapon itself is calculated
- add all boni to minimum and maximum damage from equipment 1
- enhance result with all percentage Enhanced Damage not on the weapon; this is a sum of %ED from equipment (without weapon), %ED from own skills, %ED from weapon-based strength and dexterity modification and %ED from friendly sources like aurae and Combat Shrine, also fill in every source (including weapon) of percentage bonus damage versus undead or demons when encountering those types
- now the chance of doing a critical hit is checked
- some skills 2 will convert physical to other damage
- add plain elemental damage from skills and equipment
- some skills 3 suffer a penalty
1 except
2 those
- Lightning Bolt
- Magical Arrow (also as special arrow property)
- Fire Arrow
- Cold Arrow
- Berserk
- Concentrate (if synergized via Berserk)
- Frenzy (if synergized via Berserk)
3 those
- Lightning Bolt
- Multiple Shot
- Strafe
- Assassin's blade skills
modification of suffered damage
Delivered damage is calculated individually for any enemy.
Now we have some skills and properties left over. I'll describe physically delivered attacks, but spells work similar, with less variables.
incoming damage
- most physically delivered attacks have to check Chance to Hit, if the check fails no harm is done 4, #
- physically delivered attacks will cause a blocking check when a shield is in the way #
- Amazon's evasive skills are checked
- 'XvX' factor is calculated, some units suffer penalties when fighting certain other units 5
- some protecting skills may step in 6
- a Crushing Blow is done, if its check has success #
- check freeze or chill
- determine value from damage set
- physical and magical damage reduction step in
- apply resistances, they're maybe affected by attacker's skills or items
- percentage absorption of defender steps in
- straight absorption of defender steps in
- check other chance effects (I don't know about priorities of Chance to Cast stuff, but curses on hit indicate their effect is applied after damage is done)
XvX | defender | ||||||
---|---|---|---|---|---|---|---|
player | hireling | golem | pets * | bosses ** | monster | ||
* all summoned creatures without golems ** all bosses from MonStats.txt *** in Normal, Nightmare, Hell | |||||||
A t t a c k e r | player | 17% | 100% | 100% | 100% | 100% | 100% |
hireling | 17% | 25% | 100% | 100% | 50%, 35%, 25%*** | 100% | |
golem pets * | 17% | 100% | 100% | 100% | 100% | 100% | |
boss | 100% | 100% | 300% | 500% | - | 100% | |
monster | 100% | 100% | 100% | 100% | 100% | 100% |
4 not when attack has autohit
- Guided Arrow
- Lightning Fury
- Lightning Bolt
- Smite
- and also not against running characters
5 see table
6 those
- Energy Shield
- Bone Armor
- Cyclone Armor
# not against spells
An ingame check prevents negative damage at any time.
Two more effects should be listed.
- the defender gains mana, if he's a player character and wears items with the 'vulpine' affix, also known as damage taken goes to mana and suffered damage was physically delivered and of physical kind
- the attacker suffers thorns damage, if he delivered physical damage in close combat (melee) and the defender used thornsy effects;
Bone Armor doesn't work against thorns damage.
see also:
- physical damage
- elemental damage
- Chance to Hit
- Chance to Cast stuff
- critical hits
- Open Wounds
- Crushing Blow
- some skills
- MA & CS in Basin
- damage order at tommi's, chapter 4
Credits
- adeyke
- Deaddy
- HunkyDory
- Jarulf
- Ruvanal
- tommi
Contact me via E-Mail, if you like.