Commit 520fbdd6 authored by mercury233's avatar mercury233 Committed by GitHub

fix タリホー!スプリガンズ!

parent f0b54398
...@@ -57,12 +57,12 @@ function c9175957.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,12 +57,12 @@ function c9175957.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft>1 and Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end if ft>1 and Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local ct=Duel.GetMatchingGroupCount(c9175957.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,nil,e,tp) local ct=Duel.GetMatchingGroupCount(aux.NecroValleyFilter(c9175957.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,nil,e,tp)
local spct=e:GetLabel() local spct=e:GetLabel()
if spct>0 and ct>=spct and ft>=spct if spct>0 and ct>=spct and ft>=spct
and Duel.SelectYesNo(tp,aux.Stringid(9175957,2)) then and Duel.SelectYesNo(tp,aux.Stringid(9175957,2)) then
Duel.BreakEffect() Duel.BreakEffect()
local sg=Duel.SelectMatchingCard(tp,c9175957.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,spct,spct,nil,e,tp) local sg=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c9175957.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,spct,spct,nil,e,tp)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end end
end end
......
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