MV Equip Conditions (Switches and Variables)

I'm trying to add a card equip requirement on TMCard. Here's the code:

JavaScript:
    // wether to include the card in the list
    Window_DeckEditItem.prototype.includes = function(item) {
        if (item === null) return true;
        if (item.meta.cardCost == null) return false;
        if (TMPlugin.Card.UseItemCard && this._slotId === $gameParty.maxCard()) {
            return +item.meta.cardType === 4;
        }
        return +item.meta.cardType < 4;
    };
    // wether to show the card in the list
    Window_DeckEditItem.prototype.isEnabled = function(item) {
        if (item === null) return true;
        if (!TMPlugin.Card.SameCard && this._otherSlotCardIds.contains(item.id)) {
            return false;
        }
        return this._capacity >= +item.meta.cardCost && item.id !== this._currentCardId;
    };

I am quite lost when i check conditional equip requirements plugin.. I just need the part where
if cardType === 1 && gameswitch 40 is ON
if cardType === 2 && gameswitch 41 is ON
if cardType === 3 && gameswitch 42 is ON
if cardType === 4 && gameswitch 43 is ON

then when Var ID = 110 = 1 or =2 = 3 ; Var ID 110 is "player level"

or a case switch case with they're card id
switch (id)
case 1 : custom condition

I hope someone can help me thank you.

I tried doing this and nothing happens
1631685756832.png

Original thread: https://forums.rpgmakerweb.com/threads/equip-conditions-switches-and-variables.140470/