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,51 @@
/*
----------------
Divine Surge
tob_dvsp_dvnsrg
----------------
05/06/07 by Stratovarius
*/ /** @file
Divine Surge
Devoted Spirit (Strike)
Level: Crusader 4
Prerequisite: One Devoted Spirit Maneuver
Initiation Action: 1 Standard Action
Range: Melee Attack
Target: One Creature
Your body shakes and spasms as unfettered divine energy courses through it.
This power sparks off your weapon and courses into your foe,
devastating your enemy but leaving you drained.
You make a single attack against an enemy. If this attack his, you deal 8d8 extra damage.
*/
#include "tob_inc_move"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
effect eNone = EffectVisualEffect(PSI_IMP_CONCUSSION_BLAST);
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oInitiator);
DelayCommand(0.0, PerformAttack(oTarget, oInitiator, eNone, 0.0, 0, d8(8), GetWeaponDamageType(oWeap), "Divine Surge Hit", "Divine Surge Miss"));
}
}