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

22 lines
647 B
Plaintext

/*
Blood of the Warlord - on enter
*/
void main()
{
object oCreator = GetAreaOfEffectCreator(OBJECT_SELF);
object oEnter = GetEnteringObject();
effect eBonus = EffectAttackIncrease(1);
eBonus = EffectLinkEffects(eBonus, EffectSavingThrowIncrease(SAVING_THROW_WILL, 1));
eBonus = EffectLinkEffects(eBonus, EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE));
eBonus = ExtraordinaryEffect(eBonus);
if(GetIsFriend(oEnter, oCreator))
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eBonus, oEnter);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HEAD_HOLY), oEnter);
}
}