Commit 773b0f2a authored by Grajade's avatar Grajade

Update expansions/script/c65020140.lua

parent 8e502cd8
...@@ -40,7 +40,7 @@ function c65020140.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c65020140.operation(e,tp,eg,ep,ev,re,r,rp)
end end
function c65020140.filter(c,tp,code) function c65020140.filter(c,tp,code)
return c:IsType(TYPE_SPIRIT) and c:IsSummonable(true,nil) and Duel.GetMZoneCount(tp)>0 and not c:IsCode() return c:IsType(TYPE_SPIRIT) and c:IsSummonable(true,nil) and Duel.GetMZoneCount(tp)>0 and not c:IsCode(code)
end end
function c65020140.filter2(c,tp) function c65020140.filter2(c,tp)
return c:IsSetCard(0x5da7) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and Duel.IsExistingMatchingCard(c65020140.filter,tp,LOCATION_HAND,0,1,nil,tp,c:GetCode()) return c:IsSetCard(0x5da7) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() and Duel.IsExistingMatchingCard(c65020140.filter,tp,LOCATION_HAND,0,1,nil,tp,c:GetCode())
...@@ -64,4 +64,4 @@ function c65020140.sumop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,4 +64,4 @@ function c65020140.sumop(e,tp,eg,ep,ev,re,r,rp)
Duel.Summon(tp,tg:GetFirst(),true,nil) Duel.Summon(tp,tg:GetFirst(),true,nil)
end end
end end
end end
\ No newline at end of file
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