Initial commit
Initial commit [v9.7]
This commit is contained in:
53
_module/nss/fact_hst_wlmbgrd.nss
Normal file
53
_module/nss/fact_hst_wlmbgrd.nss
Normal file
@@ -0,0 +1,53 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
object owlmbgrd1 = GetObjectByTag("wlmbgrd1");
|
||||
|
||||
ChangeToStandardFaction(owlmbgrd1, STANDARD_FACTION_HOSTILE);
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
ActionAttack(oPC);
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("wlmbgrd1");
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
|
||||
object owlmbgrd2 = GetObjectByTag("wlmbgrd2");
|
||||
|
||||
ChangeToStandardFaction(owlmbgrd2, STANDARD_FACTION_HOSTILE);
|
||||
|
||||
ActionAttack(oPC);
|
||||
|
||||
oTarget = GetObjectByTag("wlmbgrd2");
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
|
||||
|
||||
object oLordWelm = GetObjectByTag("LordWelm");
|
||||
|
||||
ChangeToStandardFaction(oLordWelm, STANDARD_FACTION_HOSTILE);
|
||||
|
||||
ActionAttack(oPC);
|
||||
|
||||
oTarget = GetObjectByTag("LordWelm");
|
||||
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user