Commit fbde5510 authored by Tachibana's avatar Tachibana

eme

parent 8928a620
......@@ -56,7 +56,7 @@ function c12030001.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function c12030001.disfilter1(c)
return c:IsType(TYPE_MONSTER) and not c:IsDisabled()
return c:IsType(TYPE_MONSTER) and not c:IsDisabled() and c:IsFaceup()
end
function c12030001.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) and c12030001.disfilter1(chkc) end
......
......@@ -101,7 +101,7 @@ function c33200032.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(c33200032.repfilter,1,nil,tp)
and e:GetHandler():GetFlagEffect(33200032)==0 end
if Duel.SelectYesNo(tp,aux.Stringid(33200032,0)) then
local g=eg:Filter(c33200032.repfilter,nil)
local g=eg:Filter(c33200032.repfilter,nil,tp)
g:KeepAlive()
e:SetLabelObject(g)
return true
......
......@@ -50,13 +50,8 @@ function c33200069.activate(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_ATOHAND)
local sg=g:FilterSelect(tp,c33200069.filter,1,1,nil,e,tp)
if sg:GetFirst():IsAbleToHand() then
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-p,sg)
Duel.ShuffleHand(p)
else
Duel.SendtoGrave(sg,REASON_RULE)
end
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-p,sg)
Duel.ShuffleDeck(p)
end
end
......
......@@ -97,7 +97,6 @@ function c33200258.setop(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_PHASE+PHASE_END)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1)
e2:SetOperation(c33200258.thop)
......
......@@ -49,7 +49,6 @@ function c33200263.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local sg=g:SelectSubGroup(tp,aux.dncheck,false,3,3)
Duel.ConfirmCards(1-tp,sg)
Duel.ShuffleDeck(tp)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_ATOHAND)
local tg=sg:Select(1-tp,1,1,nil)
Duel.SendtoHand(tg,nil,REASON_EFFECT)
......
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