Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: Obscuring Mist
//:: sp_obscmist_ent.nss
//:://////////////////////////////////////////////
/*
All people within the AoE get 20% conceal,
50% vs ranged.
*/
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
PRCSetSchool(SPELL_SCHOOL_CONJURATION);
//Declare major variables
object oCaster = GetAreaOfEffectCreator();
object oTarget = GetEnteringObject();
effect eLink = EffectConcealment(50, MISS_CHANCE_TYPE_VS_RANGED);
eLink = EffectLinkEffects(eLink, EffectConcealment(20));
eLink = EffectLinkEffects(eLink, EffectVisualEffect(VFX_DUR_GLOW_GREY));
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(oCaster, SPELL_OBSCURING_MIST, FALSE));
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oTarget);
PRCSetSchool();
}