2025/06/07 Evening Update

Fixed Opportunistic Piety & Turning.
Fixed Midnight Augmentation.
This commit is contained in:
Jaysyn904
2025-06-07 20:48:29 -04:00
parent 01f4c1b408
commit a668be703a
4 changed files with 59 additions and 33 deletions

View File

@@ -176,8 +176,6 @@ void main()
if(sName != "")
{
// Replace this with the correct check for whether oMeldshaper actually knows the power.
// Example using GetHasSpell:
if (GetHasPower(i, oMeldshaper))
{
if(SORT) AddToTempList(oMeldshaper, sName, i);
@@ -296,6 +294,7 @@ void main()
if (nChoice)
{
SetLocalInt(oMeldshaper, "MidnightAugPower", GetLocalInt(oMeldshaper, "nPower"));
SetLocalInt(oMeldshaper, "MidnightAugPowerInvestment", GetLocalInt(oMeldshaper, "nEssentia"));
InvestEssentiaFeat(oMeldshaper, FEAT_MIDNIGHT_AUGMENTATION, GetLocalInt(oMeldshaper, "nEssentia"));
DeleteLocalInt(oMeldshaper, "nPower");
DeleteLocalInt(oMeldshaper, "nEssentia");