mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 10:47:14 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
23
trunk/scripts/prc_sod_divgrace.nss
Normal file
23
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