Shaman wasn't getting domain bonus feats

Shaman wasn't getting domain bonus feats.  Fixed epic && bug in feat enforcement script.
This commit is contained in:
Jaysyn904
2024-09-24 22:28:04 -04:00
parent 1b043074dc
commit 914300411e
7 changed files with 57 additions and 11 deletions

View File

@@ -156,10 +156,11 @@ int TestSpellTarget(object oPC, object oTarget, int nSpell)
int GetIsBioDivineClass(int nClass)
{
return nClass == CLASS_TYPE_CLERIC
|| nClass == CLASS_TYPE_DRUID
|| nClass == CLASS_TYPE_PALADIN
|| nClass == CLASS_TYPE_UR_PRIEST
|| nClass == CLASS_TYPE_RANGER;
|| nClass == CLASS_TYPE_DRUID
|| nClass == CLASS_TYPE_PALADIN
|| nClass == CLASS_TYPE_SHAMAN
|| nClass == CLASS_TYPE_UR_PRIEST
|| nClass == CLASS_TYPE_RANGER;
}
void CastDomainSpell(object oPC, int nSlot, int nLevel)

View File

@@ -371,7 +371,7 @@ void EvalPRCFeats(object oPC)
// If there is a bonus domain, it will always be in the first slot, so just check that.
// It also runs things that clerics with those domains need
if (GetPersistantLocalInt(oPC, "PRCBonusDomain1") > 0 || GetLevelByClass(CLASS_TYPE_CLERIC, oPC))
if (GetPersistantLocalInt(oPC, "PRCBonusDomain1") > 0 || GetLevelByClass(CLASS_TYPE_CLERIC, oPC) || GetLevelByClass(CLASS_TYPE_SHAMAN, oPC))
DelayCommand(0.1f, ExecuteScript("prc_domain_skin", oPC));
// special add atk bonus equal to Enhancement