Commit cdec618b authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent f6e136aa
Pipeline #29912 passed with stages
in 27 minutes and 56 seconds
No preview for this file type
......@@ -11,11 +11,11 @@ function c50224010.initial_effect(c)
c:RegisterEffect(e1)
end
function c50224010.filter(c)
return c:IsFaceup() and c:IsAbleToDeck()
return c:IsFaceup() and c:IsAbleToDeck() and c:IsLevelAbove(1)
end
function c50224010.target(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c50224010.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if chk==0 then return g:Filter(Card.IsLevelAbove,nil,1):GetClassCount(Card.GetLevel)>=3
if chk==0 then return g:GetClassCount(Card.GetLevel)>=3
and g:GetClassCount(Card.GetAttribute)>=3
and g:GetClassCount(Card.GetRace)>=3 end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,3,nil,LOCATION_ONFIELD)
......@@ -31,7 +31,7 @@ end
function c50224010.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(c50224010.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if g:Filter(Card.IsLevelAbove,nil,1):GetClassCount(Card.GetLevel)>=3
if g:GetClassCount(Card.GetLevel)>=3
and g:GetClassCount(Card.GetAttribute)>=3
and g:GetClassCount(Card.GetRace)>=3 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
......
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