diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-07 19:21:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-07 19:21:12 +0300 |
commit | 857b72827cddd28a1daaaf64da7dd899606a42a5 (patch) | |
tree | 9e5f03dc4e04cd2ec9cb29ffe856c2845e19538d | |
parent | 3557e693d25d1eacd1f8342b9b3b94d43e37cd7c (diff) | |
download | evol-tools-857b72827cddd28a1daaaf64da7dd899606a42a5.tar.gz evol-tools-857b72827cddd28a1daaaf64da7dd899606a42a5.tar.bz2 evol-tools-857b72827cddd28a1daaaf64da7dd899606a42a5.tar.xz evol-tools-857b72827cddd28a1daaaf64da7dd899606a42a5.zip |
hercules: add comment about collision type monster wall (6)evolrelease2016-08-07
-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; |