Lankhmar_PRC8/_module/nss/cnv_attck_cultis.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

41 lines
960 B
Plaintext

#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));
}