mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-27 17:57:15 -05:00
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.
This commit is contained in:
23
nwn/trunk/scripts/prc_sod_divgrace.nss
Normal file
23
nwn/trunk/scripts/prc_sod_divgrace.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Slayer of Domiel Cha to saves
|
||||
//:: prc_sod_divgrace.nss
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Applies Slayer of Domiel Bonuses by using
|
||||
//:: ActionCastSpellOnSelf called from prc_slayerdomiel
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_spells"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = PRCGetSpellTargetObject();
|
||||
|
||||
// Charisma to all saves
|
||||
int nCha = GetAbilityModifier(ABILITY_CHARISMA, oPC);
|
||||
effect eSave = EffectSavingThrowIncrease(SAVING_THROW_ALL, nCha);
|
||||
eSave = ExtraordinaryEffect(eSave);
|
||||
|
||||
PRCRemoveEffectsFromSpell(oPC, GetSpellId());
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSave, oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user