diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-02 16:10:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-02 16:10:08 -0300 |
commit | afa190616650a240b2e0eb8e3bc38c9d6e73abb4 (patch) | |
tree | 05e37a179fe7d151b3012c297f3ef14d368500a3 /npc | |
parent | 6672a71807e3131a2030fb855f34b1f8bddc1e34 (diff) | |
download | serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.gz serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.bz2 serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.xz serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.zip |
[skip ci] More debug required
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-1/exit.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt index d0cddd15c..4c1d8cd80 100644 --- a/npc/000-1/exit.txt +++ b/npc/000-1/exit.txt @@ -12,8 +12,8 @@ OnTalkNearby: .@lx=array_find($@LOCAMASTER_LOC$, LOCATION$); debugmes "%s is %d", LOCATION$, .@lx; if (.@lx >= 0) { - warp $@LOCMASTER_MAP$[.@lx], $@LOCMASTER_X[.@lx], $@LOCMASTER_Y[.@lx]; - debugmes "%s (%d , %d)", $@LOCMASTER_MAP$[.@lx], $@LOCMASTER_X[.@lx], $@LOCMASTER_Y[.@lx]; + warp .LOCMASTER_MAP$[.@lx], .LOCMASTER_X[.@lx], .LOCMASTER_Y[.@lx]; + debugmes "%s (%d , %d)", .LOCMASTER_MAP$[.@lx], .LOCMASTER_X[.@lx], .LOCMASTER_Y[.@lx]; end; } @@ -25,10 +25,14 @@ OnTalkNearby: end; OnInit: - setarray $@LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Nival"; // 018-5 Lilit 024-1 Frostia - setarray $@LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "020-1"; - setarray $@LOCMASTER_X, 34, 40, 26, 86, 119, 56; - setarray $@LOCMASTER_Y, 101, 49, 30, 69, 87, 62; + setarray .LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Nival"; // 018-5 Lilit 024-1 Frostia + setarray .LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "020-1"; + setarray .LOCMASTER_X, 34, 40, 26, 86, 119, 56; + setarray .LOCMASTER_Y, 101, 49, 30, 69, 87, 62; + + debugmes "Locmaster: Index 0: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[0], .LOCMASTER_MAP$[0], .LOCMASTER_X[0], .LOCMASTER_Y[0]; + debugmes "Locmaster: Index 2: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[2], .LOCMASTER_MAP$[2], .LOCMASTER_X[2], .LOCMASTER_Y[2]; + debugmes "Locmaster: Index 5: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[5], .LOCMASTER_MAP$[5], .LOCMASTER_X[5], .LOCMASTER_Y[5]; end; } |