Commit 91655c24 authored by gg123gg's avatar gg123gg Committed by GitHub

fix

parent 1778473c
......@@ -80,7 +80,7 @@ function c12026021.spop1(e,tp,eg,ep,ev,re,r,rp)
e12:SetValue(0xfbb)
g:GetFirst():RegisterEffect(e12)
Duel.BreakEffect()
if Duel.IsExistingMatchingCard(c12026021.ckfilter,tp,LOCATION_MZONE,0,1,nil) then
if Duel.IsExistingMatchingCard(c12026021.ckfilter,tp,LOCATION_MZONE,0,1,nil,tp) then
local fg=Duel.GetMatchingGroup(aux.NecroValleyFilter(c12026021.ffilter),tp,LOCATION_GRAVE,LOCATION_GRAVE,nil)
if fg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(12026021,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
......@@ -96,4 +96,4 @@ end
function c12026021.ckfilter(c,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x1fbd)
and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_MZONE,0,1,c,0xfbb)
end
\ No newline at end of file
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