#include "NW_I0_GENERIC"
void main()
{
object oPC = GetPCSpeaker();

object oWraith1 = GetObjectByTag("NWT_Wraith1");
object oWraith2 = GetObjectByTag("NWT_Wraith2");
object oWraith3 = GetObjectByTag("NWT_Wraith3");
object oWraith4 = GetObjectByTag("NWT_Wraith4");
object oWraith5 = GetObjectByTag("NWT_Wraith5");

ChangeToStandardFaction(oWraith1, STANDARD_FACTION_HOSTILE);
ChangeToStandardFaction(oWraith2, STANDARD_FACTION_HOSTILE);
ChangeToStandardFaction(oWraith3, STANDARD_FACTION_HOSTILE);
ChangeToStandardFaction(oWraith4, STANDARD_FACTION_HOSTILE);
ChangeToStandardFaction(oWraith5, STANDARD_FACTION_HOSTILE);

AdjustReputation(GetPCSpeaker(), oWraith1, -100);
AdjustReputation(GetPCSpeaker(), oWraith2, -100);
AdjustReputation(GetPCSpeaker(), oWraith3, -100);
AdjustReputation(GetPCSpeaker(), oWraith4, -100);
AdjustReputation(GetPCSpeaker(), oWraith5, -100);

AssignCommand(oWraith1, DetermineCombatRound());
AssignCommand(oWraith2, DetermineCombatRound());
AssignCommand(oWraith3, DetermineCombatRound());
AssignCommand(oWraith4, DetermineCombatRound());
AssignCommand(oWraith5, DetermineCombatRound());

AssignCommand(oWraith1, ActionAttack(oPC));
AssignCommand(oWraith2, ActionAttack(oPC));
AssignCommand(oWraith3, ActionAttack(oPC));
AssignCommand(oWraith4, ActionAttack(oPC));
AssignCommand(oWraith5, ActionAttack(oPC));
}

