Initial Upload
Initial Upload
This commit is contained in:
19
_module/nss/br_1stmassagrehb.nss
Normal file
19
_module/nss/br_1stmassagrehb.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
void main()
|
||||
{
|
||||
object oTarget;
|
||||
int iRoll = d8(1);
|
||||
oTarget = GetFirstObjectInShape(SHAPE_SPHERE, 15.0, GetLocation(OBJECT_SELF), OBJECT_TYPE_CREATURE);
|
||||
|
||||
if(iRoll == 4)
|
||||
{
|
||||
while(GetIsObjectValid(oTarget))
|
||||
{
|
||||
if(!GetIsDM(oTarget) && !GetIsDead(oTarget) && oTarget != OBJECT_SELF)
|
||||
{
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectBlindness(), oTarget, 12.0f);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WORD), oTarget);
|
||||
}
|
||||
oTarget = GetNextObjectInShape(SHAPE_SPHERE, 15.0, GetLocation(OBJECT_SELF), OBJECT_TYPE_CREATURE);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user