Skip to content

Card.IsHasEffect

Source Code | Card Functions

Checks if a (Card c) has an effect with code (int code). Returns all the effects found with that code, or nil if the effect is not found. (int player), if provided, is used to check the effect's count limit

Signature

Card.IsHasEffect(Card c, int code, [int player = PLAYER_NONE]) → Effect, |, nil, any

lua
c:IsHasEffect(code,player)

Parameters

  • Card c

    (To be added)

  • int code

    (To be added)

  • int player

    Optional. Defaults to PLAYER_NONE.

    (To be added)

Returns


under-construction