Commit f45f5069 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 88e397d7
......@@ -5,7 +5,7 @@ stages:
variables:
GIT_DEPTH: "1"
LAST_UPDATE_DATE: "2020.10.26"
CURRENT_UPDATE_DATE: "2020.11.7"
CURRENT_UPDATE_DATE: "2020.11.8"
redtext:
stage: prepare
......
......@@ -63,8 +63,11 @@ end
function cm.fselect(g,mc)
return g:IsContains(mc)
end
function cm.costfilter1(c)
return c:IsRace(RACE_INSECT) and c:IsAbleToRemoveAsCost()
end
function cm.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemoveAsCost,tp,LOCATION_GRAVE,0,nil)
local g=Duel.GetMatchingGroup(cm.costfilter1,tp,LOCATION_GRAVE,0,nil)
if chk==0 then return g:CheckSubGroup(cm.fselect,4,4,e:GetHandler()) end
local rg=g:SelectSubGroup(tp,cm.fselect,false,4,4,e:GetHandler())
Duel.Remove(rg,POS_FACEUP,REASON_COST)
......
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