Commit e4440f24 authored by mercury233's avatar mercury233 Committed by GitHub

fix ブラックフェザー・アサルト・ドラゴン

parent 3a636a9b
......@@ -53,6 +53,9 @@ function c73218989.initial_effect(c)
c:RegisterEffect(e5)
end
c73218989.material_type=TYPE_SYNCHRO
function c73218989.mfilter(c)
return c:IsFaceupEx() and c:IsAbleToRemoveAsCost()
end
function c73218989.mfilter1(c)
return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and c:IsType(TYPE_MONSTER)
end
......@@ -65,11 +68,11 @@ end
function c73218989.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Duel.GetMatchingGroup(Card.IsAbleToRemoveAsCost,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
local g=Duel.GetMatchingGroup(c73218989.mfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
return g:CheckSubGroup(c73218989.fselect,2,2,c,tp)
end
function c73218989.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemoveAsCost,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
local g=Duel.GetMatchingGroup(c73218989.mfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:SelectSubGroup(tp,c73218989.fselect,true,2,2,c,tp)
if sg then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment