PRC8/nwn/nwnprc/trunk/scripts/prc_diabl_diab.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

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