Skip to content

The Tale of Igor's Campaign

User Avatar
#89
Auto-translated
Perhaps I haven't checked it. But it's better to be accurate. Here's an actual version:
function round(x)
  y=0;
  while y<=x
    if y+1>x then
      return y;
    y=y+1;
  end;
end;
This should be inserted into MapScript.lua. For the wandering knight set to work properly, use similar code:
function ceil(x)
  y=-1;
  while y<x
    if y+1>=x then
      return y+1;
    y=y+1;
  end;
end;
In Botan-Matan.(Script).lua. It should work on version 3.0, but I haven't checked.
 

К А
Стикеры GBF в Telegram