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

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);
}