Commit c7a6e0b8 authored by VanillaSalt's avatar VanillaSalt

update

parent 64cff0e9
......@@ -32,7 +32,15 @@ function c30010480.initial_effect(c)
c:RegisterEffect(e3)
end
function c30010480.sumval(e,c)
return e:GetHandler():GetLinkedZone()*0x10000
if c:IsControler(e:GetHandlerPlayer()) then
local sumzone=e:GetHandler():GetLinkedZone()
local relzone=-bit.lshift(1,e:GetHandler():GetSequence())
return 0,sumzone,relzone
else
local sumzone=bit.rshift(e:GetHandler():GetLinkedZone(),16)
local relzone=-bit.lshift(1,e:GetHandler():GetSequence()+16)
return 0,sumzone,relzone
end
end
function c30010480.regop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetHandler():GetLinkedGroup()
......
......@@ -18,5 +18,5 @@ function c65100616.spcon(e,c)
return Duel.GetLocationCount(tp,LOCATION_MZONE,tp,LOCATION_REASON_TOFIELD,zone)>0
end
function c65100616.spval(e,c)
return bit.lshift(Duel.GetLinkedZone(c:GetControler()),16)
return 0,Duel.GetLinkedZone(c:GetControler())
end
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