FANDOM


The EffectDamageIncrease() NWScript command creates a damage increase effect, an effect that will increase the damage inflicted in combat by whatever it is applied to. This effect can only be meaningfully applied to creatures, and it should be applied temporarily or permanently (not instantly).

Definition Edit

effect EffectDamageIncrease (int nBonus, int nDamageType=DAMAGE_TYPE_MAGICAL)

int nBonus 
A DAMAGE_BONUS_* constant indicating the amount of bonus damage from this effect.
int nDamageType 
A DAMAGE_TYPE_* constant indicating the damage type of the bonus damage.

Always use a DAMAGE_BONUS_* constant for the first parameter; anything else is likely to result in unintended behavior. (For example, using the number 6 will not result in 6 bonus damage.)

An invalid damage type (such as DAMAGE_TYPE_BASE_WEAPON) supplied as the second parameter defaults to magical damage.

See alsoEdit

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.