Commit 773b0f2a authored by Grajade's avatar Grajade

Update expansions/script/c65020140.lua

parent 8e502cd8
Pipeline #1394 passed with stages
in 47 minutes and 57 seconds
......@@ -40,7 +40,7 @@ function c65020140.operation(e,tp,eg,ep,ev,re,r,rp)
end
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
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())
......@@ -64,4 +64,4 @@ function c65020140.sumop(e,tp,eg,ep,ev,re,r,rp)
Duel.Summon(tp,tg:GetFirst(),true,nil)
end
end
end
\ No newline at end of file
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