mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-10-29 08:28:31 -04:00
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:
1 parent
1b043074dc
commit
914300411e
7 files changed
+57
-11
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user