Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#include "nw_i0_generic"
#include "prc_inc_racial"
void main()
{
object oPC = GetLastPerceived();
object oTarget = OBJECT_SELF;
if (!GetIsPC(oPC)) return;
if (!GetLastPerceptionSeen()) return;
if ((MyPRCGetRacialType(oPC)==RACIAL_TYPE_DWARF)||
(MyPRCGetRacialType(oPC)==RACIAL_TYPE_HALFLING)||
(MyPRCGetRacialType(oPC)==RACIAL_TYPE_GNOME))
{
string sDeny="hello friend";
ActionSpeakString(sDeny);
}
else
{
AdjustReputation(oPC, oTarget, -100);
SetIsTemporaryEnemy(oPC, oTarget);
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
}
}