PRC8/nwn/trunk/scripts/prc_abjcha_abab.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

21 lines
699 B
Plaintext

#include "prc_inc_burn"
void main()
{
object oPC = OBJECT_SELF;
if(!TakeSwiftAction(oPC)) return;
int nBurn = BurnSpell(oPC);
int nRounds = 1; //Arcane Boost is a one round effect
if(!nBurn)
{
//FloatingTextStringOnCreature("You do not have a spell of that level to burn", oPC, FALSE);
return;
}
effect eLink = EffectLinkEffects(EffectAttackIncrease(nBurn, ATTACK_BONUS_MISC), EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE));
eLink = SupernaturalEffect(eLink);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, RoundsToSeconds(nRounds));
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HEAD_ODD), oPC);
}