for s = 1, 128 do
for i = 1, s do
local j = s - i
if x + i < 63 and y + j < 63 and GetWarMap(x + i, y + j, 3) ~= 255 and War_CanMoveXY(x + i, y + j, 0) then
return x + i, y + j
end
if x + j < 63 and y - i > 0 and GetWarMap(x + j, y - i, 3) ~= 255 and War_CanMoveXY(x + j, y - i, 0) then
return x + j, y - i
end
if x - i > 0 and y - j > 0 and GetWarMap(x - i, y - j, 3) ~= 255 and War_CanMoveXY(x - i, y - j, 0) then
return x - i, y - j
end
if x - j > 0 and y + i < 63 and GetWarMap(x - j, y + i, 3) ~= 255 and War_CanMoveXY(x - j, y + i, 0) then
return x - j, y + i
end
end
end
end
今天研究WE_xy函数,才发现构思真的是太精妙了。想问一下这是谁写的?鱼神吗?这样人物今在哪?
顺问一下:WE_xy中的WE是什么意思?什么单词的缩写?war e?
|