PRC8/nwn/trunk/newspellbook/moi_incan_strike.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

20 lines
850 B
Plaintext

/*
3/1/21 by Stratovarius
Incandescent Strike (Su): You can channel incarnum to increase the damage dealt by your melee attacks. For each
such augmented attack, you gain a bonus on your damage roll equal to the number of points of essentia invested in
this ability. Whenever you have essentia invested in incandescent strike, your hands glow like a light spell.
*/
#include "moi_inc_moifunc"
void main()
{
object oMeldshaper = PRCGetSpellTargetObject();
int nEssentia = GetEssentiaInvested(oMeldshaper, MELD_INCANDESCENT_STRIKE);
effect eLink;
if (nEssentia) eLink = EffectLinkEffects(EffectVisualEffect(VFX_DUR_LIGHT_WHITE_20), EffectDamageIncrease(IPGetDamageBonusConstantFromNumber(nEssentia), DAMAGE_TYPE_BASE_WEAPON));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, SupernaturalEffect(eLink), oMeldshaper, 9999.0);
}