Commit 817d1c65 authored by Amiya's avatar Amiya

修复

parent d77e360a
Pipeline #33018 passed with stages
in 2 minutes and 12 seconds
...@@ -70,6 +70,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,6 +70,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) and Duel.SendtoDeck(c,nil,SEQ_DECKBOTTOM,REASON_EFFECT)~=0 and c:IsLocation(LOCATION_DECK) if c:IsRelateToEffect(e) and aux.NecroValleyFilter()(c) and Duel.SendtoDeck(c,nil,SEQ_DECKBOTTOM,REASON_EFFECT)~=0 and c:IsLocation(LOCATION_DECK)
and tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then and tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ShuffleHand() Duel.ShuffleHand(tp)
end end
end end
\ No newline at end of file
...@@ -33,7 +33,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,7 +33,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
and Duel.IsExistingMatchingCard(s.tdfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) and Duel.IsExistingMatchingCard(s.tdfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local gs=Duel.SelectMatchingCard(tp,s.tdfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil) local sg=Duel.SelectMatchingCard(tp,s.tdfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
local dtc=sg:GetFirst() local dtc=sg:GetFirst()
if dtc and Duel.SendtoDeck(dtc,nil,SEQ_DECKBOTTOM,REASON_EFFECT)>0 if dtc and Duel.SendtoDeck(dtc,nil,SEQ_DECKBOTTOM,REASON_EFFECT)>0
and dtc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then and dtc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then
......
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