Commit ce004087 authored by Tachibana's avatar Tachibana

hole

parent 4cc3aa01
...@@ -36,13 +36,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,13 +36,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local mg=Duel.GetRitualMaterial(tp) local mg=Duel.GetRitualMaterial(tp)
local mg2=nil local mg2=nil
local ug=Duel.GetFieldGroup(tp,LOCATION_MZONE,0) local ug=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
if ug:GetCount()>0 and ug:FilterCount(cm.cfilter,nil)==sg:GetCount() then if ug:GetCount()>0 and ug:FilterCount(cm.cfilter,nil)==ug:GetCount() then
mg2=Duel.GetMatchingGroup(aux.RitualExtraFilter,tp,LOCATION_GRAVE,0,nil,cm.mfilter) mg2=Duel.GetMatchingGroup(aux.RitualExtraFilter,tp,LOCATION_GRAVE,0,nil,cm.mfilter)
end end
return Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,cm.filter,e,tp,mg,mg2,Card.GetLevel,"Greater") return Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,cm.filter,e,tp,mg,mg2,Card.GetLevel,"Greater")
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
if ug:GetCount()>0 and ug:FilterCount(cm.cfilter,nil)==sg:GetCount() then if ug:GetCount()>0 and ug:FilterCount(cm.cfilter,nil)==ug:GetCount() then
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,0,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,0,tp,LOCATION_GRAVE)
e:SetLabel(1) e:SetLabel(1)
else else
......
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