mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 04:57:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
25
trunk/scripts/prc_sb_unerrng.nss
Normal file
25
trunk/scripts/prc_sb_unerrng.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
01/03/19 by Stratovarius
|
||||
|
||||
Unerring Strike
|
||||
|
||||
Ignore Concealment
|
||||
*/
|
||||
|
||||
#include "prc_inc_combat"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oShadow = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
|
||||
SetLocalInt(oShadow, "PRC_SB_UNERRING", TRUE);
|
||||
effect eNone;
|
||||
PerformAttackRound(oTarget, oShadow, eNone, 0.0, 0, 0, 0, FALSE, "Unerring Strike Hit", "Unerring Strike Miss");
|
||||
DelayCommand(0.2, DeleteLocalInt(oShadow, "PRC_SB_UNERRING"));
|
||||
|
||||
DecrementRemainingFeatUses(oShadow, FEAT_UNEXPECTED_STRIKE);
|
||||
DecrementRemainingFeatUses(oShadow, FEAT_EPHEMERAL_WEAPON);
|
||||
DecrementRemainingFeatUses(oShadow, FEAT_SHADOWY_STRIKE);
|
||||
DecrementRemainingFeatUses(oShadow, FEAT_FAR_SHADOW);
|
||||
}
|
||||
Reference in New Issue
Block a user