2025/12/17 Update

Changed Shield Specialization to stop the Shield AC message spam.
Forsakers now keep their bonus abilities through server resets.
Added Warblade recovery notification.
Fixed Inscribe Runes CL cap.
Added Inscribe Runes to Runecaster's feat list.
Eagle Claw's icon should only be 1x2.
Blank wands should be equippable.
This commit is contained in:
Jaysyn904
2025-12-17 19:54:27 -05:00
parent c44fc89cbe
commit 1fdab87d91
11 changed files with 471 additions and 374 deletions

View File

@@ -9,6 +9,24 @@
#include "shd_inc_myst"
#include "prc_inc_template"
void RestoreForsakerAbilities(object oPC)
{
int nForsakerLevel = GetLevelByClass(CLASS_TYPE_FORSAKER, oPC);
int i;
for(i = 1; i <= nForsakerLevel; i++)
{
int nAbility = GetPersistantLocalInt(oPC, "ForsakerBoost" + IntToString(i));
if(nAbility > 0 && nAbility <= 6)
{
effect eAbility = EffectAbilityIncrease(nAbility - 1, 1);
eAbility = SupernaturalEffect(eAbility);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eAbility, oPC);
}
}
}
/**
* Reads the 2da file onenter_locals.2da and sets local variables
* on the entering PC accordingly. 2da format same as personal_switches.2da,
@@ -221,6 +239,11 @@ void main()
{
ExecuteScript("prc_vop_feats_oe", oPC);
}
if (GetLevelByClass(CLASS_TYPE_FORSAKER, oPC) >= 1)
{
RestoreForsakerAbilities(oPC);
}
ResetTouchOfVitality(oPC);
DelayCommand(0.15, DeleteLocalInt(oPC,"ONENTER"));