Skip to content

XyzExtraOperation

subtype of function

An additional function to be executed when performing an Xyz Summon, before using the Xyz Materials (e.g. Digital Bug Corebage, Number 99: Utopic Dragon)

Functions that use this type as parameter

Functions that use this type as parameter

Signature

function(Effect e, int tp, int chk, Card mc) → bool

lua
function(e,tp,chk,mc)

Parameters

  • Effect e

    The Xyz Summon procedure effect.

  • int tp

    The player performing the Xyz Summon.

  • int chk

    Must be 0 when checking if the operation can be performed, and 1 when executing the operation.

  • Card mc

    The card being used as material.

Returns

  • bool

    If chk is 0, returns true if the operation can be performed.


xyz-related