Commit 4e125d56 authored by Momobako's avatar Momobako

Push by Appveyor

parent 50b4823b
......@@ -52,6 +52,7 @@ end
function c22240121.xyzcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
if Duel.IsPlayerAffectedByEffect(tp,EFFECT_MUST_BE_XMATERIAL) then return false end
local olg=Duel.GetMatchingGroup(c22240121.xyzfilter,tp,LOCATION_SZONE,0,nil,c)
if olg:GetCount()>=2 and Duel.GetLocationCountFromEx(tp,tp,olg,c)>0 then return true end
end
......
......@@ -55,6 +55,7 @@ end
function c22240122.xyzcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
if Duel.IsPlayerAffectedByEffect(tp,EFFECT_MUST_BE_XMATERIAL) then return false end
local olg=Duel.GetMatchingGroup(c22240122.xyzfilter,tp,LOCATION_SZONE,0,nil,c)
if olg:GetCount()>=2 and Duel.GetLocationCountFromEx(tp,tp,olg,c)>0 then return true end
end
......
......@@ -49,6 +49,7 @@ end
function c22240123.xyzcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
if Duel.IsPlayerAffectedByEffect(tp,EFFECT_MUST_BE_XMATERIAL) then return false end
local olg=Duel.GetMatchingGroup(c22240123.xyzfilter,tp,LOCATION_SZONE,0,nil,c)
if olg:GetCount()>=2 and Duel.GetLocationCountFromEx(tp,tp,olg,c)>0 then return true end
end
......
......@@ -49,6 +49,7 @@ end
function c22240124.xyzcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
if Duel.IsPlayerAffectedByEffect(tp,EFFECT_MUST_BE_XMATERIAL) then return false end
local olg=Duel.GetMatchingGroup(c22240124.xyzfilter,tp,LOCATION_SZONE,0,nil,c)
if olg:GetCount()>=2 and Duel.GetLocationCountFromEx(tp,tp,olg,c)>0 then return true end
end
......
......@@ -53,7 +53,7 @@ end
function c22252201.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
c22252201.announce_filter2={22251001,OPCODE_ISCODE,22251002,OPCODE_ISCODE,22251101,OPCODE_ISCODE,22251201,OPCODE_ISCODE,22251501,OPCODE_ISCODE,22252001,OPCODE_ISCODE,22252101,OPCODE_ISCODE,22252201,OPCODE_ISCODE,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR}
c22252201.announce_filter2={22251001,OPCODE_ISCODE,22251002,OPCODE_ISCODE,22251101,OPCODE_ISCODE,22251201,OPCODE_ISCODE,22251501,OPCODE_ISCODE,22252001,OPCODE_ISCODE,22252101,OPCODE_ISCODE,22252201,OPCODE_ISCODE,22251102,OPCODE_ISCODE,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR,OPCODE_OR}
local ac=Duel.AnnounceCardFilter(tp,table.unpack(c22252201.announce_filter2))
c:SetHint(CHINT_CARD,ac)
--tohand
......
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