#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    */

//Can go OnDamaged, OnDisturbed, OnSpellCastAt, creature heartbeats, etc.
void main()
{

object oPC = GetLastHostileActor();

if (!GetIsPC(oPC)) return;

object oTarget;
oTarget = GetObjectByTag("kuotoan");

AdjustReputation(oPC, oTarget, -100);

oTarget = GetObjectByTag("palaceguarda");

AdjustReputation(oPC, oTarget, -100);

oTarget = GetObjectByTag("palaceguarda");

SetIsTemporaryEnemy(oPC, oTarget);
 GetNextFactionMember(oTarget);
AssignCommand(oTarget, ActionAttack(oPC));

AssignCommand(oTarget, DetermineCombatRound(oPC));

}

