Commit 45cd16fb authored by xiaoye's avatar xiaoye

Update c37573007.lua

parent 2289661e
Pipeline #35728 failed with stage
in 16 seconds
...@@ -102,7 +102,7 @@ cm.e2 = { ...@@ -102,7 +102,7 @@ cm.e2 = {
if Duel.GetLocationCount(tp, LOCATION_MZONE) <= 0 then return end if Duel.GetLocationCount(tp, LOCATION_MZONE) <= 0 then return end
Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp, cm.e2.gain.filter, tp, LOCATION_HAND, 0, 1, 1, nil, e, tp) local g=Duel.SelectMatchingCard(tp, cm.e2.gain.filter, tp, LOCATION_HAND, 0, 1, 1, nil, e, tp)
if g:GetCount() > 0 and not Duel.HintSelection(g) and Duel.SpecialSummon(g, 0, tp, tp, false, false, POS_FACEUP) > 0 if g:GetCount() > 0 and Duel.SpecialSummon(g, 0, tp, tp, false, false, POS_FACEUP) > 0
and Duel.IsExistingMatchingCard(cm.e2.gain.atkfilter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, e:GetHandler(), g:GetFirst():GetAttack()) and Duel.IsExistingMatchingCard(cm.e2.gain.atkfilter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, e:GetHandler(), g:GetFirst():GetAttack())
then then
Duel.BreakEffect() Duel.BreakEffect()
......
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