Commit a7c96154 authored by wind2009's avatar wind2009 Committed by GitHub

Update Assault Synchron (#2090)

parent 81ccc9f7
...@@ -58,7 +58,7 @@ function c77202120.splimit(e,c) ...@@ -58,7 +58,7 @@ function c77202120.splimit(e,c)
return not c:IsType(TYPE_SYNCHRO) and c:IsLocation(LOCATION_EXTRA) return not c:IsType(TYPE_SYNCHRO) and c:IsLocation(LOCATION_EXTRA)
end end
function c77202120.cfilter(c,tp,se) function c77202120.cfilter(c,tp,se)
return c:IsControler(tp) and c:IsRace(RACE_DRAGON) and c:IsType(TYPE_SYNCHRO) return c:IsRace(RACE_DRAGON) and c:IsType(TYPE_SYNCHRO)
and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousControler(tp)
and (se==nil or c:GetReasonEffect()~=se) and (se==nil or c:GetReasonEffect()~=se)
end end
...@@ -67,7 +67,7 @@ function c77202120.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,7 +67,7 @@ function c77202120.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c77202120.cfilter,1,nil,tp,se) return eg:IsExists(c77202120.cfilter,1,nil,tp,se)
end end
function c77202120.spfilter(c,e,tp) function c77202120.spfilter(c,e,tp)
return c:IsControler(tp) and c:IsRace(RACE_DRAGON) and c:IsType(TYPE_SYNCHRO) return c:IsRace(RACE_DRAGON) and c:IsType(TYPE_SYNCHRO)
and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousControler(tp)
and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
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