Lankhmar_PRC8/_module/nss/cnv_fact_drunkfi.nss

21 lines
404 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 oDrunkFighter = GetObjectByTag("DrunkFighter");
ChangeToStandardFaction(oDrunkFighter, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
oTarget = GetObjectByTag("DrunkFighter");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}