mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 07:37:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
19
trunk/scripts/prc_kngtwv_heal.nss
Normal file
19
trunk/scripts/prc_kngtwv_heal.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "prc_inc_burn"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
int nBurn = BurnSpell(oPC);
|
||||
|
||||
if(!nBurn)
|
||||
{
|
||||
//FloatingTextStringOnCreature("You do not have a spell of that level to burn", oPC, FALSE);
|
||||
return;
|
||||
}
|
||||
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
|
||||
effect eLink = EffectLinkEffects(EffectHeal(nBurn*2), EffectVisualEffect(VFX_IMP_HEALING_M));
|
||||
eLink = SupernaturalEffect(eLink);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eLink, oTarget);
|
||||
}
|
||||
Reference in New Issue
Block a user