Commit aafa6994 authored by Nemo Ma's avatar Nemo Ma

fix

parent 4f9ba10a
......@@ -23,8 +23,8 @@ function c112538374.initial_effect(c)
e4:SetCategory(CATEGORY_TODECK)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e4:SetRange(LOCATION_REMOVED)
e4:SetCountLimit(1,112538574)
e4:SetCode(EVENT_PHASE+PHASE_END)
e4:SetCountLimit(1,112538574)
e4:SetCondition(c112538374.retcon)
e4:SetTarget(c112538374.rettg)
e4:SetOperation(c112538374.retop)
......@@ -94,10 +94,9 @@ function c112538374.retfilter(c)
return c:IsRace(RACE_AQUA) and c:IsAbleToDeck()
end
function c112538374.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c112538374.retfilter,tp,LOCATION_GRAVE,0,1,nil) and c:IsAbleToDeck() end
if chk==0 then return true end
local g=Duel.GetMatchingGroup(c112538374.retfilter,tp,LOCATION_GRAVE,0,nil)
g:AddCard(c)
g:AddCard(e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,2,0,LOCATION_GRAVE+LOCATION_REMOVED)
end
function c112538374.retop(e,tp,eg,ep,ev,re,r,rp)
......@@ -111,7 +110,7 @@ function c112538374.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
sg:Merge(g:Select(tp,1,1,nil))
end
if sg:GetCount()>0 then
if sg:GetCount()==2 then
Duel.SendtoDeck(sg,nil,2,REASON_EFFECT)
end
end
......
......@@ -11,6 +11,7 @@ function c22050180.initial_effect(c)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON)
e1:SetCountLimit(1,22050180)
e1:SetCondition(c22050180.dscon)
e1:SetCost(c22050180.cost)
e1:SetTarget(c22050180.dstg)
......@@ -18,6 +19,7 @@ function c22050180.initial_effect(c)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON)
e2:SetCountLimit(1,22050180)
c:RegisterEffect(e2)
--xyz
local e3=Effect.CreateEffect(c)
......
......@@ -30,7 +30,7 @@ function c22050210.initial_effect(c)
--end battle phase
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(22050210,1))
e3:SetType(EFFECT_TYPE_TRIGGER_O)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,22050211)
e3:SetCode(EVENT_DESTROYED)
......@@ -83,7 +83,9 @@ function c22050210.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c22050210.cfilter,1,nil,tp)
end
function c22050210.operation1(e,tp,eg,ep,ev,re,r,rp)
Duel.SkipPhase(1-tp,PHASE_MAIN1,RESET_PHASE+PHASE_END,1,1)
Duel.SkipPhase(1-tp,PHASE_BATTLE,RESET_PHASE+PHASE_END,1,1)
Duel.SkipPhase(1-tp,PHASE_MAIN2,RESET_PHASE+PHASE_END,1)
local turnp=Duel.GetTurnPlayer()
Duel.SkipPhase(turnp,PHASE_MAIN1,RESET_PHASE+PHASE_END,1)
Duel.SkipPhase(turnp,PHASE_BATTLE,RESET_PHASE+PHASE_END,1,1)
Duel.SkipPhase(turnp,PHASE_MAIN2,RESET_PHASE+PHASE_END,1)
end
......@@ -17,7 +17,7 @@ function c22050310.initial_effect(c)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,22050310)
e2:SetCountLimit(1,22050311)
e2:SetCost(aux.bfgcost)
e2:SetTarget(c22050310.thtg)
e2:SetOperation(c22050310.thop)
......
......@@ -18,7 +18,6 @@ function cm.initial_effect(c)
e3:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_FZONE)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCountLimit(1)
e3:SetTarget(cm.drtg)
e3:SetOperation(cm.drop)
......
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