Lankhmar_PRC8/_module/nss/cnv_attck_cultis.nss

41 lines
960 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oCultist = GetObjectByTag("Cultist");
ChangeToStandardFaction(oCultist, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
object oTarget;
oTarget = GetObjectByTag("Cultist");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
//
object oLiss = GetObjectByTag("Liss");
ChangeToStandardFaction(oLiss, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
oTarget = GetObjectByTag("Liss");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
//
object oVarney = GetObjectByTag("Varney");
ChangeToStandardFaction(oVarney, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
oTarget = GetObjectByTag("Varney");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}