Skip to content

Duel.SelectTribute

Source Code | Usage Examples | Duel Functions

Makes (int player) select a (int min) and (int max) number of tributes to be used for (Card c) to be summoned in the passed zones to to_player's field by also forcefully selecting the cards from mg. If cancelable is true and the selection is canceled, nil will be returned.

Signature

Duel.SelectTribute(int player, Card c, int min, int max, [Group mg, int to_player = player, int zone = 31, bool cancelable = false]) → Group

lua
Duel.SelectTribute(player,c,min,max,mg,to_player,zone,cancelable)

Parameters

  • int player

    (To be added)

  • Card c

    (To be added)

  • int min

    (To be added)

  • int max

    (To be added)

  • Group mg

    Optional.

    (To be added)

  • int to_player

    Optional. Defaults to player.

    (To be added)

  • int zone

    Optional. Defaults to 31.

    (To be added)

  • bool cancelable

    Optional. Defaults to false.

    (To be added)

Returns


under-construction