Commit 01c0e6c7 authored by mercury233's avatar mercury233 Committed by GitHub

fix 電脳エナジーショック

parent ed790bcf
...@@ -53,7 +53,7 @@ function c38265153.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -53,7 +53,7 @@ function c38265153.activate(e,tp,eg,ep,ev,re,r,rp)
if #ops>1 then if #ops>1 then
op=Duel.SelectOption(tp,table.unpack(ops)) op=Duel.SelectOption(tp,table.unpack(ops))
end end
if op==1 then if opval[op]==1 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local sg=g1:Select(tp,1,1,nil) local sg=g1:Select(tp,1,1,nil)
...@@ -81,7 +81,7 @@ function c38265153.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,7 +81,7 @@ function c38265153.activate(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
end end
if op==2 then if opval[op]==2 then
Duel.BreakEffect() Duel.BreakEffect()
local tc=g2:GetFirst() local tc=g2:GetFirst()
while tc do while tc do
......
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