Commit 9e637486 authored by wind2009's avatar wind2009

Fix スカーレッド・ハイパーノヴァ・ドラゴン

parent 01c97735
Pipeline #42284 failed with stages
in 1 minute and 50 seconds
...@@ -3,7 +3,7 @@ local s,id,o=GetID() ...@@ -3,7 +3,7 @@ local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,97489701) aux.AddCodeList(c,97489701)
--material --material
aux.AddSynchroMixProcedure(c,aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),nil,nil,s.mfilter,4,99,s.syncheck(c)) aux.AddSynchroMixProcedure(c,aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),nil,nil,s.mfilter,4,99,s.syncheck)
c:EnableReviveLimit() c:EnableReviveLimit()
--cannot special summon --cannot special summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -71,10 +71,8 @@ function s.mgcheck(c,mg,syncard) ...@@ -71,10 +71,8 @@ function s.mgcheck(c,mg,syncard)
return false return false
end end
end end
function s.syncheck(syncard) function s.syncheck(g,syncard)
return function(g)
return g:IsExists(s.mgcheck,1,nil,g,syncard) return g:IsExists(s.mgcheck,1,nil,g,syncard)
end
end end
function s.atkval(e,c) function s.atkval(e,c)
return Duel.GetMatchingGroupCount(Card.IsType,c:GetControler(),LOCATION_GRAVE,0,nil,TYPE_TUNER)*500 return Duel.GetMatchingGroupCount(Card.IsType,c:GetControler(),LOCATION_GRAVE,0,nil,TYPE_TUNER)*500
......
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