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,62 @@
///////////////////////////////////////
// Door Script - Allows only rogues to enter
//
////////////////////////////////////////
void main()
{
DelayCommand(10.0, ActionCloseDoor(OBJECT_SELF));
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
location lLoc = GetLocation(oTarget);
location lLoc2 = GetLocation(GetObjectByTag("WP_Throw_out"));
// Check if the PC has any levels in Rogue (works across all 8 class slots)
if (GetLevelByClass(CLASS_TYPE_ROGUE, oClicker) > 0)
AssignCommand(oClicker, JumpToLocation(lLoc));
else
AssignCommand(oClicker, JumpToLocation(lLoc2));
}
/* void main()
{
DelayCommand(10.0, ActionCloseDoor(OBJECT_SELF));
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
location lLoc = GetLocation(oTarget);
location lLoc2 = GetLocation(GetObjectByTag("WP_Throw_out"));
int oClass_1 = GetClassByPosition(1, oClicker);
int oClass_2 = GetClassByPosition(2, oClicker);
int oClass_3 = GetClassByPosition(3, oClicker);
int iPassed = 0;
if ((oClass_1==CLASS_TYPE_ROGUE)||(oClass_1==CLASS_TYPE_ROGUE))
iPassed = 1 ;
if((iPassed == 0) && (oClass_1==CLASS_TYPE_ROGUE))
iPassed = 1 ;
if ((oClass_2==CLASS_TYPE_ROGUE)||(oClass_2==CLASS_TYPE_ROGUE))
iPassed = 1 ;
if((iPassed == 0) && (oClass_2==CLASS_TYPE_ROGUE))
iPassed = 1 ;
if ((oClass_3==CLASS_TYPE_ROGUE)||(oClass_3==CLASS_TYPE_ROGUE))
iPassed = 1 ;
if((iPassed == 0) && (oClass_3==CLASS_TYPE_ROGUE))
iPassed = 1 ;
switch (iPassed)
{
case 0:
AssignCommand(oClicker,JumpToLocation(lLoc2));
break;
case 1:
AssignCommand(oClicker,JumpToLocation(lLoc));
break;
}
} */