SubgroupCheck
subtype of function
A function used to check subgroups of a group.
Functions that use this type as parameter
Functions that use this type as parameter
aux.SelectUnselectGroup
- Checks if a group contains a subgroup that fulfills a function.
Functions that return this type
Functions that return this type
aux.dpcheck
- Creates a subgroup check function that checks card property uniqueness.
Signature
function(Group sg
, Effect e
, int tp
, Group mg
) → bool, bool
lua
function(sg,e,tp,mg)
Parameters
Group
sg
The subgroup being checked.
Effect
e
The effect performing the check.
int
tp
The player performing the check.
Group
mg
The full group that
sg
belongs to.