Commit 5d996bb0 authored by GuGu's avatar GuGu

Update c86379047.lua

parent 041734a5
Pipeline #42760 passed with stage
in 1 minute and 18 seconds
......@@ -154,22 +154,17 @@ function c86379047.mop(e,tp,eg,ep,ev,re,r,rp)
elseif (seq>0 and seq<4) and ((seq>0 and Duel.CheckLocation(cp,LOCATION_MZONE,seq-1))
or (seq<4 and Duel.CheckLocation(cp,LOCATION_MZONE,seq+1))) then
local flag=0
if seq>0 and Duel.CheckLocation(cp,LOCATION_MZONE,seq-1) then flag=bit.replace(flag,0x1,seq-1) end
if seq<4 and Duel.CheckLocation(cp,LOCATION_MZONE,seq+1) then flag=bit.replace(flag,0x1,seq+1) end
flag=bit.bxor(flag,0xff)
if seq>0 and Duel.CheckLocation(cp,LOCATION_MZONE,seq-1) then flag=flag|(1<<(seq-1)) end
if seq<4 and Duel.CheckLocation(cp,LOCATION_MZONE,seq+1) then flag=flag|(1<<(seq+1)) end
Duel.Hint(HINT_SELECTMSG,c:GetSummonPlayer(),HINTMSG_TOZONE)
local s=0
local nseq=0
if c:GetSummonPlayer()==cp then
s=Duel.SelectDisableField(c:GetSummonPlayer(),1,LOCATION_MZONE,0,flag)
s=Duel.SelectDisableField(c:GetSummonPlayer(),1,LOCATION_MZONE,0,(flag<<16))
else
s=Duel.SelectDisableField(c:GetSummonPlayer(),1,0,LOCATION_MZONE,flag)
s=Duel.SelectDisableField(c:GetSummonPlayer(),1,0,LOCATION_MZONE,~(flag<<16))
end
local nseq=0
if s==1 then nseq=0
elseif s==2 then nseq=1
elseif s==4 then nseq=2
elseif s==8 then nseq=3
else nseq=4 end
nseq=math.log(move1,2)-16
Duel.MoveSequence(scc1,nseq)
end
scc1=sg1:GetNext()
......
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