summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-17 10:53:38 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-17 10:53:38 +0000
commitc2ab3377eafb9f941344a388f038ecec45f87f9c (patch)
treef7ae5e037faadf0c47e25c706d5a5b8c9486365a /src/map/atcommand.c
parenta89c7dda8ac0eded573e3c24d59684d15957646d (diff)
downloadhercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.gz
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.bz2
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.xz
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@595 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index d1f645d9c..fcd6812f6 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -186,7 +186,6 @@ ACMD_FUNC(killer); // by MouseJstr
ACMD_FUNC(npcmove); // by MouseJstr
ACMD_FUNC(killable); // by MouseJstr
ACMD_FUNC(charkillable); // by MouseJstr
-ACMD_FUNC(chareffect); // by MouseJstr
ACMD_FUNC(dropall); // by MouseJstr
ACMD_FUNC(chardropall); // by MouseJstr
ACMD_FUNC(storeall); // by MouseJstr
@@ -433,7 +432,6 @@ static AtCommandInfo atcommand_info[] = {
{ AtCommand_NpcMove, "@npcmove", 20, atcommand_npcmove }, // by MouseJstr
{ AtCommand_Killable, "@killable", 40, atcommand_killable }, // by MouseJstr
{ AtCommand_CharKillable, "@charkillable", 40, atcommand_charkillable }, // by MouseJstr
- { AtCommand_Chareffect, "@chareffect", 40, atcommand_chareffect }, // MouseJstr
{ AtCommand_Dropall, "@dropall", 40, atcommand_dropall }, // MouseJstr
{ AtCommand_Chardropall, "@chardropall", 40, atcommand_chardropall }, // MouseJstr
{ AtCommand_Storeall, "@storeall", 40, atcommand_storeall }, // MouseJstr
@@ -7098,34 +7096,6 @@ atcommand_follow(const int fd, struct map_session_data* sd,
/*==========================================
- * @chareffect by [MouseJstr]
- *
- * Create a effect localized on another character
- *------------------------------------------
- */
-int
-atcommand_chareffect(const int fd, struct map_session_data* sd,
- const char* command, const char* message)
-{
- struct map_session_data *pl_sd = NULL;
- char target[255];
- int type = 0;
- nullpo_retr(-1, sd);
-
- if (!message || !*message || sscanf(message, "%d %s", &type, target) != 2) {
- clif_displaymessage(fd, "usage: @chareffect <type+> <target>.");
- return -1;
- }
-
- if((pl_sd=map_nick2sd((char *) target)) == NULL)
- return -1;
-
- clif_specialeffect(&pl_sd->bl, type, 0);
- clif_displaymessage(fd, msg_table[229]); // Your effect has changed.
-
- return 0;
-}
-/*==========================================
* @dropall by [MouseJstr]
*
* Drop all your possession on the ground