DAMAGE_TYPE_* Constant Group

The type of damage that can be inflicted.



Constants

ConstantDescription
DAMAGE_TYPE_ACID
Damage inflicted by acid.
DAMAGE_TYPE_BASE_WEAPON
In the words of "nwscript.nss", although it is not mentioned in the 1.64 patch notes: The base weapon damage is the base damage delivered by the weapon before any additional types of damage (e.g. fire) have been added. This is to be used only with GetDamageDealtByType(), and is not valid for EffectDamage().
DAMAGE_TYPE_BLUDGEONING
Damage inflicted by bludgeoning (eg. club).
DAMAGE_TYPE_COLD
Damage inflicted by cold and cold based attacks.
DAMAGE_TYPE_DIVINE
Damage inflicted by divine based attacks.
DAMAGE_TYPE_ELECTRICAL
Damage inflicted by electrical based attacks.
DAMAGE_TYPE_FIRE
Damage inflicted by fire and fire based attacks.
DAMAGE_TYPE_MAGICAL
Damage inflicted by magical effects.
DAMAGE_TYPE_NEGATIVE
Damage inflicted by negative attacks.
DAMAGE_TYPE_PIERCING
Damage inflicted by piercing attacks. Value = 2.
DAMAGE_TYPE_POSITIVE
Damage inflicted by positive attacks.
DAMAGE_TYPE_SLASHING
Damage dealt from a slashing weapon, such as a sword or hand axe.
DAMAGE_TYPE_SONIC
Damage inflicted by sonic attacks.

See Also

functions: EffectACDecrease | EffectACIncrease | EffectDamage | EffectDamageDecrease | EffectDamageImmunityDecrease | EffectDamageImmunityIncrease | EffectDamageIncrease | EffectDamageResistance | EffectDamageShield | GetDamageDealtByType


 Send comments on this topic.