Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/spells/sp_rain_ffishC.nss
Normal file
22
nwn/nwnprc/trunk/spells/sp_rain_ffishC.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
/////////////////////////////////////////////////////////////
|
||||
// Rain of Frogs or Fish AoE Heartbeat
|
||||
// sp_rain_ffishC.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))
|
||||
{
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(d3(1), DAMAGE_TYPE_BLUDGEONING), oTarget);
|
||||
|
||||
oTarget = MyNextObjectInShape(SHAPE_SPHERE, 500.0f, lLoc, FALSE, OBJECT_TYPE_CREATURE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user