Commit a55639a3 authored by Momobako's avatar Momobako

Push by Appveyor

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