Skip to content

Auxiliary.TuneMagicianCheckX ​

Signature ​

lua
Auxiliary.TuneMagicianCheckX(Card c, Group sg, int ecode) -> bool

Description ​

Checks whether c has an ecode effect whose value rejects at least one other card in selected group sg.

Parameters ​

  • c Card
  • sg Group
  • ecode int

Returns ​

  • bool

Source ​

  • Utilities/procedure.lua:447

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 5 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.TuneMagicianCheckX.
CardIDScriptDetected Calls
El Shaddoll Apkallone50907446Scripts/c50907446.lua1
El Shaddoll Meshachrer32467459Scripts/c32467459.lua1
Alba System Dogmatikalamity93053159Scripts/c93053159.lua1
Dragon Master Magia12381100Scripts/c12381100.lua1
Hyperinvoked Aeon33166263Scripts/c33166263.lua1

Script Examples ​

El Shaddoll Apkallone (50907446) ​

Source: Scripts/c50907446.lua

lua
function c50907446.FShaddollSpFilter2(c,fc,tp,mc,chkf)
	local sg=Group.FromCards(c,mc)
	if sg:IsExists(aux.TuneMagicianCheckX,1,nil,sg,EFFECT_TUNE_MAGICIAN_F) then return false end
	if not aux.MustMaterialCheck(sg,tp,EFFECT_MUST_BE_FMATERIAL) then return false end
	if aux.FCheckAdditional and not aux.FCheckAdditional(tp,sg,fc)

El Shaddoll Meshachrer (32467459) ​

Source: Scripts/c32467459.lua

lua
	if gc and not g:IsContains(gc) then return false end
	if exg and g:FilterCount(aux.IsInGroup,nil,exg)>1 then return false end
	if g:IsExists(aux.TuneMagicianCheckX,1,nil,g,EFFECT_TUNE_MAGICIAN_F) then return false end
	if not aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_FMATERIAL) then return false end
	if aux.FCheckAdditional and not aux.FCheckAdditional(tp,g,fc)

Alba System Dogmatikalamity (93053159) ​

Source: Scripts/c93053159.lua

lua
	local sg=g:Clone()
	sg:AddCard(ec)
	if sg:IsExists(aux.TuneMagicianCheckX,1,nil,sg,EFFECT_TUNE_MAGICIAN_F) then return false end
	if gc and not sg:IsContains(gc) then return false end
	if aux.FCheckAdditional and not aux.FCheckAdditional(tp,sg,fc)