diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-15 14:00:32 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-15 14:00:32 +0000 |
commit | 98f7e84cd7692c8cc982ea15ce26c4d546e705b5 (patch) | |
tree | a8c938592eb6eacdf54c1006e594793e8358636d /src/map | |
parent | fac79cd757f3441741f4ad70d9ce511781f8be3f (diff) | |
download | hercules-98f7e84cd7692c8cc982ea15ce26c4d546e705b5.tar.gz hercules-98f7e84cd7692c8cc982ea15ce26c4d546e705b5.tar.bz2 hercules-98f7e84cd7692c8cc982ea15ce26c4d546e705b5.tar.xz hercules-98f7e84cd7692c8cc982ea15ce26c4d546e705b5.zip |
- Added item_db2.sql and mob_db2.sql, thanks to Joshuaali
- Added more usage of msg_athena on the slave atcommands.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5609 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4f69ef2bc..a9f3ccef2 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -10078,12 +10078,12 @@ int atcommand_clone( }
if((pl_sd=map_nick2sd((char *)message)) == NULL && (pl_sd=map_charid2sd(atoi(message))) == NULL) {
- clif_displaymessage(fd, "Player not found.");
+ clif_displaymessage(fd, msg_txt(3));
return 0;
}
if(pc_isGM(pl_sd) > pc_isGM(sd)) {
- clif_displaymessage(fd, "Cannot clone a player of higher GM level than yourself.");
+ clif_displaymessage(fd, msg_txt(126));
return 0;
}
@@ -10094,7 +10094,7 @@ int atcommand_clone( master = sd->bl.id;
if (battle_config.atc_slave_clone_limit
&& mob_countslave(&sd->bl) >= battle_config.atc_slave_clone_limit) {
- clif_displaymessage(fd, "You've reached your slave clones limit.");
+ clif_displaymessage(fd, "");
return 0;
}
}
@@ -10108,13 +10108,12 @@ int atcommand_clone( x = sd->bl.x;
y = sd->bl.y;
}
-
if((x = mob_clone_spawn(pl_sd, (char*)mapindex_id2name(sd->mapindex), x, y, "", master, 0, flag?1:0, 0)) > 0) {
- clif_displaymessage(fd, msg_txt(126+flag*2));
+ clif_displaymessage(fd, msg_txt(128+flag*2));
return 0;
}
- clif_displaymessage(fd, msg_txt(127+flag*2));
+ clif_displaymessage(fd, msg_txt(129+flag*2));
return 0;
}
|