Updated the final boss battle

Updated the final boss battle to be closer to pen and paper.  Created souless minions for final battle.  Updated Wand of Orcus to be closer to pen and paper.  Fixed onAcquire bugs with teleporter stones.  Added several missing magical items that are part of the soulless minions gear.  Fixed respawning web placeable.  Put Oracle & Trabitz on proper factions.  Fixed XP system so powerful foes still grant XP.  Fixed size of Orcus model.  Full compile.
This commit is contained in:
Jaysyn904
2025-03-07 09:12:04 -05:00
parent 905a60ebad
commit 82c1015f4a
197 changed files with 114032 additions and 15791 deletions

View File

@@ -0,0 +1,48 @@
//::///////////////////////////////////////////////
//::
//:: tribitz_att_pc.nss
//::
//:: Copyright (c) 2025 Project RATDOG
//::
//:://////////////////////////////////////////////
/*
Makes speaking NPC attack the PC speaker
*/
//:://////////////////////////////////////////////
//::
//:: Created By: Jaysyn
//:: Created On: 20220618
//::
//:://////////////////////////////////////////////
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oTribitz = OBJECT_SELF;
// Have Tribitz target the PC.
SetIsTemporaryEnemy(oPC, oTribitz);
ActionAttack(oPC);
DetermineCombatRound(oPC);
// Loop through all objects in the area.
object oObject = GetFirstObjectInArea(oTribitz);
while (GetIsObjectValid(oObject))
{
// Check if the object is a creature and isn't the PC or Tribitz.
if (GetObjectType(oObject) == OBJECT_TYPE_CREATURE && oObject != oPC && oObject != oTribitz)
{
// Check if the creature's tag is "GoblinPriestl8a"
if (GetTag(oObject) == "GoblinPriestl8a")
{
// Set PC as temporary enemy for the minion and order it to attack.
SetIsTemporaryEnemy(oPC, oObject);
ActionAttack(oPC);
DetermineCombatRound(oPC);
}
}
oObject = GetNextObjectInArea(oTribitz);
}
}