diff --git a/nwn/nwnprc/trunk/scripts/prc_enforce_mark.nss b/nwn/nwnprc/trunk/scripts/prc_enforce_mark.nss index db681a08..89718bd9 100644 --- a/nwn/nwnprc/trunk/scripts/prc_enforce_mark.nss +++ b/nwn/nwnprc/trunk/scripts/prc_enforce_mark.nss @@ -1360,39 +1360,39 @@ int EnlightendFistMarkerFeats() { if(GetLevelByClass(CLASS_TYPE_ENLIGHTENEDFIST)) { - int nEnlighted = GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_FEY) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_ABERRATION) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_MONSTROUS) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_OUTSIDER) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SHAPECHANGER) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_ASSASSIN) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_BARD) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_BEGUILER) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_CELEBRANT_SHARESS) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_CULTIST_PEAK) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_DNECRO) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_DUSKBLADE) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_HARPER) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_HEXBLADE) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_KNIGHT_WEAVE) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SHADOWLORD) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SORCERER) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SUBLIME_CHORD) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SUEL_ARCHANAMACH) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_WARMAGE) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_WIZARD) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_WARLOCK) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_DFA) - + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_DRAGON_SHAMAN); + int nEnlightened = GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_FEY) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_ABERRATION) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_MONSTROUS) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_OUTSIDER) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SHAPECHANGER) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_ASSASSIN) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_BARD) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_BEGUILER) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_CELEBRANT_SHARESS) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_CULTIST_PEAK) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_DNECRO) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_DUSKBLADE) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_HARPER) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_HEXBLADE) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_KNIGHT_WEAVE) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SHADOWLORD) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SORCERER) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SUBLIME_CHORD) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_SUEL_ARCHANAMACH) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_WARMAGE) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_SPELLCASTING_WIZARD) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_WARLOCK) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_DFA) + + GetHasFeat(FEAT_ENLIGHTENEDFIST_INVOKING_DRAGON_SHAMAN); - if(nEnlighted > 1) + if(nEnlightened > 1) { FloatingTextStringOnCreature("An Enlighted Fist may only advance a single arcane or invoker class.", OBJECT_SELF, FALSE); FloatingTextStringOnCreature("Please reselect your feats.", OBJECT_SELF, FALSE); return TRUE; } - if(nEnlighted < 1) + if(nEnlightened < 1) { FloatingTextStringOnCreature("An Enlighted Fist must pick one arcane or invoker class to advance at first level.", OBJECT_SELF, FALSE); FloatingTextStringOnCreature("Please reselect your feats.", OBJECT_SELF, FALSE);