Commit a7e68ef5 authored by Crescent/毛虫's avatar Crescent/毛虫

Merge branch 'master' into 'master'

Fix ビック・バイパー Type-L and 超巨大戦艦 メタル・スレイブ

See merge request !238
parents 91e8a995 fcfa1e10
Pipeline #41143 passed with stages
in 1 minute and 31 seconds
......@@ -32,8 +32,8 @@ function s.costfilter(c)
return c:IsSetCard(0x15) and c:IsLevelBelow(10) and c:IsAbleToGraveAsCost()
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(s.costfilter,tp,LOCATION_DECK,0,nil)
if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_DECK,0,1,nil) end
local g=Duel.GetMatchingGroup(s.costfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil)
if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_DECK+LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tg=g:SelectSubGroup(tp,aux.dncheck,false,1,5)
Duel.SendtoGrave(tg,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