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

24 lines
383 B
Plaintext

#include "nw_i0_generic"
void main()
{
object oTarget;
object oPC = GetPCSpeaker();
object oChefmh = GetObjectByTag("Chefmh");
ChangeToStandardFaction(oChefmh, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
oTarget = GetObjectByTag("Chefmh");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}