Auxiliary.bfgcost
Signature
lua
Auxiliary.bfgcost(Effect e, int tp, Group eg, int ep, any ev, Effect re, any r, int rp, bool chk) -> voidDescription
Shared cost function that checks whether the handler can be banished as cost, then banishes it face-up as REASON_COST.
Parameters
eEffecttpintegGroupepintevanyreEffectranyrpintchkbool
Source
Utilities/utility.lua:1124
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 780 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.bfgcost.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e2:SetCountLimit(1,id)
e2:SetCost(aux.bfgcost)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)Surprise Fusion (35167375)
Source: Scripts/c35167375.lua
lua
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,id)
e2:SetCost(aux.bfgcost)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)Spellbook of the Grand Circle (11911336)
Source: Scripts/c11911336.lua
lua
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,id+o)
e2:SetCost(aux.bfgcost)
e2:SetTarget(s.fustg)
e2:SetOperation(s.fusop)