Further file organization
Further file organization
This commit is contained in:
23
nwn/nwnprc/trunk/scripts/prc_fact_cunbri.nss
Normal file
23
nwn/nwnprc/trunk/scripts/prc_fact_cunbri.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Factotum Cunning Brilliance cast script
|
||||
//:: prc_fact_cunbri
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
@author Stratovarius - 2021.11.05
|
||||
*/
|
||||
|
||||
#include "prc_inc_factotum"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
if (ExpendInspiration(oPC, 4))
|
||||
{
|
||||
int nAbil = GetFactotumSlot(oPC);
|
||||
FactotumTriggerAbil(oPC, nAbil);
|
||||
}
|
||||
else
|
||||
{
|
||||
IncrementRemainingFeatUses(oPC, StringToInt(Get2DACache("spells", "FeatID", PRCGetSpellId())));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user