Commit b37a77aa authored by TanakaKotoha's avatar TanakaKotoha

iidx goooooooooooooooold

parent 0d529d42
...@@ -31,7 +31,7 @@ function c65072026.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -31,7 +31,7 @@ function c65072026.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local gn=g:GetCount() local gn=g:GetCount()
if chk==0 then return Duel.IsExistingMatchingCard(c65072026.costfil,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingTarget(Card.IsAbleToDeck,tp,0,LOCATION_ONFIELD,1,nil,e) end if chk==0 then return Duel.IsExistingMatchingCard(c65072026.costfil,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingTarget(Card.IsAbleToDeck,tp,0,LOCATION_ONFIELD,1,nil,e) end
Duel.Hint(HINT_MUSIC,0,aux.Stringid(65072026,0)) Duel.Hint(HINT_MUSIC,0,aux.Stringid(65072026,0))
local num=Duel.GetMatchingGroup(c65072026.tgfil,tp,0,LOCATION_ONFIELD,nil,e) local num=Duel.GetMatchingGroupCount(c65072026.tgfil,tp,0,LOCATION_ONFIELD,nil,e)
if gn>num then gn=num end if gn>num then gn=num end
local tgg=Duel.SelectMatchingCard(tp,c65072026.costfil,tp,LOCATION_DECK,0,1,gn,nil) local tgg=Duel.SelectMatchingCard(tp,c65072026.costfil,tp,LOCATION_DECK,0,1,gn,nil)
Duel.SendtoGrave(tgg,REASON_COST) Duel.SendtoGrave(tgg,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