Commit 2c45db84 authored by salix5's avatar salix5

update left shift

parent b875fd36
...@@ -30,7 +30,7 @@ function c29253591.synlimit(e,c) ...@@ -30,7 +30,7 @@ function c29253591.synlimit(e,c)
end end
function c29253591.slevel(e,c) function c29253591.slevel(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
return 4<<16+lv return (4<<16)+lv
end end
function c29253591.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c29253591.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -21,7 +21,7 @@ function c29888389.rlevel(e,c) ...@@ -21,7 +21,7 @@ function c29888389.rlevel(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
if c:IsAttribute(ATTRIBUTE_WATER) then if c:IsAttribute(ATTRIBUTE_WATER) then
local clv=c:GetLevel() local clv=c:GetLevel()
return lv<<16+clv return (lv<<16)+clv
else return lv end else return lv end
end end
function c29888389.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c29888389.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -11,6 +11,6 @@ function c34334692.rlevel(e,c) ...@@ -11,6 +11,6 @@ function c34334692.rlevel(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
if c:IsAttribute(ATTRIBUTE_DARK) then if c:IsAttribute(ATTRIBUTE_DARK) then
local clv=c:GetLevel() local clv=c:GetLevel()
return lv<<16+clv return (lv<<16)+clv
else return lv end else return lv end
end end
...@@ -19,7 +19,7 @@ function c4632019.initial_effect(c) ...@@ -19,7 +19,7 @@ function c4632019.initial_effect(c)
end end
function c4632019.synclv(e,c) function c4632019.synclv(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
return 8<<16+lv return (8<<16)+lv
end end
function c4632019.efcon(e,tp,eg,ep,ev,re,r,rp) function c4632019.efcon(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_SYNCHRO return r==REASON_SYNCHRO
......
...@@ -21,7 +21,7 @@ function c47106439.rlevel(e,c) ...@@ -21,7 +21,7 @@ function c47106439.rlevel(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
if c:IsAttribute(ATTRIBUTE_WATER) then if c:IsAttribute(ATTRIBUTE_WATER) then
local clv=c:GetLevel() local clv=c:GetLevel()
return lv<<16+clv return (lv<<16)+clv
else return lv end else return lv end
end end
function c47106439.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c47106439.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -23,7 +23,7 @@ function c90307777.rlevel(e,c) ...@@ -23,7 +23,7 @@ function c90307777.rlevel(e,c)
local lv=e:GetHandler():GetLevel() local lv=e:GetHandler():GetLevel()
if c:IsSetCard(0xb4) then if c:IsSetCard(0xb4) then
local clv=c:GetLevel() local clv=c:GetLevel()
return lv<<16+clv return (lv<<16)+clv
else return lv end else return lv end
end end
function c90307777.thcon(e,tp,eg,ep,ev,re,r,rp) function c90307777.thcon(e,tp,eg,ep,ev,re,r,rp)
......
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