Reverted to 4.56 to track down a bug that started in 4.57. Bugfixed back to 4.61. It's amazing the damage that one skipped case statement can do.
14 lines
452 B
Plaintext
14 lines
452 B
Plaintext
void main()
|
|
{
|
|
string sSwitch = "PRC_SpontRegen";
|
|
if(!GetLocalInt(OBJECT_SELF, sSwitch))
|
|
{
|
|
SetLocalInt(OBJECT_SELF, "PRC_SpontRegen", TRUE);
|
|
FloatingTextStringOnCreature("Spontaneous regeneration spells activated", OBJECT_SELF, FALSE);
|
|
}
|
|
else
|
|
{
|
|
DeleteLocalInt(OBJECT_SELF, "PRC_SpontRegen");
|
|
FloatingTextStringOnCreature("Spontaneous regeneration spells de-activated", OBJECT_SELF, FALSE);
|
|
}
|
|
} |