Skip to content

Auxiliary.RegisterClientHint

Source Code | Auxiliary Functions

Auxiliary function to simplify registering EFFECT_FLAG_CLIENT_HINT to players. (Card c) is card that creates the HintMessage, (int property_code) are additional properties like EFFECT_FLAG_OATH (PLAYER_TARGET and CLIENT_HINT are the flags registered by default). (int reg. player) is the player that is registering the hint, to himself (int s) and/or the opponent (int o), with a description called from a string defined in (str). Additional resets, other than the default RESET_PHASE+PHASE_END, can be passed in (int reset_code) and its reset count (int ct).

Signature

Auxiliary.RegisterClientHint(Card c, int property_code, int reg.player, int s, int o, any str, int reset_code, int ct) → nil

lua
Auxiliary.RegisterClientHint(c,property_code,reg.player,s,o,str,reset_code,ct)

Parameters


under-construction