Auxiliary.bdogcon
Signature
lua
Auxiliary.bdogcon(Effect e, int tp, Group eg, int ep, any ev, Effect re, any r, int rp) -> boolDescription
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
eEffecttpintegGroupepintevanyreEffectranyrpint
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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Sunvine Thrasher | 91557476 | Scripts/c91557476.lua | 1 |
| Ancient Warriors - Ambitious Cao De | 33545259 | Scripts/c33545259.lua | 1 |
| Beginning Knight | 6628343 | Scripts/c6628343.lua | 1 |
| Blackwing - Boreastorm the Wicked Wind | 10602628 | Scripts/c10602628.lua | 1 |
| Goyo King | 84305651 | Scripts/c84305651.lua | 1 |
| Dragon Knight of Creation | 87835759 | Scripts/c87835759.lua | 1 |
| Vector Scare Archfiend | 13452889 | Scripts/c13452889.lua | 1 |
| Black Luster Soldier - Super Soldier | 54484652 | Scripts/c54484652.lua | 1 |
| Gladiator Beast Samnite | 2619149 | Scripts/c2619149.lua | 1 |
| Goyo Chaser | 63364266 | Scripts/c63364266.lua | 1 |
| BOXer | 61156777 | Scripts/c61156777.lua | 1 |
| Masked HERO Divine Wind | 22093873 | Scripts/c22093873.lua | 1 |
| Goyo Predator | 98637386 | Scripts/c98637386.lua | 1 |
| Number 14: Greedy Sarameya | 21313376 | Scripts/c21313376.lua | 1 |
| Sylvan Bladefender | 11682713 | Scripts/c11682713.lua | 1 |
| Mermail Abyssnose | 282886 | Scripts/c282886.lua | 1 |
| Heroic Challenger - War Hammer | 26885836 | Scripts/c26885836.lua | 1 |
| Crimson Blader | 80321197 | Scripts/c80321197.lua | 1 |
| Inferno Hammer | 17185260 | Scripts/c17185260.lua | 1 |
| Blackwing - Shura the Blue Flame | 58820853 | Scripts/c58820853.lua | 1 |
| Goyo Guardian | 7391448 | Scripts/c7391448.lua | 1 |
| The Fabled Kokkator | 26704411 | Scripts/c26704411.lua | 1 |
| Performapal Handsamuraiger | 55997110 | Scripts/c55997110.lua | 1 |
| Flamvell Firedog | 23297235 | Scripts/c23297235.lua | 1 |
| ...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)