Commit ce505aed authored by Huangnan's avatar Huangnan

fix

parent d9dcf496
Pipeline #24119 passed with stages
in 27 minutes and 29 seconds
No preview for this file type
expansions/pics/20232005.jpg

52.1 KB | W: | H:

expansions/pics/20232005.jpg

60 KB | W: | H:

expansions/pics/20232005.jpg
expansions/pics/20232005.jpg
expansions/pics/20232005.jpg
expansions/pics/20232005.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50218105.jpg

75.5 KB | W: | H:

expansions/pics/50218105.jpg

69.8 KB | W: | H:

expansions/pics/50218105.jpg
expansions/pics/50218105.jpg
expansions/pics/50218105.jpg
expansions/pics/50218105.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50218111.jpg

75.7 KB | W: | H:

expansions/pics/50218111.jpg

65.2 KB | W: | H:

expansions/pics/50218111.jpg
expansions/pics/50218111.jpg
expansions/pics/50218111.jpg
expansions/pics/50218111.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50218112.jpg

76.6 KB | W: | H:

expansions/pics/50218112.jpg

74 KB | W: | H:

expansions/pics/50218112.jpg
expansions/pics/50218112.jpg
expansions/pics/50218112.jpg
expansions/pics/50218112.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -52,7 +52,7 @@ function c33332252.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetOperation(c33332251.spop2)
e1:SetOperation(c33332252.spop2)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
......
......@@ -39,7 +39,7 @@ function c33332253.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c33332253.filter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 and Duel.SendtoHand(g,nil,REASON_EFFECT) then
if e:GetHandler():GetFlagEffect(33332257)~=0 and Duel.SelectYesNo(tp,aux. Stringid(33332253,2)) then
if e:GetHandler():GetFlagEffect(33332257)~=0 and Duel.SelectYesNo(tp,aux. Stringid(33332253,2)) then
Duel.ConfirmCards(1-tp,g)
Duel.ShuffleHand(tp)
Duel.DiscardHand(tp,nil,1,1,REASON_EFFECT+REASON_DISCARD)
......@@ -57,18 +57,18 @@ function c33332253.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetOperation(c33332250.spop2)
e1:SetOperation(c33332253.spop2)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
function c33332253.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,33332253)
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,33332253,0xa552,TYPES_TOKEN_MONSTER,0,0,1,RACE_FISH,ATTRIBUTE_FIRE) then
local token=Duel.CreateToken(tp,33332253)
and Duel.IsPlayerCanSpecialSummonMonster(tp,33332257,0xa552,TYPES_TOKEN_MONSTER,0,0,1,RACE_FISH,ATTRIBUTE_FIRE) then
local token=Duel.CreateToken(tp,33332257)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(33332253,0))
e1:SetDescription(aux.Stringid(33332257,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMONA)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
......
......@@ -33,7 +33,7 @@ function c33332255.tgfilter(c)
return c:IsRace(RACE_FISH) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsAbleToGrave() and Duel.GetMZoneCount(tp,c)>0
end
function c33332255.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c33332255.tgfilter,tp,LOCATION_HAND+LOCATION_HAND,0,1,c)
if chk==0 then return Duel.IsExistingMatchingCard(c33332255.tgfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,c)
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
local g=Duel.GetMatchingGroup(c33332255.tgfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,c)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0)
......
......@@ -19,7 +19,6 @@ function c50220115.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetRange(LOCATION_GRAVE)
e1:SetTarget(c50220115.drtg)
e1:SetOperation(c50220115.drop)
c:RegisterEffect(e1)
......@@ -68,15 +67,15 @@ function c50220115.sprop(e,tp,eg,ep,ev,re,r,rp,c)
local tg=g:SelectSubGroup(tp,c50220115.fselect,false,2,2,tp,c)
Duel.SendtoGrave(tg,REASON_COST)
end
function c50220115.tdfilter(c,e,tp)
return c:IsSetCard(0xcb5) and c:IsAbleToDeck()
function c50220115.tdfilter(c)
return c:IsSetCard(0xcb5) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeck()
end
function c50220115.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c50220115.tdfilter(chkc) end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
and Duel.IsExistingTarget(c50220115.tdfilter,tp,LOCATION_GRAVE,0,3,e:GetHandler()) end
and Duel.IsExistingTarget(c50220115.tdfilter,tp,LOCATION_GRAVE,0,3,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,c50220115.tdfilter,tp,LOCATION_GRAVE,0,3,3,e:GetHandler())
local g=Duel.SelectTarget(tp,c50220115.tdfilter,tp,LOCATION_GRAVE,0,3,3,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end
......
......@@ -75,6 +75,7 @@ function c50223165.distg(e,c)
local seq,fid=e:GetLabel()
local tp=e:GetHandlerPlayer()
return aux.GetColumn(c,tp)==seq and c:GetFieldID()~=fid
and (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
end
function c50223165.disop(e,tp,eg,ep,ev,re,r,rp)
local tseq=e:GetLabel()
......
......@@ -71,7 +71,7 @@ function c71401008.op2(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(ctype+TYPE_CONTINUOUS)
tc:RegisterEffect(e1)
if c:IsRelateToEffect(e) and not c:IsImmuneToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
and Duel.SelectYesNo(tp,aux.Stringid(71401008,4)) then
and Duel.SelectYesNo(tp,aux.Stringid(71401008,2)) then
Duel.BreakEffect()
if Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then
local e2=Effect.CreateEffect(c)
......
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