From a2185d8ccf800a0d5412a19404218c7a99921fdf Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 10 Jan 2008 13:10:13 +0000 Subject: - Removed 'skill_steal_type' from skill.conf as said config no longer exists. - Corrected @slaveclone/@clone behaving as @evilclone when you change the @ symbol. - Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they were card granted bonuses. - fixed a SA_DISPELL crash when casted on an object with no status changes. - Adjusted the autospell code so that it does not relies on card_id == 0 for subtracting rates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12041 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 07dc0d3a4..cc6e21874 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7971,9 +7971,9 @@ int atcommand_clone(const int fd, struct map_session_data* sd, const char* comma return 0; } - if (strcmpi(command, "@clone") == 0) + if (strcmpi(command+1, "clone") == 0) flag = 1; - else if (strcmpi(command, "@slaveclone") == 0) { + else if (strcmpi(command+1, "slaveclone") == 0) { flag = 2; master = sd->bl.id; if (battle_config.atc_slave_clone_limit -- cgit v1.2.3-60-g2f50