forked from Jaysyn/PRC8
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.
23 lines
440 B
Plaintext
23 lines
440 B
Plaintext
// Written by Stratovarius
|
|
// Turns Attune Gem on and off.
|
|
|
|
void main()
|
|
{
|
|
|
|
object oPC = OBJECT_SELF;
|
|
string nMes = "";
|
|
|
|
if(!GetLocalInt(oPC, "AttuneGem"))
|
|
{
|
|
SetLocalInt(oPC, "AttuneGem", TRUE);
|
|
nMes = "*Attune Gem Activated*";
|
|
}
|
|
else
|
|
{
|
|
// Removes effects
|
|
DeleteLocalInt(oPC, "AttuneGem");
|
|
nMes = "*Attune Gem Deactivated*";
|
|
}
|
|
|
|
FloatingTextStringOnCreature(nMes, oPC, FALSE);
|
|
} |