Commit 8dc44984 authored by 未闻皂名's avatar 未闻皂名

2025/1/27 bug修复

parent 05e31ce9
Pipeline #32810 passed with stages
in 8 minutes and 46 seconds
......@@ -44,13 +44,13 @@ end
--Base Atk & Def
function cm.adval(e)
local c=e:GetHandler()
if c:IsSummonType(TYPE_FUSION) then return c:GetMaterialCount()*800
if c:IsSummonType(SUMMON_TYPE_FUSION) then return c:GetMaterialCount()*800
else return 0 end
end
--Multiple Attack
function cm.atkval(e)
local c=e:GetHandler()
local ct=c:GetMaterialCount()
if not c:IsSummonType(TYPE_FUSION) or ct==0 then return 0
if not c:IsSummonType(SUMMON_TYPE_FUSION) or ct==0 then return 0
else return ct-1 end
end
\ No newline at end of file
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