Added "Removed Files" folder
Added "Removed Files" folder in case we needed to review any of them.
This commit is contained in:
24
_module/_removed files/x0_s0_enten.nss
Normal file
24
_module/_removed files/x0_s0_enten.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: x0_s0_entEN
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Applies a miss chance to any enemies
|
||||
of the area of effect creator.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By:
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetEnteringObject();
|
||||
if(!GetIsReactionTypeFriendly(oTarget, GetAreaOfEffectCreator()))
|
||||
{
|
||||
effect eMiss = EffectMissChance(40, MISS_CHANCE_TYPE_VS_RANGED);
|
||||
|
||||
// * only leaving the area of effect removes the miss chance
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMiss, oTarget);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user