PRC8/nwn/trunk/newspellbook/true_ignore_sr.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

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);
}