2025/06/10 afternoon update

Fixed incorrect action for Sublime Chord songs.
Hopefully fixed Factotum Inspiration not accumulating after logging back in.
Hopefully fixed Archmage SLA ability from grabbing wrong spell level for spell radials.
Bluesteel Bracer script now add itself and not Bloodwar Bracers.
Fixed Pearl of Black Doubt as good as NWN will allow.
Fixed Diamond Dragon level up blocker.
This commit is contained in:
Jaysyn904
2025-06-10 17:38:59 -04:00
parent 2926d346ac
commit b5d31c0297
11 changed files with 349 additions and 117 deletions

View File

@@ -896,7 +896,7 @@ void DeletePRCLocalInts(object oSkin)
// Sacred Fist
DeleteLocalInt(oSkin,"SacFisMv");
// Minstrel
DeleteLocalInt(oSkin,"MinstrelSFBonus"); /// @todo Make ASF reduction compositable
DeleteLocalInt(oSkin,"MinstrelSFBonus"); //:: @todo Make ASF reduction compositable
// Nightshade
DeleteLocalInt(oSkin,"ImmuNSWeb");
DeleteLocalInt(oSkin,"ImmuNSPoison");
@@ -929,7 +929,9 @@ void DeletePRCLocalInts(object oSkin)
DeleteLocalInt(oSkin, "ThickerThanWater");
//:: Crusader
DeleteLocalInt(oPC, "DelayedDamageHB");
//:: Factotum
DeleteLocalInt(oPC, "InspirationHB");
// Feats
DeleteLocalInt(oPC, "ForceOfPersonalityWis");
DeleteLocalInt(oPC, "ForceOfPersonalityCha");

View File

@@ -1903,6 +1903,14 @@ int ClassSLAStore(object oCaster, int nSpellID, int nCastingClass, int nSpellLev
{
FloatingTextStringOnCreature("SLA "+IntToString(nSLAID)+" stored", oCaster, FALSE);
int nMetamagic = GetMetaMagicFeat();
// Look up spell level if invalid (radial spells)
if(nSpellLevel < 0 || nSpellLevel >= 10)
{
string sInnateLevel = Get2DACache("spells", "Innate", nSpellID);
nSpellLevel = StringToInt(sInnateLevel);
}
SetPersistantLocalInt(oCaster, "PRC_SLA_SpellID_"+IntToString(nSLAID), nSpellID+1);
SetPersistantLocalInt(oCaster, "PRC_SLA_Class_"+IntToString(nSLAID), nCastingClass);
SetPersistantLocalInt(oCaster, "PRC_SLA_Meta_"+IntToString(nSLAID), nMetamagic);