PRC8_fork/trunk/psionics/psi_wmnd_oforce.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

27 lines
1.0 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Warmind Chain of Overwhelming Force
//:: psi_wmnd_oforce.nss
//::///////////////////////////////////////////////
/*
Performs an attack round with +10d6 damage bonus
on the first attack.
*/
//:://////////////////////////////////////////////
//:: Modified By: Stratovarius
//:: Modified On: 15.12.2005
//:://////////////////////////////////////////////
#include "prc_inc_combat"
#include "psi_inc_psifunc"
void main()
{
object oPC = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
effect eDummy = EffectVisualEffect(VFX_IMP_DIVINE_STRIKE_HOLY);
// This is to stop the death attack that happens when using the Chain of Overwhelming Force with Sweeping Strike
SetLocalInt(oPC, "SweepingStrikeDelay", TRUE);
DelayCommand(6.0, DeleteLocalInt(oPC, "SweepingStrikeDelay"));
PerformAttackRound(oTarget, oPC, eDummy, 0.0, 0, d6(10), DAMAGE_TYPE_MAGICAL, FALSE, "Chain of Overwhelming Force Hit", "Chain of Overwhelming Force Miss");
}