Alangara_PRC8/_module/nss/ke_attackpc2.nss

29 lines
514 B
Plaintext
Raw Normal View History

2024-06-05 21:21:06 -04:00
#include "nw_i0_generic"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = OBJECT_SELF;
AdjustReputation(oPC, oTarget, -100);
oTarget = OBJECT_SELF;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}