Commit 9ada8a16 authored by VanillaSalt's avatar VanillaSalt

fix

parent 1c8a501d
...@@ -55,7 +55,7 @@ function c17032740.spfilter(c,code) ...@@ -55,7 +55,7 @@ function c17032740.spfilter(c,code)
return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code) return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code)
end end
function c17032740.spcon(e,c) function c17032740.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<-2 then return false end if ft<-2 then return false end
...@@ -88,7 +88,13 @@ function c17032740.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -88,7 +88,13 @@ function c17032740.spop(e,tp,eg,ep,ev,re,r,rp,c)
tc=g1:Select(tp,1,1,nil):GetFirst() tc=g1:Select(tp,1,1,nil):GetFirst()
end end
g:AddCard(tc) g:AddCard(tc)
g1:Remove(Card.IsCode,nil,tc:GetCode()) if tc:IsFusionCode(89943723) then
g1:Remove(Card.IsFusionCode,nil,89943723)
elseif tc:IsFusionCode(43237273) then
g1:Remove(Card.IsFusionCode,nil,43237273)
elseif tc:IsFusionCode(17732278) then
g1:Remove(Card.IsFusionCode,nil,17732278)
end
ft=ft+1 ft=ft+1
end end
local cg=g:Filter(Card.IsFacedown,nil) local cg=g:Filter(Card.IsFacedown,nil)
...@@ -97,10 +103,10 @@ function c17032740.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -97,10 +103,10 @@ function c17032740.spop(e,tp,eg,ep,ev,re,r,rp,c)
end end
Duel.SendtoDeck(g,nil,2,REASON_COST) Duel.SendtoDeck(g,nil,2,REASON_COST)
end end
function c17032740.retcon1(e,tp,eg,ep,ev,re,r,rp,chk) function c17032740.retcon1(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsHasEffect(42015635) return not e:GetHandler():IsHasEffect(42015635)
end end
function c17032740.retcon2(e,tp,eg,ep,ev,re,r,rp,chk) function c17032740.retcon2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsHasEffect(42015635) return e:GetHandler():IsHasEffect(42015635)
end end
function c17032740.rettg(e,tp,eg,ep,ev,re,r,rp,chk) function c17032740.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -63,7 +63,7 @@ function c49352945.spfilter(c,code) ...@@ -63,7 +63,7 @@ function c49352945.spfilter(c,code)
return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code) return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code)
end end
function c49352945.spcon(e,c) function c49352945.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<-2 then return false end if ft<-2 then return false end
...@@ -96,7 +96,13 @@ function c49352945.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -96,7 +96,13 @@ function c49352945.spop(e,tp,eg,ep,ev,re,r,rp,c)
tc=g1:Select(tp,1,1,nil):GetFirst() tc=g1:Select(tp,1,1,nil):GetFirst()
end end
g:AddCard(tc) g:AddCard(tc)
g1:Remove(Card.IsCode,nil,tc:GetCode()) if tc:IsFusionCode(89943723) then
g1:Remove(Card.IsFusionCode,nil,89943723)
elseif tc:IsFusionCode(17955766) then
g1:Remove(Card.IsFusionCode,nil,17955766)
elseif tc:IsFusionCode(54959865) then
g1:Remove(Card.IsFusionCode,nil,54959865)
end
ft=ft+1 ft=ft+1
end end
local cg=g:Filter(Card.IsFacedown,nil) local cg=g:Filter(Card.IsFacedown,nil)
...@@ -105,10 +111,10 @@ function c49352945.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -105,10 +111,10 @@ function c49352945.spop(e,tp,eg,ep,ev,re,r,rp,c)
end end
Duel.SendtoDeck(g,nil,2,REASON_COST) Duel.SendtoDeck(g,nil,2,REASON_COST)
end end
function c49352945.retcon1(e,tp,eg,ep,ev,re,r,rp,chk) function c49352945.retcon1(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsHasEffect(42015635) return not e:GetHandler():IsHasEffect(42015635)
end end
function c49352945.retcon2(e,tp,eg,ep,ev,re,r,rp,chk) function c49352945.retcon2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsHasEffect(42015635) return e:GetHandler():IsHasEffect(42015635)
end end
function c49352945.rettg(e,tp,eg,ep,ev,re,r,rp,chk) function c49352945.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -61,7 +61,7 @@ function c78512663.spfilter(c,code) ...@@ -61,7 +61,7 @@ function c78512663.spfilter(c,code)
return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code) return c:IsAbleToDeckOrExtraAsCost() and c:IsFusionCode(code)
end end
function c78512663.spcon(e,c) function c78512663.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<-2 then return false end if ft<-2 then return false end
...@@ -94,7 +94,13 @@ function c78512663.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -94,7 +94,13 @@ function c78512663.spop(e,tp,eg,ep,ev,re,r,rp,c)
tc=g1:Select(tp,1,1,nil):GetFirst() tc=g1:Select(tp,1,1,nil):GetFirst()
end end
g:AddCard(tc) g:AddCard(tc)
g1:Remove(Card.IsCode,nil,tc:GetCode()) if tc:IsFusionCode(89943723) then
g1:Remove(Card.IsFusionCode,nil,89943723)
elseif tc:IsFusionCode(89621922) then
g1:Remove(Card.IsFusionCode,nil,89621922)
elseif tc:IsFusionCode(80344569) then
g1:Remove(Card.IsFusionCode,nil,80344569)
end
ft=ft+1 ft=ft+1
end end
local cg=g:Filter(Card.IsFacedown,nil) local cg=g:Filter(Card.IsFacedown,nil)
...@@ -106,10 +112,10 @@ end ...@@ -106,10 +112,10 @@ end
function c78512663.atkval(e,c) function c78512663.atkval(e,c)
return Duel.GetFieldGroupCount(0,LOCATION_ONFIELD,LOCATION_ONFIELD)*400 return Duel.GetFieldGroupCount(0,LOCATION_ONFIELD,LOCATION_ONFIELD)*400
end end
function c78512663.retcon1(e,tp,eg,ep,ev,re,r,rp,chk) function c78512663.retcon1(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsHasEffect(42015635) return not e:GetHandler():IsHasEffect(42015635)
end end
function c78512663.retcon2(e,tp,eg,ep,ev,re,r,rp,chk) function c78512663.retcon2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsHasEffect(42015635) return e:GetHandler():IsHasEffect(42015635)
end end
function c78512663.rettg(e,tp,eg,ep,ev,re,r,rp,chk) function c78512663.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -38,7 +38,7 @@ function c91998119.spfilter(c,code) ...@@ -38,7 +38,7 @@ function c91998119.spfilter(c,code)
return c:IsFusionCode(code) and c:IsAbleToRemoveAsCost() return c:IsFusionCode(code) and c:IsAbleToRemoveAsCost()
end end
function c91998119.spcon(e,c) function c91998119.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft<-2 then return false end if ft<-2 then return false end
...@@ -71,7 +71,13 @@ function c91998119.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -71,7 +71,13 @@ function c91998119.spop(e,tp,eg,ep,ev,re,r,rp,c)
tc=g1:Select(tp,1,1,nil):GetFirst() tc=g1:Select(tp,1,1,nil):GetFirst()
end end
g:AddCard(tc) g:AddCard(tc)
g1:Remove(Card.IsCode,nil,tc:GetCode()) if tc:IsFusionCode(62651957) then
g1:Remove(Card.IsFusionCode,nil,62651957)
elseif tc:IsFusionCode(65622692) then
g1:Remove(Card.IsFusionCode,nil,65622692)
elseif tc:IsFusionCode(64500000) then
g1:Remove(Card.IsFusionCode,nil,64500000)
end
ft=ft+1 ft=ft+1
end end
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
......
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