Skip to content

Duel.GetCurrentChain

Source Code | Duel Functions

Returns the number of the current chain link. If real chain is true, then it will return the number of ACTUAL chains that have already formed, so in a target or cost function, it will not include the current chain in this count, while with that parameter as false the current chain will be included as well. Set this when you need to check for the current chain in an effect condition.

Signature

Duel.GetCurrentChain([bool real_chain = false]) → int

lua
Duel.GetCurrentChain(real_chain)

Parameters

  • bool real_chain

    Optional. Defaults to false.

    (To be added)

Returns


under-construction