PWE_PRC8/_module/nss/fireballshooting.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

10 lines
245 B
Plaintext

void main()
{
if(GetLocalInt(OBJECT_SELF, "fired") == 0){
SetLocalInt(OBJECT_SELF, "fired", 1);
ActionCastSpellAtObject(SPELL_FIREBALL, GetObjectByTag("target"), METAMAGIC_ANY, TRUE);
}else{
SetLocalInt(OBJECT_SELF, "fired", 0);
}
}