Lankhmar_PRC8/_module/nss/cnv_fact_moo.nss

21 lines
368 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "nw_i0_generic"
void main()
{
object oTarget;
object oPC = GetPCSpeaker();
object oMOO = GetObjectByTag("MOO");
ChangeToStandardFaction(oMOO, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
oTarget = GetObjectByTag("MOO");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}