CancelEffect() public method

End the effect. By default it will destroy this spell effect.
public CancelEffect ( ) : void
return void
Esempio n. 1
0
 public override bool UnEquipEvent(int slotNo)
 {
     if (((slotNo == 9) || (slotNo == 10)) && (objInt.item_id != 54))    //Not the ring of humility
     {
         if (SpellEffectApplied != null)
         {
             SpellEffectApplied.CancelEffect();
             return(true);
         }
     }
     return(false);
 }
Esempio n. 2
0
 public override bool UnEquipEvent(int slotNo)
 {
     if ((slotNo >= 0) && (slotNo <= 4))
     {
         if (SpellEffectApplied != null)
         {
             SpellEffectApplied.CancelEffect();
             return(true);
         }
     }
     return(false);
 }