Commit 18faa6c1 authored by Crescent/毛虫's avatar Crescent/毛虫 Committed by wind2009

Fix 7031&7032

parent 9bdd7d88
...@@ -4,7 +4,7 @@ function s.initial_effect(c) ...@@ -4,7 +4,7 @@ function s.initial_effect(c)
aux.AddCodeList(c,94820406,89943723) aux.AddCodeList(c,94820406,89943723)
--material --material
aux.AddMaterialCodeList(c,89943723) aux.AddMaterialCodeList(c,89943723)
aux.AddFusionProcFun2(c,s.matfilter1,s.matfilter2,true) aux.AddFusionProcCodeFun(c,{89943723,s.matfilter1},s.matfilter2,1,true,true)
c:EnableReviveLimit() c:EnableReviveLimit()
--spsummon condition --spsummon condition
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -51,7 +51,7 @@ end ...@@ -51,7 +51,7 @@ end
s.dark_calling=true s.dark_calling=true
s.material_setcode=0x8 s.material_setcode=0x8
function s.matfilter1(c) function s.matfilter1(c)
return c:IsFusionCode(89943723) or aux.IsCodeListed(c,89943723) or c:IsHasEffect(EFFECT_FUSION_SUBSTITUTE) return aux.IsCodeListed(c,89943723)
end end
function s.matfilter2(c) function s.matfilter2(c)
return c:IsFusionType(TYPE_EFFECT) and c:IsLocation(LOCATION_ONFIELD) return c:IsFusionType(TYPE_EFFECT) and c:IsLocation(LOCATION_ONFIELD)
......
...@@ -4,7 +4,7 @@ function s.initial_effect(c) ...@@ -4,7 +4,7 @@ function s.initial_effect(c)
aux.AddCodeList(c,94820406,21844576,58932615) aux.AddCodeList(c,94820406,21844576,58932615)
--material --material
aux.AddMaterialCodeList(c,21844576,58932615) aux.AddMaterialCodeList(c,21844576,58932615)
aux.AddFusionProcFun2(c,s.matfilter1,s.matfilter2,true) aux.AddFusionProcCodeFun(c,{21844576,58932615},aux.FilterBoolFunction(Card.IsFusionSetCard,0x08),1,true,true)
c:EnableReviveLimit() c:EnableReviveLimit()
--spsummon condition --spsummon condition
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
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