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,30 @@
//Spell script for reserve feat Hurricane Breath
//prc_reservhrbrth
//by ebonfowl
//Dedicated to Edgar, the real Ebonfowl
#include "spinc_dimdoor"
#include "prc_inc_combmove"
void main()
{
object oPC = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
int nBonus = GetLocalInt(oPC, "HurricaneBreathBonus");
int nStrength = GetAbilityModifier(ABILITY_STRENGTH, oTarget);
int nRoll = d20() + nBonus;
int nOpposed = d20() + nStrength;
effect eVis = EffectVisualEffect(VFX_IMP_KNOCK);
if (!GetLocalInt(oPC, "HurricaneBreathBonus"))
{
FloatingTextStringOnCreature("You do not have a spell available of adequate level or type", oPC, FALSE);
return;
}
if (nRoll > nOpposed)
{
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
_DoBullRushKnockBack(oTarget, oPC, 5.0);
}
}