View Single Post
Old 08-15-2008, 07:15 AM   #19
Sophismata
User
 
Join Date: Aug 2008
Posts: 87

Sophismata will become famous soon enough (53)Sophismata will become famous soon enough (53)

Default WC3's Damage System

Damage Categories:
ValueEquivalentTypeApplies Armour Value
UnknownUnknownUniversalNo
NormalNormalPhysicalYes
EnhancedEnhancedPhysicalNo
FireMagic
ColdMagic
LightningMagic
PoisonEnhanced
DiseaseEnahnced
DivineMagic
MagicMagicMagicalNo
SonicMagic
AcidEnhanced
ForceMagic
DeathMagic
MindMagic
PlantMagic
DefensiveMagic
DemolitionEnhanced
Slow PoisonEnhanced
Spirit LinkMagic
Shadow StrikeMagic
UniversalUniversalUniversalNo
Thus, there are four broad damage types:

Collected Damage Types:
TypeApplies Armour ValueClassification
NormalYesPhysical
EnhancedNoPhysical
MagicNoMagical
UniversalNoUniversal

Now, attack types:

Attack Categories:
WorldEdit ValueJASS ValueEquivalent
SpellsATTACK_TYPE_NORMALSpells
NormalATTACK_TYPE_MELEENormal
PierceATTACK_TYPE_PIERCENormal
SiegeATTACK_TYPE_SIEGENormal
MagicATTACK_TYPE_MAGICMagic
ChaosATTACK_TYPE_CHAOSNormal
HeroATTACK_TYPE_HERONormal
Thus, there are three broad attack types:

Collected Attack Types:
TypeNotes
SpellsThis will damage spell-immune enemies if the damage is physical or universal, and will damage ethereal enemies if the damage is magical or universal. The Spell Damage Reduction (AIsr) item ability applies to this (and only this) attack type.
NormalThis will damage spell-immune enemies if the damage is physical or universal, and will never damage ethereal targets (regardless of damage type).
MagicThis will never damage spell-immune targets (regardless of damage type), and will always damage ethereal targets (regardless of damage type).

Finally, Armour Type (as opposed to Armour Value) always applies, no matter the attack type. The values can be changed though.


Summary:

Blizzard's logic is really weird. They mix-and-match Attack and Damage types, when considering resistances and immunities.

Note that even though you can change the values for Ethereal with the Gameplay Constants, only AT:Magic and AT:Spells will have any effect thanks to the hard-coded nature of ethereal targets.


Further edit: forgot to talk about Spirit Link.

Spirit Link converts a proportion of incoming damage into spell damage, and then shares that damage amongst all units with the Spirit Link buff.



Further further edit:

Final Table:
Attack TypeDamage TypeAffects Spell-ImmuneAffects Ethereal
NormalPhysicalYesNo
NormalMagicalNoNo
NormalUniversalYesNo
SpellsPhysicalYesNo
SpellsMagicalNoYes
SpellsUniversalYesYes
MagicPhysicalNoYes
MagicMagicalNoYes
MagicUniversalNoYes
Sophismata is offline   Reply With Quote