Initial commit

Initial commit [v9.7]
This commit is contained in:
Jaysyn904
2025-04-03 12:54:47 -04:00
parent ff5835fcc7
commit ebc0c6a9b2
11298 changed files with 9432842 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
#include "nw_i0_generic"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oActor;
SetLocalString(oPC, "grilli2", "1");
object oGrilli = GetObjectByTag("grilli3");
ChangeToStandardFaction(oGrilli, STANDARD_FACTION_HOSTILE);
ActionAttack(oPC);
object oBleeder = GetObjectByTag("Bleeder");
ChangeToStandardFaction(oBleeder, STANDARD_FACTION_HOSTILE);
// Attack the PC.
SetIsTemporaryEnemy(oPC, GetNearestObjectByTag("Bleeder"));
AssignCommand(GetNearestObjectByTag("Bleeder"), DetermineCombatRound(oPC));
// Have "" cast Caltrops.
oActor = GetObjectByTag("grilli3xbow");
AssignCommand(oActor, ActionCastSpellAtObject(SPELL_GRENADE_CALTROPS, oPC, METAMAGIC_ANY, TRUE, 0, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
}