PRC8/nwn/nwnprc/trunk/spells/sp_violet_rainC.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

21 lines
811 B
Plaintext

///////////////////////////////////////////////////////////////
// Violet Rain AoE HB
// sp_violet_rainC.nss
///////////////////////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
location lLoc = GetLocation(OBJECT_SELF);
int nType;
float fDur;
object oTarget = MyFirstObjectInShape(SHAPE_SPHERE, 500.0f, lLoc, FALSE, OBJECT_TYPE_CREATURE);
while(GetIsObjectValid(oTarget))
{
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_BRIGHT_LIGHT_INDIGO_PULSE_SLOW), oTarget, HoursToSeconds(24));
oTarget = MyNextObjectInShape(SHAPE_SPHERE, 500.0f, lLoc, FALSE, OBJECT_TYPE_CREATURE);
}
}