2025/04/25 Update

Undead Templates now set the PC's subrace to undead.
Fixed PP prereqs for War Mind & Sanctified Mind.
Added new Epic Skill Focus feats to Rogue's bonus feat list.
Updated Unseen Seer's tlk & bonus feats for epic progression.
Updated Forsaker's tlk & bonus feats for epic progression.
Updated Acolyte of the Skin's tlk & bonus feats for epic progression.
Updated Spellsword's tlk & bonus feats for epic progression.
Expanded Celebrant of Sharess for epic progression.
Expanded Knight of the Chalice for epic progression.
Expanded Knight of the Chalice's Fiendslaying for epic progression.
This commit is contained in:
Jaysyn904
2025-04-25 12:54:22 -04:00
parent 84b17f1bc9
commit 04962acc20
25 changed files with 2346 additions and 1454 deletions

View File

@@ -7,6 +7,12 @@
/* Function Prototypes */
//////////////////////////////////////////////////
//:: Returns true if oCaster's race can naturally cast sorcerer spells.
int GetIsRHDSorcerer(object oCaster = OBJECT_SELF);
//:: Returns true if oCaster's race can naturally cast bard spells.
int GetIsRHDBard(object oCaster = OBJECT_SELF);
// wrapper for getspelltargetlocation
location PRCGetSpellTargetLocation(object oCaster = OBJECT_SELF);
@@ -138,6 +144,27 @@ const int METAMAGIC_QUICKEN_LEVEL = 4;
/* Function Definitions */
//////////////////////////////////////////////////
//:: Returns true if oCaster's race can naturally cast sorcerer spells.
int GetIsRHDSorcerer(object oCaster = OBJECT_SELF)
{
int nRace = GetRacialType(oCaster);
return (nRace == RACIAL_TYPE_ARANEA ||
nRace == RACIAL_TYPE_ARKAMOI ||
nRace == RACIAL_TYPE_DRIDER ||
nRace == RACIAL_TYPE_HOBGOBLIN_WARSOUL ||
nRace == RACIAL_TYPE_MARRUTACT ||
nRace == RACIAL_TYPE_RAKSHASA ||
nRace == RACIAL_TYPE_REDSPAWN_ARCANISS);
}
//:: Returns true if oCaster's race can naturally cast bard spells.
int GetIsRHDBard(object oCaster = OBJECT_SELF)
{
int nRace = GetRacialType(oCaster);
return (nRace == RACIAL_TYPE_GLOURA);
}
//wrapper for GetSpellTargetLocation()
location PRCGetSpellTargetLocation(object oCaster = OBJECT_SELF)
@@ -482,8 +509,8 @@ int GetMetaMagicSpellLevelAdjustment(int nMetaMagic)
int GetIsBioSpellCastClass(int nClass)
{
return nClass == CLASS_TYPE_WIZARD
|| nClass == CLASS_TYPE_SORCERER
|| nClass == CLASS_TYPE_BARD
|| nClass == CLASS_TYPE_SORCERER && !GetIsRHDSorcerer()
|| nClass == CLASS_TYPE_BARD && !GetIsRHDBard()
|| nClass == CLASS_TYPE_CLERIC
|| nClass == CLASS_TYPE_HEALER
|| nClass == CLASS_TYPE_BLIGHTER
@@ -727,3 +754,4 @@ void DeleteLocalMystery(object oObject, string sName)
DeleteLocalFloat(oObject, sName + "_fDur");
}
//::void main (){}