PRC8/nwn/nwnprc/trunk/scripts/prc_lot.nss
Jaysyn904 dd67019103 2025/08/05 Update
Added Regenerate Ring spell.
Added Regenerate Circle spell.
Added Leonal's Roar spell.
Added Summon Nature's Ally I-IX spells.
Added Lion of Talisid PrC.
Added Favored of the Companions Feat.
Corrected Regenerate Serious Wounds level.
Corrected Regenerate Critical Wounds level.
Removed Baelnorn class and added Baelnorn template.
2025-08-05 18:58:54 -04:00

30 lines
776 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Lions Courage (Ex): A lion of Talisid is immune to fear
(magical or otherwise) and gains a +4 sacred bonus on Will saves
against other mind-affecting spells and effects.
*/
#include "prc_alterations"
#include "prc_feat_const"
#include "prc_class_const"
void main()
{
//Declare main variables.
object oPC = OBJECT_SELF;
object oSkin = GetPCSkin(oPC);
if(GetHasFeat(FEAT_LOT_LIONS_COURAGE, oPC) )
{
effect eFearless = EffectImmunity(IMMUNITY_TYPE_FEAR);
effect eLink;
eLink = EffectLinkEffects(eFearless, eLink);
eLink = ExtraordinaryEffect(eLink);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
SetCompositeBonus(oSkin, "LionsCourageWillBonus", 4, ITEM_PROPERTY_SAVING_THROW_BONUS, IP_CONST_SAVEVS_MINDAFFECTING);
}
}