Commit 0015e0bd authored by Huangnan's avatar Huangnan

fix

parent ea241d48
Pipeline #24201 passed with stages
in 32 minutes and 22 seconds
......@@ -3,7 +3,7 @@ if c23000400 then return end
c23000400=c23000400 or {}
local m = 23000400
local bm = _G["c"..m]
local Version_Number=20231002
local Version_Number=20231127
local tcode=0x364
--Instructions about how to use this
--[[
......@@ -416,7 +416,7 @@ 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) and c:IsLocation(sz) then return true end
return (c:IsSetCard(tcode) or syncard:IsOriginalCodeRule(23000640,23000650)) and c:IsTuner() and c:IsCanBeSynchroMaterial(syncard) and (c:IsFaceup() or not c:IsLocation(LOCATION_MZONE))
return (c:IsSetCard(tcode) or syncard:IsOriginalCodeRule(23000640) or syncard:IsOriginalCodeRule(23000650)) and c:IsTuner(syncard) 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
......
......@@ -70,8 +70,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
function cm.slevel(e,c)
local lv=e:GetHandler():GetLevel()
return 1*65536+lv and c:IsCode(23000640)
local lv=aux.GetCappedLevel(e:GetHandler())
if not c:IsCode(23000640) then return lv end
return (2<<16)+lv
end
function cm.cfilter(c)
return bm.c.cpos(c,tcode) and not c:IsType(TYPE_TUNER)
......
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