Commit 5967b310 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12026032.lua

parent 658c268b
...@@ -48,12 +48,12 @@ function cm.spcon(e,c) ...@@ -48,12 +48,12 @@ function cm.spcon(e,c)
local mg=Duel.GetMatchingGroup(cm.confilter,tp,LOCATION_MZONE,0,nil,c) local mg=Duel.GetMatchingGroup(cm.confilter,tp,LOCATION_MZONE,0,nil,c)
return Senya.CheckGroup(mg,cm.gcheck,nil,1,4,tp,c) return Senya.CheckGroup(mg,cm.gcheck,nil,1,4,tp,c)
end end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) function cm.thop(e,tp,eg,ep,ev,re,r,rp,c)
local mg=Duel.GetMatchingGroup(cm.confilter,tp,LOCATION_MZONE,0,nil,c) local mg=Duel.GetMatchingGroup(cm.confilter,tp,LOCATION_MZONE,0,nil,c)
local g=Senya.SelectGroup(tp,HINTMSG_TOGRAVE,mg,cm.gcheck,nil,1,3,tp,c) local g=Senya.SelectGroup(tp,HINTMSG_TOGRAVE,mg,cm.gcheck,nil,1,3,tp,c)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_MONSTER) local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_MONSTER)
return g:GetClassCount(Card.GetRace)==g:GetCount() return g:GetClassCount(Card.GetRace)==g:GetCount()
end end
...@@ -84,4 +84,4 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,4 +84,4 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
e2:SetValue(99) e2:SetValue(99)
e2:SetTargetRange(1,0) e2:SetTargetRange(1,0)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
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