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.
20 lines
613 B
Plaintext
20 lines
613 B
Plaintext
#include "prc_feat_const"
|
|
|
|
void main()
|
|
{
|
|
object oCaster = OBJECT_SELF;
|
|
|
|
if (GetLocalInt(oCaster, "Diabolism") == FALSE)
|
|
{
|
|
SetLocalInt(oCaster, "Diabolism", TRUE);
|
|
FloatingTextStringOnCreature("Diabolism On", oCaster, FALSE);
|
|
}
|
|
else
|
|
{
|
|
SetLocalInt(oCaster, "Diabolism", FALSE);
|
|
FloatingTextStringOnCreature("Diabolism Off", oCaster, FALSE);
|
|
IncrementRemainingFeatUses(oCaster, FEAT_DIABOL_DIABOLISM_1);
|
|
IncrementRemainingFeatUses(oCaster, FEAT_DIABOL_DIABOLISM_2);
|
|
IncrementRemainingFeatUses(oCaster, FEAT_DIABOL_DIABOLISM_3);
|
|
}
|
|
} |