Skip to content

Auxiliary.gffcheck ​

Signature ​

lua
Auxiliary.gffcheck(Group g, function f1, any a1, function f2, any a2) -> bool

Description ​

Checks a 2-card group against two filters in either order: one card must satisfy f1(c,a1) and the other f2(c,a2).

Parameters ​

  • g Group
  • f1 function
  • a1 any
  • f2 function
  • a2 any

Returns ​

  • bool - true if the two cards satisfy both filters in either order.

Source ​

  • Utilities/utility.lua:1160

Used By ​

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

  • Detected in 37 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.gffcheck.
CardIDScriptDetected Calls
Lubellion the Searing Dragon70534340Scripts/c70534340.lua1
Albion the Branded Dragon87746184Scripts/c87746184.lua1
Red-Eyes Slash Dragon21140872Scripts/c21140872.lua1
Dragon Master Magia12381100Scripts/c12381100.lua2
Windwitch - Crystal Bell25793414Scripts/c25793414.lua1
Red-Eyes Black Dragon Exceed17242022Scripts/c17242022.lua1
Black-Winged Assault Dragon73218989Scripts/c73218989.lua1
Thunder Dragon Titan41685633Scripts/c41685633.lua1
Synchro Fellowship43834302Scripts/c43834302.lua3
Blackwing - Aurora the Northern Lights4068622Scripts/c4068622.lua1
Phantasmal Lord Ultimitl Bishbaalkin90884403Scripts/c90884403.lua1
Ultimaya Tzolkin1686814Scripts/c1686814.lua1
Mirrorjade the Iceblade Dragon44146295Scripts/c44146295.lua2
Blue-Eyes Tyrant Dragon11443677Scripts/c11443677.lua1
Awakening of the Possessed - Nefariouser Archfiend65268179Scripts/c65268179.lua1
Sprind the Irondash Dragon1906812Scripts/c1906812.lua1
Titaniklad the Ash Dragon41373230Scripts/c41373230.lua1
Awakening of the Possessed - Gagigobyte74426895Scripts/c74426895.lua1
Dragunity Whirlwind89450409Scripts/c89450409.lua2
Albion the Sanctifire Dragon38811586Scripts/c38811586.lua1
D/D/D Sky King Zeus Ragnarok30998403Scripts/c30998403.lua2
Awakening of the Possessed - Greater Inari Fire92652813Scripts/c92652813.lua1
Blackwing - Twin Shadow69973414Scripts/c69973414.lua1
Awakening of the Possessed - Rasenryu410904Scripts/c410904.lua1
...and 13 more

Script Examples ​

Lubellion the Searing Dragon (70534340) ​

Source: Scripts/c70534340.lua

lua
end
function c70534340.branded_fusion_check(tp,sg,fc)
	return aux.gffcheck(sg,Card.IsFusionCode,68468459,Card.IsFusionAttribute,ATTRIBUTE_DARK)
end
function c70534340.spcon(e,tp,eg,ep,ev,re,r,rp)

Albion the Branded Dragon (87746184) ​

Source: Scripts/c87746184.lua

lua
end
function c87746184.branded_fusion_check(tp,sg,fc)
	return aux.gffcheck(sg,Card.IsFusionCode,68468459,Card.IsFusionAttribute,ATTRIBUTE_LIGHT)
end
function c87746184.condition(e,tp,eg,ep,ev,re,r,rp)

Red-Eyes Slash Dragon (21140872) ​

Source: Scripts/c21140872.lua

lua
c21140872.material_setcode=0x3b
function c21140872.red_eyes_fusion_check(tp,sg,fc)
	return aux.gffcheck(sg,Card.IsFusionCode,74677422,Card.IsRace,RACE_WARRIOR)
end
function c21140872.eqcon(e)