Commit 403b3fbf authored by mercury233's avatar mercury233 Committed by GitHub

update (#1125)

parent 0c6af7b7
...@@ -19,7 +19,7 @@ function c30757127.initial_effect(c) ...@@ -19,7 +19,7 @@ function c30757127.initial_effect(c)
e1:SetOperation(c30757127.atkop) e1:SetOperation(c30757127.atkop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c30757127.material_setcode=0x8 c30757127.material_setcode=0xc008
function c30757127.ffilter(c) function c30757127.ffilter(c)
return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsFusionType(TYPE_EFFECT) return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsFusionType(TYPE_EFFECT)
end end
......
...@@ -29,7 +29,7 @@ function c76263644.initial_effect(c) ...@@ -29,7 +29,7 @@ function c76263644.initial_effect(c)
e3:SetOperation(c76263644.spop) e3:SetOperation(c76263644.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c76263644.material_setcode=0x8 c76263644.material_setcode=0xc008
function c76263644.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c76263644.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -28,7 +28,7 @@ function c90579153.initial_effect(c) ...@@ -28,7 +28,7 @@ function c90579153.initial_effect(c)
e2:SetOperation(c90579153.desop) e2:SetOperation(c90579153.desop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c90579153.material_setcode=0x8 c90579153.material_setcode=0xc008
function c90579153.filter(c) function c90579153.filter(c)
return c:IsSetCard(0xc008) and c:IsLevelBelow(4) and c:GetAttack()>0 return c:IsSetCard(0xc008) and c:IsLevelBelow(4) and c:GetAttack()>0
end end
......
...@@ -25,7 +25,7 @@ function c93657021.initial_effect(c) ...@@ -25,7 +25,7 @@ function c93657021.initial_effect(c)
e2:SetOperation(c93657021.indop) e2:SetOperation(c93657021.indop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c93657021.material_setcode=0x8 c93657021.material_setcode=0xc008
function c93657021.matfilter(c) function c93657021.matfilter(c)
return c:IsFusionType(TYPE_FUSION) and c:IsFusionSetCard(0xc008) return c:IsFusionType(TYPE_FUSION) and c:IsFusionSetCard(0xc008)
end end
......
...@@ -1765,7 +1765,7 @@ function Auxiliary.IsMaterialListCode(c,code) ...@@ -1765,7 +1765,7 @@ function Auxiliary.IsMaterialListCode(c,code)
return false return false
end end
function Auxiliary.IsMaterialListSetCard(c,setcode) function Auxiliary.IsMaterialListSetCard(c,setcode)
return c.material_setcode and c.material_setcode==setcode return c.material_setcode and c.material_setcode&setcode==setcode
end end
function Auxiliary.IsCodeListed(c,code) function Auxiliary.IsCodeListed(c,code)
if not c.card_code_list then return false end if not c.card_code_list then return false 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