Commit 2c45db84 authored by salix5's avatar salix5

update left shift

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