Skip to content

Duel.Remove ​

Source Code | Usage Examples | Duel Functions

Banishes a card or group (Card|Group targets) in position as supplied by (int pos) (nil means their current position), with (int reason) as reason, if (int player) is supplied, the destination would be that player's zone. If (int rp) is provided, sets the reason player to be that player. Returns the number of cards successfully banished.

Signature ​

Duel.Remove(Card|Group targets, int|nil pos, int reason, [int player = PLAYER_NONE, int rp = reason_player]) → int

lua
Duel.Remove(targets,pos,reason,player,rp)

Parameters ​

  • Card|Group targets ​

    (To be added)

  • int|nil pos ​

    (To be added)

  • int reason ​

    (To be added)

  • int player ​

    Optional. Defaults to PLAYER_NONE.

    (To be added)

  • int rp ​

    Optional. Defaults to reason_player.

    (To be added)

Returns ​


under-construction