Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,25 @@
/*
01/03/19 by Stratovarius
Unexpected Strike
Denied Dex
*/
#include "prc_inc_combat"
void main()
{
object oShadow = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
SetLocalInt(oShadow, "PRC_SB_UNEXPECTED", TRUE);
effect eNone;
PerformAttackRound(oTarget, oShadow, eNone, 0.0, 0, 0, 0, FALSE, "Unexpected Strike Hit", "Unexpected Strike Miss");
DelayCommand(0.2, DeleteLocalInt(oShadow, "PRC_SB_UNEXPECTED"));
DecrementRemainingFeatUses(oShadow, FEAT_UNERRING_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_EPHEMERAL_WEAPON);
DecrementRemainingFeatUses(oShadow, FEAT_SHADOWY_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_FAR_SHADOW);
}