Updated Darkness spell w/ EffectTag

Updated Darkness spell to use EffectTag.  Removed old crafting baseitems.  Removed defunct spellbook from Knight of the Weave.
This commit is contained in:
Jaysyn904
2024-04-07 00:04:06 -04:00
parent fe63d696fb
commit 4c40bda959
8 changed files with 83 additions and 62 deletions

View File

@@ -322,7 +322,7 @@ int SaintHolySpellPower(object oCaster)
}
//:: If it gets here, the caster does not have the feat
return 0;
}
}
//Draconic Power's elemental boost to spell DCs
int DraconicPowerDC(int spell_id, int nElement, object oCaster)
@@ -487,8 +487,8 @@ int PRCGetSpellSaveDC(int nSpellID = -1, int nSchool = -1, object oCaster = OBJE
int nClass = PRCGetLastSpellCastClass(oCaster);
int nDC = 10;
if(nClass == CLASS_TYPE_BARD)
if(nClass == CLASS_TYPE_BARD)
nDC += StringToInt(Get2DACache("Spells", "Bard", nSpellID));
else if(nClass == CLASS_TYPE_CLERIC || nClass == CLASS_TYPE_UR_PRIEST || nClass == CLASS_TYPE_OCULAR)
nDC += StringToInt(Get2DACache("Spells", "Cleric", nSpellID));
@@ -759,4 +759,4 @@ int GetChangesToSaveDC(object oTarget, object oCaster, int nSpellID, int nSchool
}
// Test main
//void main(){}
//:: void main(){}