Commit a55639a3 authored by Momobako's avatar Momobako

Push by Appveyor

parent 0daf3075
...@@ -48,10 +48,10 @@ function c17060870.IsMillion_Arthur(c) ...@@ -48,10 +48,10 @@ function c17060870.IsMillion_Arthur(c)
return m and m.is_named_with_Million_Arthur return m and m.is_named_with_Million_Arthur
end end
function c17060870.linkfilter1(c,tp) function c17060870.linkfilter1(c,tp)
return c:IsFaceup() and Duel.IsExistingMatchingCard(c17060870.linkfilter2,tp,LOCATION_MZONE,0,1,c,c) return c:IsFaceup() and c:IsType(TYPE_PENDULUM) and Duel.IsExistingMatchingCard(c17060870.linkfilter2,tp,LOCATION_MZONE,0,1,c,c)
end end
function c17060870.linkfilter2(c,lc) function c17060870.linkfilter2(c,lc)
return c:IsFaceup() and not c:IsAttribute(lc:GetAttribute()) return c:IsFaceup() and c:IsType(TYPE_PENDULUM) and not c:IsAttribute(lc:GetAttribute())
end end
function c17060870.linkcon(e,c) function c17060870.linkcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -13,6 +13,7 @@ function c22240123.initial_effect(c) ...@@ -13,6 +13,7 @@ function c22240123.initial_effect(c)
e1:SetOperation(c22240123.xyzop) e1:SetOperation(c22240123.xyzop)
e1:SetValue(SUMMON_TYPE_XYZ) e1:SetValue(SUMMON_TYPE_XYZ)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22240123,1)) e1:SetDescription(aux.Stringid(22240123,1))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
...@@ -174,6 +175,8 @@ function c22240123.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -174,6 +175,8 @@ function c22240123.thop(e,tp,eg,ep,ev,re,r,rp)
if xyzg:GetCount()>0 then if xyzg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local xyz=xyzg:Select(tp,1,1,nil):GetFirst() local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
Duel.XyzSummon(tp,xyz,g) Duel.SpecialSummon(xyz,SUMMON_TYPE_XYZ,tp,tp,false,false,POS_FACEUP)
Duel.Overlay(xyz,g)
xyz:CompleteProcedure()
end end
end end
\ No newline at end of file
...@@ -17,8 +17,9 @@ function c22240124.initial_effect(c) ...@@ -17,8 +17,9 @@ function c22240124.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22240124,1)) e1:SetDescription(aux.Stringid(22240124,1))
e1:SetCategory(CATEGORY_RELEASE) e1:SetCategory(CATEGORY_RELEASE)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetCost(c22240124.relcost) e1:SetCost(c22240124.relcost)
...@@ -85,11 +86,11 @@ end ...@@ -85,11 +86,11 @@ end
function c22240124.tdtg(e,tp,eg,ep,ev,re,r,rp,chk) function c22240124.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c22240124.mafilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c22240124.mafilter,tp,LOCATION_DECK,0,1,nil) end
end end
function c22240124.xyzfilter(c,tp) function c22240124.xyzfilter1(c,tp)
return c22240124.IsSolid(c) and c:IsType(TYPE_XYZ) return c22240124.IsSolid(c) and c:IsType(TYPE_XYZ)
end end
function c22240124.tdop(e,tp,eg,ep,ev,re,r,rp) function c22240124.tdop(e,tp,eg,ep,ev,re,r,rp)
local xyzg=Duel.GetMatchingGroup(c22240124.xyzfilter,tp,LOCATION_MZONE,0,nil) local xyzg=Duel.GetMatchingGroup(c22240124.xyzfilter1,tp,LOCATION_MZONE,0,nil)
local m=xyzg:GetCount() local m=xyzg:GetCount()
local mag=Duel.SelectMatchingCard(tp,c22240124.mafilter,tp,LOCATION_DECK,0,1,m,nil) local mag=Duel.SelectMatchingCard(tp,c22240124.mafilter,tp,LOCATION_DECK,0,1,m,nil)
while mag:GetCount()>0 and xyzg:GetCount()>0 do while mag:GetCount()>0 and xyzg:GetCount()>0 do
......
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