PRC8/nwn/nwnprc/trunk/newspellbook/moi_ncr_soulshld.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

22 lines
1.0 KiB
Plaintext

/*Necrocarnum Soulshield
You gain a bonus on all saving throws equal to the number of necrocarnum soulmelds that you currently have shaped.
This ability is usable a number of times per day equal to one-half your necrocarnate level, and lasts for one round per class level.
*/
#include "prc_inc_spells"
void main()
{
object oMeldshaper = OBJECT_SELF;
int nBonus;
if (GetHasSpellEffect(MELD_NECROCARNUM_CIRCLET , oMeldshaper)) nBonus += 1;
if (GetHasSpellEffect(MELD_NECROCARNUM_MANTLE , oMeldshaper)) nBonus += 1;
if (GetHasSpellEffect(MELD_NECROCARNUM_SHROUD , oMeldshaper)) nBonus += 1;
if (GetHasSpellEffect(MELD_NECROCARNUM_TOUCH , oMeldshaper)) nBonus += 1;
if (GetHasSpellEffect(MELD_NECROCARNUM_VESTMENTS, oMeldshaper)) nBonus += 1;
if (GetHasSpellEffect(MELD_NECROCARNUM_WEAPON , oMeldshaper)) nBonus += 1;
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectSavingThrowIncrease(SAVING_THROW_ALL, nBonus), oMeldshaper, RoundsToSeconds(GetLevelByClass(CLASS_TYPE_NECROCARNATE, oMeldshaper)));
}