Changed folder name.
Changed folder name.
This commit is contained in:
36
_module/nss/ue_blindingbelt.nss
Normal file
36
_module/nss/ue_blindingbelt.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCItemLastUnequippedBy();
|
||||
|
||||
object oItem;
|
||||
oItem = GetPCItemLastUnequipped();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
effect eEffect;
|
||||
eEffect = GetFirstEffect(oTarget);
|
||||
while (GetIsEffectValid(eEffect))
|
||||
{
|
||||
if (GetEffectType(eEffect)==EFFECT_TYPE_MOVEMENT_SPEED_INCREASE) RemoveEffect(oTarget, eEffect);
|
||||
eEffect = GetNextEffect(oTarget);
|
||||
}
|
||||
|
||||
eEffect = GetFirstEffect(oTarget);
|
||||
while (GetIsEffectValid(eEffect))
|
||||
{
|
||||
if (GetEffectType(eEffect)==EFFECT_TYPE_CONCEALMENT) RemoveEffect(oTarget, eEffect);
|
||||
eEffect = GetNextEffect(oTarget);
|
||||
}
|
||||
|
||||
eEffect = GetFirstEffect(oTarget);
|
||||
while (GetIsEffectValid(eEffect))
|
||||
{
|
||||
if (GetEffectType(eEffect)==EFFECT_TYPE_DAMAGE_INCREASE) RemoveEffect(oTarget, eEffect);
|
||||
eEffect = GetNextEffect(oTarget);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user