Further file organization
Further file organization
This commit is contained in:
20
nwn/nwnprc/trunk/scripts/prc_diabl_diab.nss
Normal file
20
nwn/nwnprc/trunk/scripts/prc_diabl_diab.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user