Commit 1ef97136 authored by salix5's avatar salix5

format

parent 2d61390c
...@@ -2119,11 +2119,21 @@ end ...@@ -2119,11 +2119,21 @@ end
function Auxiliary.GetColumn(c,p) function Auxiliary.GetColumn(c,p)
local seq=c:GetSequence() local seq=c:GetSequence()
if c:IsLocation(LOCATION_MZONE) then if c:IsLocation(LOCATION_MZONE) then
if seq==5 then seq=1 elseif seq==6 then seq=3 end if seq==5 then
seq=1
elseif seq==6 then
seq=3
end
elseif c:IsLocation(LOCATION_SZONE) then elseif c:IsLocation(LOCATION_SZONE) then
if seq>4 then return nil end if seq>4 then return nil end
else return nil end else
if c:IsControler(p or 0) then return seq else return 4-seq end return nil
end
if c:IsControler(p or 0) then
return seq
else
return 4-seq
end
end end
--return the column of monster zone seq (from the viewpoint of controller) --return the column of monster zone seq (from the viewpoint of controller)
function Auxiliary.MZoneSequence(seq) function Auxiliary.MZoneSequence(seq)
......
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