PRC8_fork/trunk/smp/phs_s_ragec.nss

33 lines
1.0 KiB
Plaintext
Raw Normal View History

/*:://////////////////////////////////////////////
//:: Spell Name Rage: AOE Heartbeat
//:: Spell FileName PHS_S_RageC
//:://////////////////////////////////////////////
//:: Spell Effects Applied / Notes
//:://////////////////////////////////////////////
AOE heartbeat.
The AOE doesn't do anything except for check the validity of its creator,
and the correct variables.
1 If the variable doesn't exsist, then it will first delete all the people
in the array and then remove itself.
2 If the creator isn't valid, it will remove all effects from the spell
created by invalid creators and then delete itself.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "PHS_INC_CONCENTR"
void main()
{
// Get creator and us
object oSelf = OBJECT_SELF;
object oCaster = GetAreaOfEffectCreator(oSelf);
int nSpell = PHS_SPELL_RAGE;
// Do the function
PHS_ConcentrationAOEHeartbeat(oSelf, oCaster, nSpell);
}