Auxiliary.bdgcon
Signature
lua
Auxiliary.bdgcon(Effect e, int tp, Group eg, int ep, int ev, Effect re, int r, int rp) -> boolDescription
Battle-destroying condition helper for a handler whose battle target is a monster in the Graveyard.
Parameters
eEffecttpintegGroupepintevintreEffectrintrpint
Returns
bool
Source
Utilities/utility.lua:777
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 12 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.bdgcon.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Alien Mother | 24104865 | Scripts/c24104865.lua | 1 |
| Toy Parade | 92607427 | Scripts/c92607427.lua | 1 |
| Number 39: Utopia, Emissary of Light | 76504386 | Scripts/c76504386.lua | 1 |
| Odd-Eyes Saber Dragon | 19221310 | Scripts/c19221310.lua | 1 |
| Draco Berserker of the Tenyi | 5041348 | Scripts/c5041348.lua | 1 |
| Stygian Street Patrol | 13521194 | Scripts/c13521194.lua | 1 |
| CXyz Skypalace Babylon | 49202331 | Scripts/c49202331.lua | 1 |
| Elemental HERO Shining Flare Wingman | 25366484 | Scripts/c25366484.lua | 1 |
| Divine Dragon - Excelion | 10032958 | Scripts/c10032958.lua | 1 |
| Cyber Angel Benten | 77235086 | Scripts/c77235086.lua | 1 |
| Evil HERO Inferno Wing | 22160245 | Scripts/c22160245.lua | 1 |
| Windaar, Sage of Gusto | 27944249 | Scripts/c27944249.lua | 1 |
Script Examples
Alien Mother (24104865)
Source: Scripts/c24104865.lua
lua
e:SetLabel(c:GetFieldID())
end
if aux.bdgcon(e,tp,eg,ep,ev,re,r,rp) then
g:AddCard(t)
t:RegisterFlagEffect(24104865,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_BATTLE,0,1)Toy Parade (92607427)
Source: Scripts/c92607427.lua
lua
end
function c92607427.atkcon(e,tp,eg,ep,ev,re,r,rp)
return aux.bdgcon(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler():IsChainAttackable(0)
end
function c92607427.atkop(e,tp,eg,ep,ev,re,r,rp)Number 39: Utopia, Emissary of Light (76504386)
Source: Scripts/c76504386.lua
lua
e2:SetCode(EVENT_BATTLE_DESTROYING)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCondition(aux.bdgcon)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)