mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 05:57:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
21
trunk/scripts/prc_shdwbn_sacst.nss
Normal file
21
trunk/scripts/prc_shdwbn_sacst.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
effect eLink = EffectVisualEffect(PSI_DUR_SHADOW_BODY);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, 6.0);
|
||||
SetLocalInt(oPC, "SacredStrike", nBurn);
|
||||
DelayCommand(0.1, ExecuteScript("prc_sneak_att", oPC));
|
||||
DelayCommand(6.0, DeleteLocalInt(oPC, "SacredStrike"));
|
||||
DelayCommand(6.1, ExecuteScript("prc_sneak_att", oPC));
|
||||
}
|
||||
Reference in New Issue
Block a user