Lankhmar_PRC8/_module/nss/cnv_fact_hsr_mal.nss

27 lines
495 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
#include "nw_i0_generic"
#include "x0_i0_partywide"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Give 10 experience (to party) to the PC.
GiveXPToAll(oPC, 10);
SetLocalString(oPC, "mlfus", "1");
object oMalfus = GetObjectByTag("Malfus");
ChangeToStandardFaction(oMalfus, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
object oBrogus = GetObjectByTag("Brogus");
ChangeToStandardFaction(oBrogus, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
}