Skip to content

Duel.Destroy

Source Code | Usage Examples | Duel Functions

Destroys a card or group (Card|Group targets) with (int reason) as reason, and sends the card in the location specified by (int dest). If (int rp) is passed, sets the reason player to be that player. Returns the number of cards successfully destroyed.

Signature

Duel.Destroy(Card|Group targets, int reason, [int dest, int rp]) → int

lua
Duel.Destroy(targets,reason,dest,rp)

Parameters

Returns


under-construction