public virtual void CancelEffect()
{
Active=false;
Component.DestroyImmediate (this);
}
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); }