PRC8_fork/nwn/trunk/scripts/prc_coc_wrath.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

27 lines
721 B
Plaintext

/*
prc_coc_wrath
Adds bonuses for 1 round
By: Flaming_Sword
Created: Oct 10, 2007
Modified: Oct 27, 2007
*/
#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
if(GetAlignmentGoodEvil(oPC) == ALIGNMENT_EVIL)
{
SendMessageToPC(oPC, "Cannot use this feat if you are evil.");
return;
}
int nLevel = (GetLevelByClass(CLASS_TYPE_COC, oPC));
effect eLink = EffectLinkEffects(EffectAttackIncrease(2, ATTACK_BONUS_ONHAND), EffectDamageIncrease(DAMAGE_BONUS_2d6, DAMAGE_TYPE_DIVINE));
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_SUPER_HEROISM), oPC);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, 6.0);
}