PRC8_fork/nwn/trunk/scripts/prc_shaman.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

19 lines
729 B
Plaintext

#include "inc_item_props"
#include "prc_class_const"
void main()
{
object oPC = OBJECT_SELF;
if(GetLevelByClass(CLASS_TYPE_SHAMAN, oPC) > 4)
{
int nSave = GetAbilityModifier(ABILITY_CHARISMA, oPC);
if(nSave > 0)
{
object oSkin = GetPCSkin(oPC);
SetCompositeBonus(oSkin, "SpiritsFavourRef", nSave, ITEM_PROPERTY_SAVING_THROW_BONUS_SPECIFIC, IP_CONST_SAVEBASETYPE_REFLEX);
SetCompositeBonus(oSkin, "SpiritsFavourFort", nSave, ITEM_PROPERTY_SAVING_THROW_BONUS_SPECIFIC, IP_CONST_SAVEBASETYPE_FORTITUDE);
SetCompositeBonus(oSkin, "SpiritsFavourWill", nSave, ITEM_PROPERTY_SAVING_THROW_BONUS_SPECIFIC, IP_CONST_SAVEBASETYPE_WILL);
}
}
}