Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
//::///////////////////////////////////////////////
//:: Name Divine Soultouch
//:: FileName moi_ft_divsoul.nss
//:://////////////////////////////////////////////
/** You can spend a turn or rebuke undead attempt
as a free action to add 1 point of essentia to
your essentia pool for 1 round. For the duration
of this effect, your essentia capacity in all
soulmelds, incarnum feats, and other essentia-
powered abilities is increased by 1. You can
use this ability once per round.
Author: Stratovarius
Created: 20.1.2020
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "moi_inc_moifunc"
void main()
{
object oMeldshaper = OBJECT_SELF;
//make sure there's TU uses left
if (!GetHasFeat(FEAT_TURN_UNDEAD, oMeldshaper))
{
FloatingTextStringOnCreature("You are out of Turn Undead uses for the day.", oMeldshaper, FALSE);
return;
}
else
{
//use up one
DecrementRemainingFeatUses(oMeldshaper, FEAT_TURN_UNDEAD);
SetTemporaryEssentia(oMeldshaper, 1);
SetLocalInt(oMeldshaper, "DivineSoultouch", TRUE);
DelayCommand(6.0, SetTemporaryEssentia(oMeldshaper, -1));
DelayCommand(6.0, DeleteLocalInt(oMeldshaper, "DivineSoultouch"));
}
}