PRC8/nwn/nwnprc/trunk/newspellbook/true_ignore_sr.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
704 B
Plaintext

//::///////////////////////////////////////////////
//:: Ignore SR switch
//:: true_ignore_sr
//::///////////////////////////////////////////////
/** @file
Switches the Ignore SR check on and off
@author Stratovarius
@date Created - 2006.07.18
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "true_inc_trufunc"
void main()
{
object oPC = OBJECT_SELF;
SetLocalInt(oPC, TRUE_IGNORE_SR, !GetLocalInt(oPC, TRUE_IGNORE_SR));
FloatingTextStringOnCreature("Ignore Spell Resistance " + (GetLocalInt(oPC, TRUE_IGNORE_SR) ? GetStringByStrRef(63798/*Activated*/):GetStringByStrRef(63799/*Deactivated*/)), oPC, FALSE);
}