Commit f928805b authored by Amiya's avatar Amiya

修复

parent 096b7f7f
Pipeline #40531 passed with stages
in 2 minutes and 16 seconds
...@@ -26,6 +26,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -26,6 +26,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if re:GetHandler():IsRelateToEffect(re) then if re:GetHandler():IsRelateToEffect(re) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end end
local g=Duel.GetMatchingGroup(nil,tp,LOCATION_MZONE,0,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,2000) Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,2000)
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp) function s.activate(e,tp,eg,ep,ev,re,r,rp)
...@@ -38,6 +40,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,6 +40,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
and Duel.NegateActivation(ev) and Duel.NegateActivation(ev)
and ec:IsRelateToEffect(re) and ec:IsRelateToEffect(re)
and Duel.Destroy(ec,REASON_EFFECT)~=0 then and Duel.Destroy(ec,REASON_EFFECT)~=0 then
Duel.BreakEffect()
Duel.Recover(tp,2000,REASON_EFFECT) Duel.Recover(tp,2000,REASON_EFFECT)
end end
end end
......
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