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); }
public override bool UnEquipEvent(int slotNo) { if ((slotNo >= 0) && (slotNo <= 4)) { if (SpellEffectApplied != null) { SpellEffectApplied.CancelEffect(); return(true); } } return(false); }