summaryrefslogtreecommitdiff
path: root/src/map/script-parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script-parse.cpp')
-rw-r--r--src/map/script-parse.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/script-parse.cpp b/src/map/script-parse.cpp
index a785748..a69df40 100644
--- a/src/map/script-parse.cpp
+++ b/src/map/script-parse.cpp
@@ -283,6 +283,10 @@ ZString::iterator skip_word(ZString::iterator p)
p++; // MAP鯖内共有変数用
if (*p == '@')
p++; // 一時的変数用(like weiss)
+ if (*p == '.')
+ p++; // npc
+ if (*p == '@')
+ p++; // scope
if (*p == '#')
p++; // account変数用
if (*p == '#')
@@ -623,6 +627,7 @@ ZString::iterator ScriptBuffer::parse_line(ZString::iterator p, bool *can_step)
"end"_s,
"mapexit"_s,
"shop"_s,
+ "destroy"_s,
};
*can_step = terminators.count(cmd->strs) == 0;
}