30 lines
688 B
Plaintext
30 lines
688 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//::
|
||
|
//:: ra_fac_attack_pc.nss
|
||
|
//::
|
||
|
//:: Copyright (c) 2022 Project RATDOG
|
||
|
//::
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Turns the speaking NPC's faction against the
|
||
|
PC & attacks.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//::
|
||
|
//:: Created By: Jaysyn
|
||
|
//:: Created On: 20220619
|
||
|
//::
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
//:: Declare major variables
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oNPC = OBJECT_SELF;
|
||
|
|
||
|
//:: Set the faction to hate the player, then attack the player
|
||
|
AdjustReputation(oPC, oNPC, -100);
|
||
|
DetermineCombatRound(oPC);
|
||
|
}
|