Skip to content

Duel.Equip ​

Source Code | Usage Examples | Duel Functions

A Player (int player) equips a Card (Card c1) to another Card (Card c2). When up is false, the equip card will not have its position changed face-up. is_step is for using with Duel.EquipComplete. Returns true if the equip is successful.

Signature ​

Duel.Equip(int player, Card c1, Card c2, [bool up = true, bool is_step = false]) → bool

lua
Duel.Equip(player,c1,c2,up,is_step)

Parameters ​

  • int player ​

    (To be added)

  • Card c1 ​

    (To be added)

  • Card c2 ​

    (To be added)

  • bool up ​

    Optional. Defaults to true.

    (To be added)

  • bool is_step ​

    Optional. Defaults to false.

    (To be added)

Returns ​


under-construction