WizardryEE/Notes/trunk/newspellbook/tob_event_girwfr.nss
2025-04-30 12:23:15 -04:00

18 lines
493 B
Plaintext

//////////////////////////////////////////////////
// Girallon Windmill Flesh Rip Onhit
// tob_event_girwfr.nss
// Tenjac 10/17/07
//////////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
object oSpellOrigin = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject(oSpellOrigin);
int nHits = GetLocalInt(oTarget, "TOB_GIR_WINDMILL_FR");
nHits ++;
SetLocalInt(oTarget, "TOB_GIR_WINDMILL_FR", nHits);
}