27 lines
495 B
Plaintext
27 lines
495 B
Plaintext
|
|
#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);
|
|
|
|
}
|
|
|