Added more creature model overrides

Added more creature model overrides.  Added another "boss" creature to the Labyrinth.  Tweaked several other creatures.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-04-07 18:07:07 -04:00
parent bfbbd2f1ac
commit dc236b3073
146 changed files with 122012 additions and 76538 deletions

View File

@@ -16,6 +16,7 @@
*///
//::////////////////////////////////////////////////////////////////////////////
#include "inc_debug"
#include "spawn_main"
//:: Function to process the curse
void ApplyCurse(object oPC)
@@ -23,10 +24,10 @@ void ApplyCurse(object oPC)
//:: Check for exising variable on player
int oldTime = GetLocalInt(oPC, "CurseWillSaveTime");
// Get the current system time in seconds
//:: Get the current system time in seconds
int newTime = (GetTimeHour()*60*60)+(GetTimeMinute()*60)+GetTimeSecond();
// Calculate the time difference in seconds
//:: Calculate the time difference in seconds
int timeDifference = newTime - oldTime;
if (DEBUG)
@@ -36,18 +37,19 @@ void ApplyCurse(object oPC)
SendMessageToPC(oPC, "timeDifference = " + IntToString(timeDifference));
}
//:: Check if the character hasn't made a Fortitude save in the last 3 minutes
//:: Check if the character hasn't made a Will save in the last 3 minutes
if (oldTime == 0 || timeDifference >= 180) // 180 seconds = 3 real-time minutes
{
//:: Check if the character failed the save
if (!WillSave(oPC, 20))
{
//:: Apply a curse
effect eCurse = EffectCurse();
effect eCurse = EffectCurse(1, 1, 1, 1, 1, 1);
effect eVFX = EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE);
effect eVis = EffectVisualEffect(VFX_IMP_REDUCE_ABILITY_SCORE);
effect eLink = EffectLinkEffects(eCurse, eVFX);
eLink = EffectLinkEffects(eCurse, eVis);
eLink = SupernaturalEffect(eLink);
eLink = TagEffect(eLink, "LabyrinthCurse");
@@ -62,7 +64,7 @@ void ApplyCurse(object oPC)
SendMessageToPC(oPC, "Setting CurseWillSaveTime as " + IntToString(newTime));
}
// Send a message to the player
//:: Send a message to the player
SendMessageToPC(oPC, "The very air you breathe in this labyrinth is cursed.");
}
@@ -96,7 +98,7 @@ void main()
ApplyCurse(oPC);
}
// Get the next object in the area
//:: Get the next object in the area
oPC = GetNextObjectInArea(oArea);
}
}