DoMagicFang

From NWN Lexicon


Contents

[edit] DoMagicFang(int, int)

Improves an animal companion's attack and damage and the ability to hit magically protected creatures.

void DoMagicFang(
    int nPower,
    int nDamagePower
);

[edit] Parameters

nPower

How much to increase the attack and damage by.

nDamagePower

DAMAGE_POWER_*


[edit] Description

Improves an animal companion's attack and damage and the ability to hit magically protected creatures.

Increases the animal companion's attack and damage rolls by a nPower. Also increases their damage reduction by a nPower/+nDamagePower.

Checks to see if a valid animal companion exists to apply the effects to. If none exists, then the spell is wasted.



[edit] Remarks

The duration takes into account the caster's level and if they have the extend spell feat.


[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

constants: 

DAMAGE_POWER_*



author: Mistress

Personal tools
Categories