Commit 5621d021 authored by POLYMER's avatar POLYMER

fix

parent 21d45d9a
......@@ -46,6 +46,7 @@ function c9911353.repop(e,tp,eg,ep,ev,re,r,rp)
if ct>2 then ct=2 end
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_CONFIRM)
local sg=g:Select(1-tp,ct,ct,nil)
Duel.ConfirmCards(tp,sg)
for tc in aux.Next(sg) do
tc:RegisterFlagEffect(9911353,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,66)
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -71,6 +71,7 @@ function c9911367.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local tc=g:RandomSelect(tp,1):GetFirst()
if tc then
Duel.ConfirmCards(tp,tc)
tc:RegisterFlagEffect(9911368,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,66)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -78,6 +79,8 @@ function c9911367.sumcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
Duel.AdjustAll()
Duel.ShuffleHand(1-tp)
end
function c9911367.sumfilter(c)
return c:IsAttribute(ATTRIBUTE_WATER) and c:IsSummonable(true,nil)
......
......@@ -96,9 +96,6 @@ function c9911370.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c9911370.filter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,g)
end
function c9911370.filter2(c,e)
return c:IsRelateToEffect(e) and c:IsFaceup()
end
function c9911370.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e):Filter(Card.IsFaceup,nil)
......
......@@ -32,6 +32,7 @@ function c9911386.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local tc=g:RandomSelect(tp,1):GetFirst()
if tc then
Duel.ConfirmCards(tp,tc)
tc:RegisterFlagEffect(9911368,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,66)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
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