PRC8_fork/nwn/trunk/scripts/prc_remfre.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

29 lines
795 B
Plaintext

//::///////////////////////////////////////////////
//:: Frenzied Berserker - Remove effects of Supreme Power Attack
//:: NW_S1_frebzk
//:: Copyright (c) 2004
//:://////////////////////////////////////////////
/*
Removes bonuses of Supreme Power Attack
*/
//:://////////////////////////////////////////////
//:: Created By: Oni5115
//:: Created On: Aug 23, 2004
//:://////////////////////////////////////////////
#include "prc_effect_inc"
void main()
{
object oPC = OBJECT_SELF;
if(GetHasFeatEffect(FEAT_FRENZY, oPC))
{
int willSave = WillSave(oPC, 20, SAVING_THROW_TYPE_NONE, oPC);
if(willSave == 1)
{
PRCRemoveSpellEffects(SPELL_FRENZY, oPC, oPC);
PRCRemoveSpellEffects(SPELL_SUPREME_POWER_ATTACK, oPC, oPC);
}
}
}