Commit fdb00cda authored by Nemo Ma's avatar Nemo Ma

fix

parent 69482d2c
......@@ -48,7 +48,7 @@ end
function cm.retcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local tp=c:GetControler()
if chk==0 then return true end
if chk==0 then return c:IsAbleToRemoveAsCost() end
Duel.RegisterFlagEffect(tp,15000709,RESET_PHASE+PHASE_END,0,1,c:GetOriginalCodeRule())
if Duel.Remove(c,POS_FACEUP,REASON_COST+REASON_TEMPORARY)~=0 then
local e1=Effect.CreateEffect(c)
......
......@@ -36,7 +36,7 @@ function c9910088.disfilter(c,tp)
return c:IsDiscardable(REASON_EFFECT)
and Duel.IsExistingMatchingCard(c9910088.sumfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,c)
end
function c9910088.sumfilter(c,tp)
function c9910088.sumfilter(c)
return c:IsSummonable(true,nil) and c:IsRace(RACE_FAIRY)
end
function c9910088.operation(e,tp,eg,ep,ev,re,r,rp)
......@@ -45,7 +45,7 @@ function c9910088.operation(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
if Duel.IsExistingMatchingCard(c9910088.sumfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil)
if Duel.IsExistingMatchingCard(c9910088.disfilter,tp,LOCATION_HAND,0,1,nil,tp)
and Duel.SelectYesNo(tp,aux.Stringid(9910088,0)) then
Duel.BreakEffect()
Duel.ShuffleHand(tp)
......
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