Commit 05e31ce9 authored by 未闻皂名's avatar 未闻皂名

2025/1/27 bug修复

parent 25de1f6f
Pipeline #32809 passed with stages
in 9 minutes and 21 seconds
......@@ -43,11 +43,14 @@ function cm.check(g,tp,fc,chkf)
end
--Base Atk & Def
function cm.adval(e)
return e:GetHandler():GetMaterialCount()*800
local c=e:GetHandler()
if c:IsSummonType(TYPE_FUSION) then return c:GetMaterialCount()*800
else return 0 end
end
--Multiple Attack
function cm.atkval(e)
local ct=e:GetHandler():GetMaterialCount()
if ct==0 then return 0
local c=e:GetHandler()
local ct=c:GetMaterialCount()
if not c:IsSummonType(TYPE_FUSION) or ct==0 then return 0
else return ct-1 end
end
\ No newline at end of file
......@@ -19,7 +19,8 @@ function cm.spfilter(c)
return aux.IsMaterialListCode(c,list[1])
end
function cm.exfilter(c)
return c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
return c:IsFusionAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_MACHINE)
and c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
end
function cm.matcheck(tp,sg,fc)
return sg:GetCount()<=5
......
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