Commit ff3752e5 authored by xiaoye's avatar xiaoye

fix

parent 3ec5ceab
......@@ -59,7 +59,7 @@ cm.gloabl = {
op = function (e, tp, eg, ep, ev, re, r, rp)
cm.xyz.card[rp] = true
for tc in aux.Next(eg) do
tc:RegisterFlagEffect(m, RESET_EVENT + RESETS_STANDARD, 0, 1)
tc:RegisterFlagEffect(m, RESET_EVENT + RESETS_WITHOUT_TEMP_REMOVE - RESET_TURN_SET, 0, 1)
end
end
}
......@@ -105,7 +105,6 @@ cm.e1 = {
_e:GetHandler():RemoveOverlayCard(tp, 1, 1, REASON_COST)
cost(_e, _tp, _eg, _ep, _ev, _re, _r, _rp, _chk)
end)
e1:SetReset(RESET_EVENT + RESETS_STANDARD)
c:RegisterEffect(e1)
v:Reset()
end
......
......@@ -109,7 +109,7 @@ cm.e2 = {
Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_FACEUP)
local sg = Duel.SelectMatchingCard(tp, cm.e2.gain.atkfilter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, 1, e:GetHandler(), g:GetFirst():GetAttack())
local tc = sg:GetFirst()
if tc:IsImmuneToEffect(e) then
if not tc:IsImmuneToEffect(e) then
local og = tc:GetOverlayGroup()
if og:GetCount() > 0 then
Duel.SendtoGrave(og, REASON_RULE)
......
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