Commit 0a8cb015 authored by mercury233's avatar mercury233

small update Etude of the Branded

parent 46009310
...@@ -33,6 +33,7 @@ function c45675980.syncheck(g,tp,syncard) ...@@ -33,6 +33,7 @@ function c45675980.syncheck(g,tp,syncard)
and aux.SynMixHandCheck(g,tp,syncard) and syncard:IsSynchroSummonable(nil,g,#g-1,#g-1) and aux.SynMixHandCheck(g,tp,syncard) and syncard:IsSynchroSummonable(nil,g,#g-1,#g-1)
end end
function c45675980.spfilter(c,tp,mg) function c45675980.spfilter(c,tp,mg)
if not c:IsType(TYPE_SYNCHRO) then return false end
aux.GCheckAdditional=aux.SynGroupCheckLevelAddition(c) aux.GCheckAdditional=aux.SynGroupCheckLevelAddition(c)
local res=mg:CheckSubGroup(c45675980.syncheck,2,#mg,tp,c) local res=mg:CheckSubGroup(c45675980.syncheck,2,#mg,tp,c)
aux.GCheckAdditional=nil aux.GCheckAdditional=nil
...@@ -40,6 +41,7 @@ function c45675980.spfilter(c,tp,mg) ...@@ -40,6 +41,7 @@ function c45675980.spfilter(c,tp,mg)
end end
function c45675980.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c45675980.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
if not Duel.IsPlayerCanSpecialSummon(tp) then return false end
local mg=Duel.GetSynchroMaterial(tp) local mg=Duel.GetSynchroMaterial(tp)
if mg:IsExists(Card.GetHandSynchro,1,nil) then if mg:IsExists(Card.GetHandSynchro,1,nil) then
local mg2=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND,0,nil) local mg2=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND,0,nil)
......
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