diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-07 19:21:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-08 16:50:18 +0300 |
commit | bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee (patch) | |
tree | 4876c6b1a8874a9cb265630350b7b09a902c380b | |
parent | 4076c2163bed5bf303a8c599ffef9bd4d27a9ae3 (diff) | |
download | evol-tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.gz evol-tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.bz2 evol-tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.xz evol-tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.zip |
hercules: add comment about collision type monster wall (6)
-rw-r--r-- | hercules/code/clienttoserver/maps.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py index a24899a..ee98ed1 100644 --- a/hercules/code/clienttoserver/maps.py +++ b/hercules/code/clienttoserver/maps.py @@ -34,12 +34,23 @@ def findFirstGid(tilesets, tile): break return found +# client +# 0 - walkable ground +# 1 - non walkable wall +# 2 - air allowed shootable too +# 3 - water allowed water, shootable too +# 4 - sit, walkable ground +# 5 - player walk not allowed +# 6 - monster walk not allowed + +# server # 0 - walkable ground # 1 - non walkable wall # 2 - air allowed shootable too # 3 - water allowed water, shootable too # 4 - sit, walkable ground # 5 - none +# 6 - monster walk not allowed def convertTileType(tile): if tile == 5: tile = 0; |