#include "nw_i0_tool" /* Script generated by Lilac Soul's NWN Script Generator, v. 1.5 For download info, please visit: http://www.lilacsoul.revility.com */ //Can go OnDamaged, OnDisturbed, OnSpellCastAt, creature heartbeats, etc. void main() { object oPC = GetLastHostileActor(); if (!GetIsPC(oPC)) return; if (!(GetHitDice(oPC) <= 5)) return; ActionAttack(GetObjectByTag("ArcheryTarget")); if (GetXP(oPC) >= 15000){ SendMessageToPC(oPC, "You feel you are now ready for other challenges"); } else { RewardPartyXP(40, oPC, FALSE); } }