void main() { object oTarget; int iRoll = d8(1); oTarget = GetFirstObjectInShape(SHAPE_SPHERE, 15.0, GetLocation(OBJECT_SELF), OBJECT_TYPE_CREATURE); if(iRoll == 4 && GetIsObjectValid(oTarget)) { while(oTarget != OBJECT_SELF) { if(!GetIsDM(oTarget) && !GetIsDead(oTarget)) { ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectAbilityDecrease(ABILITY_CONSTITUTION, 10), oTarget, 36.0f); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DEMON_HAND), oTarget); } oTarget = GetNextObjectInShape(SHAPE_SPHERE, 15.0, GetLocation(OBJECT_SELF), OBJECT_TYPE_CREATURE); } } }