PRC8/nwn/nwnprc/trunk/users/Tenjac/spells/sp_rhinorush.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

39 lines
1.1 KiB
Plaintext

//:://////////////////////////////////////////////
//:: Name Rhino's Rush
//:: FileName sp_rhinorush.nss
//:://////////////////////////////////////////////
/** @file Transmutation
Level: Paladin 1, Ranger 1, Wrath (SpC) 1,
Components: V, S,
Casting Time: 1 swift action
Range: Personal
Target: You
Duration: 1 round
This spell allows you to propel yourself in a single deadly
charge. The first charge attack you make before the end of
the round deals double damage on a successful hit.
*/
//:://////////////////////////////////////////////
//:: Created By: Tenjac
//:: Created On: 7/21/22
//:://////////////////////////////////////////////
#include "prc_sp_func"
#include "prc_add_spell_dc"
void main()
{
if(!X2PreSpellCastCode()) return;
PRCSetSchool(SPELL_SCHOOL_TRANSMUTATION);
object oPC = OBJECT_SELF;
int nCasterLvl = PRCGetCasterLevel(oPC);
float fDur = RoundsToSeconds(1);
int nMetaMagic = PRCGetMetaMagicFeat();
if(nMetaMagic & METAMAGIC_EXTEND) fDur += fDur;
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_IOUNSTONE_RED), oPC, fDur);
PRCSetSchool();
}