Commit 135b46aa authored by Tachibana's avatar Tachibana

ybb

parent fb6a7eb9
Pipeline #10149 failed with stages
in 11 minutes and 25 seconds
No preview for this file type
......@@ -400,11 +400,14 @@ function bm.SelectGroup(tp,desc,g,f,cg,min,max,...)
return sg
end
function bm.matfilter1(c,syncard,tp)
if syncard:IsOriginalCodeRule(23000630) and not c:IsCode(23000640) then return false end
if c:IsFacedown() and not c:GetEquipTarget() then return false end
if bm.othermatfilter(c) then return true end
return c:IsSetCard(tcode) and c:IsSynchroType(TYPE_TUNER) and c:IsCanBeSynchroMaterial(syncard) and (c:IsFaceup() or not c:IsLocation(LOCATION_MZONE))
return (c:IsSetCard(tcode) or syncard:IsOriginalCodeRule(23000640)) and c:IsSynchroType(TYPE_TUNER) and c:IsCanBeSynchroMaterial(syncard) and (c:IsFaceup() or not c:IsLocation(LOCATION_MZONE))
end
function bm.matfilter2(c,syncard)
if syncard:IsOriginalCodeRule(23000630) and not c:IsSynchroType(TYPE_SYNCHRO) then return false end
if syncard:IsOriginalCodeRule(23000640) and not c:IsCode(23000620) then return false end
return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsNotTuner(syncard) and c:IsCanBeSynchroMaterial(syncard)
and (c:IsFaceup() or not c:IsLocation(LOCATION_MZONE))
end
......@@ -425,6 +428,7 @@ function bm.s.con(e,c,tuner,mg)
local tp=c:GetControler()
local minc=2
local maxc=c:GetLevel()
if c:IsOriginalCodeRule(23000640) then maxc=2 end
local g1=nil
local g2=nil
local g3=nil
......@@ -449,6 +453,7 @@ end
function bm.s.tg(e,tp,eg,ep,ev,re,r,rp,chk,c,tuner,mg)
local minc=2
local maxc=c:GetLevel()
if c:IsOriginalCodeRule(23000640) then maxc=2 end
local g1=nil
local g2=nil
local g3=nil
......
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