WoR_PRC8/_module/nss/dg_vg_attack.nss

21 lines
315 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
#include "nw_i0_generic"
void main()
{
object oPC = GetLastPerceived();
if (!GetIsPC(oPC)) return;
if (!GetLastPerceptionSeen()) return;
object oTarget;
oTarget = OBJECT_SELF;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}