Commit 57ccfd26 authored by salix5's avatar salix5

fix

c74822425 エルシャドール・シェキナーガ
If it does not destroy the monster, it will not discard any cards.
parent 0c48526e
...@@ -172,15 +172,14 @@ function c74822425.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -172,15 +172,14 @@ function c74822425.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c74822425.disop(e,tp,eg,ep,ev,re,r,rp) function c74822425.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev) Duel.NegateActivation(ev)
if re:GetHandler():IsRelateToEffect(re) then if re:GetHandler():IsRelateToEffect(re) and Duel.Destroy(eg,REASON_EFFECT)>0 then
Duel.Destroy(eg,REASON_EFFECT)
end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,c74822425.filter,tp,LOCATION_HAND,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c74822425.filter,tp,LOCATION_HAND,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.SendtoGrave(g,REASON_EFFECT) Duel.SendtoGrave(g,REASON_EFFECT)
end end
end
end end
function c74822425.thcon(e,tp,eg,ep,ev,re,r,rp) function c74822425.thcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsReason(REASON_RETURN) return not e:GetHandler():IsReason(REASON_RETURN)
......
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