FANDOM


The DAMAGE_POWER_* constants are used in NWScript to indicate the level of damage reduction provided by or pierced by effects created by scripting. (That is, these constants correspond to an attack or enhancement bonus.)

Damage power constants
constant equivalent to
DAMAGE_POWER_NORMAL no enhancement
DAMAGE_POWER_PLUS_ONE +1
DAMAGE_POWER_PLUS_TWO +2
DAMAGE_POWER_PLUS_THREE +3
DAMAGE_POWER_PLUS_FOUR +4
DAMAGE_POWER_PLUS_FIVE +5
DAMAGE_POWER_PLUS_SIX +6
DAMAGE_POWER_PLUS_SEVEN +7
DAMAGE_POWER_PLUS_EIGHT +8
DAMAGE_POWER_PLUS_NINE +9
DAMAGE_POWER_PLUS_TEN +10
DAMAGE_POWER_PLUS_ELEVEN +11
DAMAGE_POWER_PLUS_TWELVE +12
DAMAGE_POWER_PLUS_THIRTEEN +13
DAMAGE_POWER_PLUS_FOURTEEN +14
DAMAGE_POWER_PLUS_FIFTEEN +15
DAMAGE_POWER_PLUS_SIXTEEN +16
DAMAGE_POWER_PLUS_SEVENTEEN +17
DAMAGE_POWER_PLUS_EIGHTEEN +18
DAMAGE_POWER_PLUS_NINETEEN +19
DAMAGE_POWER_PLUS_TWENTY +20
DAMAGE_POWER_ENERGY unknown

It is possible that DAMAGE_POWER_ENERGY was intended to indicate damage that would penetrate all levels of damage reduction. However, since the relevant parameter is ignored when inflicting damage via a script, the speculation is academic.

See also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.