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
sgThe subgroup being checked.
Effect
eThe effect performing the check.
int
tpThe player performing the check.
Group
mgThe full group that
sgbelongs to.