Commit dc4045b5 authored by wyykak's avatar wyykak

fix 22292009

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 4a9ee6fd
...@@ -21,7 +21,7 @@ function c22292009.confilter(c,tp) ...@@ -21,7 +21,7 @@ function c22292009.confilter(c,tp)
end end
function c22292009.condition(e,tp,eg,ep,ev,re,r,rp) function c22292009.condition(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(c22292009.confilter,nil,tp) local g=eg:Filter(c22292009.confilter,nil,tp)
return g:GetCount()>0 return g:GetCount()>0 and r&(REASON_FUSION|REASON_LINK|REASON_SYNCHRO|REASON_XYZ)~=0
end end
function c22292009.tgfilter(c,e,tp) function c22292009.tgfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsLocation(LOCATION_GRAVE) and c:IsReason(REASON_MATERIAL) and c:IsReason(REASON_FUSION+REASON_SYNCHRO+REASON_XYZ+REASON_LINK) and c:GetPreviousControler()==1-tp and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeEffectTarget(e) return c:IsType(TYPE_MONSTER) and c:IsLocation(LOCATION_GRAVE) and c:IsReason(REASON_MATERIAL) and c:IsReason(REASON_FUSION+REASON_SYNCHRO+REASON_XYZ+REASON_LINK) and c:GetPreviousControler()==1-tp and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsCanBeEffectTarget(e)
......
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