Commit 5168bd26 authored by Amiya's avatar Amiya

修复

parent c127d6ed
Pipeline #37558 failed with stages
in 5 minutes and 37 seconds
......@@ -76,7 +76,7 @@ function s.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(s.spfilter2,tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_EXTRA,0,nil,e,tp,c:IsReleasable(),c)
if chk==0 then return g:GetCount()>0 end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsReleasable() and g:IsExists(Card.IsLocation,1,nil,LOCATION_HAND) and not Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and g:IsExists(Card.IsLocation,1,nil,LOCATION_HAND) and (not c:IsReleasable() or not Duel.SelectYesNo(tp,aux.Stringid(id,2))) then
e:SetLabel(0)
else
Duel.Release(c,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