Removed Skullkeep Forge

Removed Skullkeep Forge system (originally by Winterknight and Asbury)  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-11-12 15:25:30 -05:00
parent 80d4b7c4d6
commit 1c5cbbe7ea
465 changed files with 12458 additions and 30265 deletions

View File

@@ -11,7 +11,7 @@
#include "prc_x2_itemprop"
#include "prc_inc_newip"
#include "nw_i0_generic"
//#include "nw_i0_generic"
#include "inc_itm_appear"
#include "inc_epicspells"
@@ -217,26 +217,42 @@ void SetThreatLevel(object oMob)
string sName;
string cName = GetName(oMob);
if (iHD>0&&iHD<11) iRange=1; // lvl 1-10
if (iHD>10&&iHD<19) iRange=2; // lvl 11-18
if (iHD>18&&iHD<28) iRange=3; // lvl 19-27
if (iHD>27&&iHD<36) iRange=4; // lvl 28-35
if (iHD>35/* &&iHD<61 */) iRange=5; // lvl 36+
//:: Define new ranges for each threat level
if (iHD > 0 && iHD <= 10) iRange = 1; // lvl 1-10
if (iHD > 10 && iHD <= 20) iRange = 2; // lvl 11-20
if (iHD > 20 && iHD <= 30) iRange = 3; // lvl 21-30
if (iHD > 30 && iHD <= 40) iRange = 4; // lvl 31-40
if (iHD > 40 && iHD <= 50) iRange = 5; // lvl 41-50
if (iHD > 50 && iHD <= 60) iRange = 6; // lvl 51-60
if (iHD > 60 && iHD <= 70) iRange = 7; // lvl 61-70
if (iHD > 70 /* && iHD <= 80 */) iRange = 8; // lvl 71-80+
//:: Assign colors for each tier
switch(iRange)
{
case 1: sName = ColorString(cName,255, 255, 255); break;
case 2: sName = ColorString(cName,189, 183, 107); break;
case 3: sName = ColorString(cName,218, 165, 32); break;
case 4: sName = ColorString(cName,210, 105, 30); break;
case 5: sName = ColorString(cName,255, 0, 0); break;
case 1: sName = ColorString(cName, 255, 255, 255); break; // White - Low threat
case 2: sName = ColorString(cName, 255, 255, 0); break; // Yellow - Slightly higher threat
case 3: sName = ColorString(cName, 255, 165, 0); break; // Orange - Moderate threat
case 4: sName = ColorString(cName, 255, 100, 0); break; // Deep Orange - Medium threat
case 5: sName = ColorString(cName, 255, 69, 69); break; // Light Red - Higher medium threat
case 6: sName = ColorString(cName, 255, 0, 255); break; // Magenta - High threat
case 7: sName = ColorString(cName, 180, 0, 255); break; // Purple - Very high threat
case 8: sName = ColorString(cName, 153, 0, 153); break; // Bright Purple - Highest regular threat
}
if (GetLocalInt(OBJECT_SELF, "BOSS")==1)sName = ColorString(cName,255, 255, 0);
//:: Boss enemies use red regardless of HD
if (GetLocalInt(OBJECT_SELF, "BOSS") == 1)
sName = ColorString(cName, 255, 0, 0); // Red - Boss
SetName(oMob, sName);
}
void SetEyes(int iType, object oMob)
{
effect eVis = EffectVisualEffect(iType);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVis, oMob);
}
void NameSack(object oSack)
{
string sName = GetName(OBJECT_SELF);