Commit c058b61c authored by wind2009's avatar wind2009

Fix 教導の死徒

parent 370bf8ea
No preview for this file type
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
100200275 100200275
100200276 100200276
100200277 100200277
100200278
100238201 100238201
100243001 100243001
100246001 100246001
......
...@@ -65,14 +65,12 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,14 +65,12 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,LOCATION_EXTRA,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
if sg:GetCount()>0 then
Duel.SendtoGrave(sg,REASON_EFFECT)
end
local g2=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,0,LOCATION_EXTRA,nil) local g2=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,0,LOCATION_EXTRA,nil)
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_TOGRAVE)
local sg2=g2:Select(1-tp,1,1,nil) local sg2=g2:Select(1-tp,1,1,nil)
if sg2:GetCount()>0 then sg:Merge(sg2)
Duel.SendtoGrave(sg2,REASON_EFFECT) if sg:GetCount()>0 then
Duel.SendtoGrave(sg,REASON_EFFECT)
end end
end end
function s.thfilter(c) function s.thfilter(c)
...@@ -90,4 +88,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -90,4 +88,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToChain() and aux.NecroValleyFilter()(tc) then if tc:IsRelateToChain() and aux.NecroValleyFilter()(tc) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
end end
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