Commit ce7f5e35 authored by Amiya's avatar Amiya

修复

parent d59326ae
Pipeline #38972 failed with stages
in 2 minutes and 39 seconds
...@@ -36,11 +36,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,11 +36,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetLabelObject() local og=e:GetLabelObject()
local tc=og:Filter(aux.NOT(Card.IsType),nil,TYPE_FUSION):GetFirst() local tc=og:Filter(aux.NOT(Card.IsType),nil,TYPE_FUSION):GetFirst()
Duel.SetTargetCard(tc) Duel.SetTargetCard(tc)
local fc=og:Filter(aux.TRUE,tc):GetFirst()
Duel.SetLabelObject(fc)
og:DeleteGroup()
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp) function s.activate(e,tp,eg,ep,ev,re,r,rp)
local nc=Duel.GetFirstTarget() local nc=Duel.GetFirstTarget()
local fc=e:GetLabelObject():Filter(aux.TRUE,nc):GetFirst() local fc=e:GetLabelObject()
if not nc:IsRelateToChain() then nc=nil end if not nc:IsRelateToChain() then nc=nil end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nc,fc) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nc,fc)
......
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