diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-08 21:23:51 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-08 21:23:51 +0000 |
commit | 6859bee5720898aa7fa2e65f460fc795fa6bbf7b (patch) | |
tree | 9a94460f3d5252d1355784583cc52028e0f65d02 /src/map/atcommand.c | |
parent | 5e91eb01b017839da608b1ca4d3248866ae58233 (diff) | |
download | hercules-6859bee5720898aa7fa2e65f460fc795fa6bbf7b.tar.gz hercules-6859bee5720898aa7fa2e65f460fc795fa6bbf7b.tar.bz2 hercules-6859bee5720898aa7fa2e65f460fc795fa6bbf7b.tar.xz hercules-6859bee5720898aa7fa2e65f460fc795fa6bbf7b.zip |
fixed script command 'isequippedcnt'
added new script command for new cards 'cardscnt'
(to fix cards exploits! should check old cards, too)
fixed @jail / @unjail SAVE POINT abuse
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1217 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9fea47dee..fdd3143a5 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6422,8 +6422,8 @@ int atcommand_unjail( if (pl_sd->bl.m != map_mapname2mapid("sec_pri.gat")) { clif_displaymessage(fd, msg_table[119]); // This player is not in jails. return -1; - } else if (pc_setpos(pl_sd, "prontera.gat", 156, 191, 3) == 0) { - pc_setsavepoint(pl_sd, "prontera.gat", 156, 191); // Save char respawn point in Prontera + } else if (pc_setpos(pl_sd, "prontera.gat", 0, 0, 3) == 0) { //old coords: 156,191 + pc_setsavepoint(pl_sd, "prontera.gat", 0, 0); // Save char respawn point in Prontera clif_displaymessage(pl_sd->fd, msg_table[120]); // GM has discharge you. clif_displaymessage(fd, msg_table[121]); // Player warped to Prontera. } else { |