Skip to content

Debug.PreEquip

Source Code | Usage Examples | Debug Functions

In puzzles, equips one card to another. Will fail if the equip card is not in a Spell/Trap Zone, or if the equip target is not in a Monster Zone face-up.

Signature

Debug.PreEquip(Card equip_card, Card target) → bool

lua
Debug.PreEquip(equip_card,target)

Parameters

  • Card equip_card

    The card that will be equipped to another.

  • Card target

    The card that will receive the equip card.

Returns

  • bool

    Returns true if the card was successfully equipped.