Commit 3c4f90ca authored by Tachibana's avatar Tachibana

watele

parent f5e26b86
...@@ -86,9 +86,7 @@ function c85402430.xyzop(e,tp,chk) ...@@ -86,9 +86,7 @@ function c85402430.xyzop(e,tp,chk)
Duel.RegisterFlagEffect(tp,85402430,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,85402430,RESET_PHASE+PHASE_END,0,1)
end end
function c85402430.fl(c) function c85402430.fl(c)
return (c:IsSetCard(0x3e45) and c:IsType(TYPE_MONSTER) and c:IsCanBeXyzMaterial(nil) return (c:IsSetCard(0x3e45) and c:IsType(TYPE_MONSTER) and c:IsCanBeXyzMaterial(nil) and not c:IsExtraDeckMonster()) or c:IsSetCard(0x6e45)
-- and not c:IsExtraDeckMonster()
) or c:IsSetCard(0x6e45)
end end
function c85402430.sprcon(e,c) function c85402430.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -291,7 +289,6 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -291,7 +289,6 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ng=Duel.GetOperatedGroup() local ng=Duel.GetOperatedGroup()
ng:KeepAlive() ng:KeepAlive()
e:SetLabelObject(ng) e:SetLabelObject(ng)
e:SetLabel(ng:GetFirst():GetCode())
elseif Duel.GetMatchingGroupCount(c85402430.fllll2,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil)<=0 then elseif Duel.GetMatchingGroupCount(c85402430.fllll2,tp,LOCATION_DECK+LOCATION_GRAVE,0,nil)<=0 then
g:Remove(c85402430.chk2,nil) g:Remove(c85402430.chk2,nil)
local mg=g:Select(tp,1,1,nil) local mg=g:Select(tp,1,1,nil)
...@@ -306,7 +303,10 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -306,7 +303,10 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ng=Duel.GetOperatedGroup() local ng=Duel.GetOperatedGroup()
ng:KeepAlive() ng:KeepAlive()
e:SetLabelObject(ng) e:SetLabelObject(ng)
e:SetLabel(ng:GetFirst():GetCode()) local nc=ng:GetFirst()
if nc:IsType(TYPE_MONSTER) then
e:SetLabel(nc:GetCode())
end
end end
end end
function c85402430.filter1(c,e,tp) function c85402430.filter1(c,e,tp)
......
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