DoMindBlast(int, int, float)

Function for doing mind attacks.

void DoMindBlast(
    int nDC,
    int nDuration,
    float fRange
);

Parameters

nDC

DC of the Save to resist.

nDuration

Rounds the stun effect holds.

fRange

Range of the EffectCone.


Description

This function is the impact script for all illithid's special mind attacks including shifter illithid polymorph attack.

The function rolls will save and stun target if failed, only if stunned already delivers damage. Illithids themselves are immune to their attack.



Remarks

This is the place where one would want to modify shifter's damage. Also, this function is not compatible with custom content as the immunity to this attack is appearance based.


Known Bugs

Missing saving throw visual effect as this function doesn't use MySavingThrow.


Requirements

#include "x2_i0_spells"


Version

???

See Also

functions:  MySavingThrow | TrapDoElectricalDamage
categories:  Spell Casting Effects Functions


author: ShaDoOoW, editor: Mistress, Kookoo