Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#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);
}
}