PRC8_fork/trunk/newspellbook/true_ignore_sr.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
}