Further file organization
Further file organization
This commit is contained in:
13
nwn/nwnprc/trunk/newspellbook/moi_ft_healsoul.nss
Normal file
13
nwn/nwnprc/trunk/newspellbook/moi_ft_healsoul.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "moi_inc_moifunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMeldshaper = OBJECT_SELF;
|
||||
if (TakeSwiftAction(oMeldshaper))
|
||||
{
|
||||
int nEssentia = GetEssentiaInvestedFeat(oMeldshaper, FEAT_HEALING_SOUL);
|
||||
if (GetCanBindChakra(oMeldshaper, CHAKRA_SOUL)) nEssentia *= 2;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectHeal(nEssentia), oMeldshaper);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user