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

17 lines
644 B
Plaintext

#include "prc_alterations"
void main()
{
object oPC = OBJECT_SELF;
object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND);
int nDuration = GetAbilityModifier(ABILITY_CONSTITUTION,oPC);
effect eVis = EffectVisualEffect(VFX_IMP_HOLY_AID);
effect eDur = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
itemproperty pIron = ItemPropertyDamageBonus(IP_CONST_DAMAGETYPE_DIVINE, DAMAGE_BONUS_3);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVis,oPC);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eDur,oPC,RoundsToSeconds(nDuration));
AddItemProperty(DURATION_TYPE_TEMPORARY,pIron,oWeap,RoundsToSeconds(nDuration));
}