PRC8/nwn/nwnprc/trunk/smp/xxx_fightthemec.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

31 lines
1.0 KiB
Plaintext

/*:://////////////////////////////////////////////
//:: Spell Name Fight Theme - On Heartbeat
//:: Spell FileName XXX_S_FightThemeC
//:://////////////////////////////////////////////
//:: In Game Spell desctiption
//:://////////////////////////////////////////////
How is "one fight" determined? Well, to be exact, it is until an AOE
placed on each person decides the person it is on is dead, or not in
combat (!GetIsInCombat()) for whatever reason (might be moved, away, killed
everyone ETC).
Heartbeat script checks the above.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "SMP_INC_SPELLS"
void main()
{
// Define ourselves.
object oSelf = OBJECT_SELF;
// Check for combat, or deadness
if(GetIsDead(oSelf) || !GetIsInCombat(oSelf))
{
// Remove previous effects of any type form this spell - including this VFX
SMP_RemoveSpellEffectsFromTarget(SMP_SPELL_FIGHT_THEME, oSelf);
}
}