ApplyPrismaticEffect(int, object)

Applies a prismatic effect on a creature.

int ApplyPrismaticEffect(
    int nEffect,
    object oTarget
);

Parameters

nEffect

Descibes which effect to apply (See description for details)

oTarget

The object/creature being affected.


Description

Applies an effect (nEffect) of a prismatic cone to oTarget with the appropriate saving throws are checked. Includes visual effects.

nEffect:
1 - Fire
2 - Acid
3 - Electricity
4 - Poison
5 - Paralyze
6 - Confusion
7 - Death



Remarks

Used as a support function to implement the Prismatic Spray spell.


Requirements

#include "nw_s0_prisspray"

Version

1.22

See Also

categories: Sound Effects Functions


 author: Tom Cassiotis