Commit 5258f1da authored by TanakaKotoha's avatar TanakaKotoha

mopempoe

parent fe151ef1
Pipeline #801 passed with stages
in 45 minutes and 50 seconds
...@@ -26,7 +26,7 @@ function cm.initial_effect(c) ...@@ -26,7 +26,7 @@ function cm.initial_effect(c)
e3:SetRange(LOCATION_FZONE) e3:SetRange(LOCATION_FZONE)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END) e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END)
e3:SetCountLimit(1) e3:SetCountLimit(1)
e3:SetCondition(cm.sumaddcon) e1:SetCondition(cm.sumaddcon)
e3:SetOperation(cm.sumaddop) e3:SetOperation(cm.sumaddop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
-- --
...@@ -100,7 +100,9 @@ function cm.econ(e,tp,eg,ep,ev,re,r,rp) ...@@ -100,7 +100,9 @@ function cm.econ(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==e:GetHandler():GetControler() and Duel.IsExistingMatchingCard(Card.IsFacedown,tp,LOCATION_ONFIELD,0,1,nil) return Duel.GetTurnPlayer()==e:GetHandler():GetControler() and Duel.IsExistingMatchingCard(Card.IsFacedown,tp,LOCATION_ONFIELD,0,1,nil)
end end
function cm.thfilter(c,g) function cm.thfilter(c,g)
local gg=Group.__sub(g,c) local sg=Group.CreateGroup()
sg:AddCard(c)
local gg=Group.__sub(g,sg)
return gg:GetClassCount(Card.GetRace)==gg:GetCount() and c:IsAbleToHand() and c:IsSetCard(0xcca) and c:IsType(TYPE_MONSTER) return gg:GetClassCount(Card.GetRace)==gg:GetCount() and c:IsAbleToHand() and c:IsSetCard(0xcca) and c:IsType(TYPE_MONSTER)
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
......
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