PRC8/nwn/nwnprc/trunk/psionics/psi_pow_charge.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

58 lines
1.5 KiB
Plaintext

/** @file psi_pow_charge
Psionic Lion's Charge
Psychometabolism
Level: Psychic warrior 2
Manifesting Time: 1 swift action
Range: Medium (100 ft. + 10 ft./level)
Target: One enemy
Duration: Instantaneous
Saving Throw: None
Power Resistance: No
Power Points: 3
Metapsionics: None
You gain the powerful charging ability of a lion. When you charge your target, you make a full attack at the end of the charge.
Augment: For every additional power point you spend, each of your attacks after the charge gain damage equal to the number of additional points spent.
@author Stratovarius
@date Created: May 3, 2021
*/
#include "psi_inc_psifunc"
#include "psi_inc_pwresist"
#include "psi_spellhook"
#include "prc_inc_combmove"
void main()
{
/*
Spellcast Hook Code
Added 2004-11-02 by Stratovarius
If you want to make changes to all powers,
check psi_spellhook to find out more
*/
if (!PsiPrePowerCastCode())
{
// If code within the PrePowerCastHook (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
object oManifester = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct manifestation manif =
EvaluateManifestation(oManifester, oTarget,
PowerAugmentationProfile(1),
METAPSIONIC_NONE
);
if(manif.bCanManifest)
{
DoCharge(oManifester, oTarget, TRUE, TRUE, manif.nTimesGenericAugUsed, -1, FALSE, 0, TRUE, TRUE, 0, TRUE);
}
}