Skip to content

Card.SetReason

Source Code | Usage Examples | Card Functions

Sets the reason of "c" as "reason". If "keep" is set to true "c" will maintain the previous reason that it had.

Signature

Card.SetReason(Card c, int reason, [bool keep = false]) → nil

lua
c:SetReason(reason,keep)

Parameters

  • Card c

    (To be added)

  • int reason

    (To be added)

  • bool keep

    Optional. Defaults to false.

    (To be added)


under-construction