summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorEmistry Haoyan <equinox1991@gmail.com>2020-03-08 05:18:26 +0800
committerEmistry Haoyan <equinox1991@gmail.com>2020-07-06 00:50:48 +0800
commitd3c24f7d9ae64354e446a85ba0dad21daca589c1 (patch)
tree194c6e85100d516fe73425f6aed1c72ea05d61fe /src/map/atcommand.c
parent1dfebbd4966310387357cbddae600418a56df658 (diff)
downloadhercules-d3c24f7d9ae64354e446a85ba0dad21daca589c1.tar.gz
hercules-d3c24f7d9ae64354e446a85ba0dad21daca589c1.tar.bz2
hercules-d3c24f7d9ae64354e446a85ba0dad21daca589c1.tar.xz
hercules-d3c24f7d9ae64354e446a85ba0dad21daca589c1.zip
Add NoPet mapflag
- allow to set nopet mapflag at any maps. - mapflag to disable pet, and force return to egg.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 9d5c601bf..c1a717439 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4101,6 +4101,8 @@ ACMD(mapinfo)
strcat(atcmd_output, msg_fd(fd, 1292)); // PrivateAirshipStartable |
if (map->list[m_id].flag.pairship_endable)
strcat(atcmd_output, msg_fd(fd, 1293)); // PrivateAirshipEndable |
+ if (map->list[m_id].flag.nopet != 0)
+ strcat(atcmd_output, msg_fd(fd, 853)); // NoPet |
clif->message(fd, atcmd_output);
switch (list) {