Commit 9d8aeb74 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#2013)

parent 604fb5a4
......@@ -36,13 +36,13 @@ function s.initial_effect(c)
c:RegisterEffect(e4)
end
function s.noeff(c)
return not c:IsType(TYPE_EFFECT)
return not c:IsFusionType(TYPE_EFFECT)
end
function s.atkcalc(e,c)
local g=c:GetMaterial()
local atk=0
for tc in aux.Next(g) do
if tc:IsType(TYPE_RITUAL+TYPE_FUSION+TYPE_SYNCHRO+TYPE_XYZ+TYPE_LINK) then
if tc:IsFusionType(TYPE_RITUAL+TYPE_FUSION+TYPE_SYNCHRO+TYPE_XYZ+TYPE_LINK) then
atk=atk+tc:GetBaseAttack()
end
end
......
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