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,20 @@
#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);
}
}