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,39 @@
//::///////////////////////////////////////////////
//:: [Acrobatic Attack]
//:: [prc_s_acroatk.nss]
//:://////////////////////////////////////////////
//:: Leaps at a target. Inflicting d6 / 2 duelist
//:: levels + dex bonus damage and knockdown for
//:: 1 round. Reflex save verus 10 + duelist
//:: level + dex bonus for half damage and no
//:: knockdown.
//::
//:: Attack/Damage bonus of +2 or +4 for 1 round
//::
//:://////////////////////////////////////////////
//:: Created By: Aaon Graywolf
//:: Created On: Dec 21, 2003
//:://////////////////////////////////////////////
#include "prc_alterations"
void main()
{
//Declare major variables
int nWis = GetAbilityModifier(ABILITY_WISDOM);
int nBonus = nWis;
if(GetHasFeat(FEAT_FREE_KI_2, OBJECT_SELF))
nBonus += nWis;
if(GetHasFeat(FEAT_FREE_KI_3, OBJECT_SELF))
nBonus += nWis;
if(GetHasFeat(FEAT_FREE_KI_4, OBJECT_SELF))
nBonus += nWis;
effect eVis = EffectVisualEffect(VFX_IMP_HOLY_AID);
effect eSave = EffectSavingThrowIncrease(SAVING_THROW_ALL, nBonus);
effect eLink = EffectLinkEffects(eVis, eSave);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, OBJECT_SELF, RoundsToSeconds(1));
}