Commit 036cda7e authored by mercury233's avatar mercury233 Committed by GitHub

fix ZS-希望賢者

parent 9e7acf6a
......@@ -71,8 +71,10 @@ function c31123642.repfilter(c,tp)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE)
end
function c31123642.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemove() and eg:IsExists(c31123642.repfilter,1,nil,tp) end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToRemove() and not c:IsStatus(STATUS_DESTROY_CONFIRMED)
and eg:IsExists(c31123642.repfilter,1,nil,tp) end
return Duel.SelectEffectYesNo(tp,c,96)
end
function c31123642.repval(e,c)
return c31123642.repfilter(c,e:GetHandlerPlayer())
......
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