Commit 12b3d90b authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12008001.lua

parent 0ed3a603
...@@ -33,7 +33,7 @@ function c12008001.initial_effect(c) ...@@ -33,7 +33,7 @@ function c12008001.initial_effect(c)
end end
end end
function c12008001.tgfilter(c,race,atk,e,tp) function c12008001.tgfilter(c,race,atk,e,tp)
return c:GetAttack()==atk and c:IsRace(race) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and Duel.IsExistingMatchingCard(c12008001.tgfilter2,tp,LOCATION_HAND+LOCATION_MZONE,LOCATION_MZONE,1,c,race,atk,e,tp) and Duel.GetLocationCountFromEx(tp,tp,TYPE_XYZ)>0 and c:IsAbleToGrave() return c:GetAttack()==atk and c:IsRace(race) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and Duel.IsExistingMatchingCard(c12008001.tgfilter2,tp,LOCATION_HAND+LOCATION_MZONE,LOCATION_MZONE,1,c,race,atk,e,tp) and Duel.GetLocationCountFromEx(tp,tp,c,TYPE_XYZ)>0 and c:IsAbleToGrave()
end end
function c12008001.tgfilter2(c,race,atk,e,tp) function c12008001.tgfilter2(c,race,atk,e,tp)
return c:GetAttack()==atk and c:IsRace(race) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and Duel.IsExistingMatchingCard(c12008001.spfilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp) and c:IsAbleToGrave() return c:GetAttack()==atk and c:IsRace(race) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and Duel.IsExistingMatchingCard(c12008001.spfilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp) and c:IsAbleToGrave()
......
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