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

21 lines
673 B
Plaintext

#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
effect eConceal = EffectConcealment(20, MISS_CHANCE_TYPE_VS_MELEE);
effect eConceal2 = EffectConcealment(50, MISS_CHANCE_TYPE_VS_RANGED);
//Set VFX
effect eVis = EffectVisualEffect(VFX_IMP_POISON_L);
// Link
effect eLink = EffectLinkEffects(EffectSickened(), eConceal2);
eLink = EffectLinkEffects(eLink, eConceal);
if (GetIsFriend(oTarget, GetAreaOfEffectCreator()))
{
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, 6.0);
SPApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}
}