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
);

Parameters

nPower

How much to increase the attack and damage by.

nDamagePower

DAMAGE_POWER_*


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.



Remarks

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


Requirements

#include "x0_i0_spells"


Version

???

See Also

constants:  DAMAGE_POWER_*
categories:  Spells Functions


author: Mistress