Commit 93e97405 authored by TanakaKotoha's avatar TanakaKotoha

lbwnb

parent 3a870a24
Pipeline #709 passed with stages
in 41 minutes and 52 seconds
......@@ -27,12 +27,12 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
tt=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
end
if chk==0 then return tt:GetCount()>0 end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tt,tt:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,tt,tt:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,tt:GetCount()*1000)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tt=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,LOCATION_MZONE,0,nil)
if tt:IsExists(Card.IsType,1,nil,REASON_FUSION) then
if tt:IsExists(Card.IsType,1,nil,TYPE_FUSION) then
tt=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
end
Duel.SendtoGrave(tt,REASON_EFFECT)
......
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