Skip to content

Auxiliary.bdogcon ​

Signature ​

lua
Auxiliary.bdogcon(Effect e, int tp, Group eg, int ep, any ev, Effect re, any r, int rp) -> bool

Description ​

Condition helper for a battle-destroying monster: the handler is still related to battle, battled an opponent's monster, and that battle target is a monster in the GY.

Parameters ​

  • e Effect
  • tp int
  • eg Group
  • ep int
  • ev any
  • re Effect
  • r any
  • rp int

Returns ​

  • bool

Source ​

  • Utilities/utility.lua:783

Used By ​

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

  • Detected in 29 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.bdogcon.
CardIDScriptDetected Calls
Sunvine Thrasher91557476Scripts/c91557476.lua1
Ancient Warriors - Ambitious Cao De33545259Scripts/c33545259.lua1
Beginning Knight6628343Scripts/c6628343.lua1
Blackwing - Boreastorm the Wicked Wind10602628Scripts/c10602628.lua1
Goyo King84305651Scripts/c84305651.lua1
Dragon Knight of Creation87835759Scripts/c87835759.lua1
Vector Scare Archfiend13452889Scripts/c13452889.lua1
Black Luster Soldier - Super Soldier54484652Scripts/c54484652.lua1
Gladiator Beast Samnite2619149Scripts/c2619149.lua1
Goyo Chaser63364266Scripts/c63364266.lua1
BOXer61156777Scripts/c61156777.lua1
Masked HERO Divine Wind22093873Scripts/c22093873.lua1
Goyo Predator98637386Scripts/c98637386.lua1
Number 14: Greedy Sarameya21313376Scripts/c21313376.lua1
Sylvan Bladefender11682713Scripts/c11682713.lua1
Mermail Abyssnose282886Scripts/c282886.lua1
Heroic Challenger - War Hammer26885836Scripts/c26885836.lua1
Crimson Blader80321197Scripts/c80321197.lua1
Inferno Hammer17185260Scripts/c17185260.lua1
Blackwing - Shura the Blue Flame58820853Scripts/c58820853.lua1
Goyo Guardian7391448Scripts/c7391448.lua1
The Fabled Kokkator26704411Scripts/c26704411.lua1
Performapal Handsamuraiger55997110Scripts/c55997110.lua1
Flamvell Firedog23297235Scripts/c23297235.lua1
...and 5 more

Script Examples ​

Sunvine Thrasher (91557476) ​

Source: Scripts/c91557476.lua

lua
	e3:SetCode(EVENT_BATTLE_DESTROYING)
	e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
	e3:SetCondition(aux.bdogcon)
	e3:SetTarget(c91557476.sptg)
	e3:SetOperation(c91557476.spop)

Ancient Warriors - Ambitious Cao De (33545259) ​

Source: Scripts/c33545259.lua

lua
	e4:SetCode(EVENT_BATTLE_DESTROYING)
	e4:SetCountLimit(1,33545260)
	e4:SetCondition(aux.bdogcon)
	e4:SetTarget(c33545259.sptg2)
	e4:SetOperation(c33545259.spop2)

Beginning Knight (6628343) ​

Source: Scripts/c6628343.lua

lua
end
function c6628343.atcon(e,tp,eg,ep,ev,re,r,rp)
	return aux.bdogcon(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler():IsChainAttackable()
end
function c6628343.atop(e,tp,eg,ep,ev,re,r,rp)