Shargast_PRC8/_module/Chapter 2/nss/holyauratrigger.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

27 lines
478 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (d100()>30)
return;
object oCaster;
oCaster = OBJECT_SELF;
object oTarget;
oTarget = oPC;
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_HOLY_AURA, oTarget, METAMAGIC_ANY, TRUE, 25, PROJECTILE_PATH_TYPE_DEFAULT, FALSE));
}