2026/05/24 Afternoon Update
Fixed Contingent Resurrection from stealing epic spell slots. Fixed bonus spell slot itemprops for newspellbook casters. (@lightbeard) Fixed taking Ability Focus: Eldritch Blast from bricking a first level character.
This commit is contained in:
@@ -490,14 +490,10 @@ int CheckPRCLimitations(object oItem, object oPC = OBJECT_INVALID)
|
||||
if(bEquip || bUnequip)
|
||||
{
|
||||
int nSubType = GetItemPropertySubType(ipTest);
|
||||
int nCost = GetItemPropertyCostTable(ipTest);
|
||||
SetLocalInt(oPC,
|
||||
"PRC_IPRPBonSpellSlots_" + IntToString(nSubType) + "_" + IntToString(nCost),
|
||||
GetLocalInt(oPC,
|
||||
"PRC_IPRPBonSpellSlots_" + IntToString(nSubType) + "_" + IntToString(nCost)
|
||||
)
|
||||
+ (bEquip ? 1 : -1)
|
||||
);
|
||||
int nCost = GetItemPropertyCostTableValue(ipTest);
|
||||
string sVar = "PRC_IPRPBonSpellSlots_" + IntToString(nSubType) + "_" + IntToString(nCost);
|
||||
|
||||
SetLocalInt(oPC, sVar, GetLocalInt(oPC, sVar) + (bEquip ? 1 : -1));
|
||||
}
|
||||
}
|
||||
else if(ipType == ITEM_PROPERTY_WIZARDRY)
|
||||
@@ -557,4 +553,4 @@ void CheckForPnPHolyAvenger(object oItem)
|
||||
}
|
||||
|
||||
//:: Test Void
|
||||
//void main (){}
|
||||
//void main (){}
|
||||
|
||||
Reference in New Issue
Block a user