summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 23:09:12 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-24 23:09:12 +0000
commit487ab0cc92f387857df51d0f137a1c2b671d8977 (patch)
tree2f49c1c482e90f903d53b5e14936c060715d9d87 /src/map/skill.c
parentd5bf16b258b6f1131dd11dd3fc8dbe3b069cc777 (diff)
downloadhercules-487ab0cc92f387857df51d0f137a1c2b671d8977.tar.gz
hercules-487ab0cc92f387857df51d0f137a1c2b671d8977.tar.bz2
hercules-487ab0cc92f387857df51d0f137a1c2b671d8977.tar.xz
hercules-487ab0cc92f387857df51d0f137a1c2b671d8977.zip
- Added script command escape_sql. It will return an escaped string for use in the sql_query script command (in case you want to use input of players in your queries).
- Removed the skill packet from TK_RUN as the client ignores the walkok packet sent right after it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 80bbacd4f..e419b2f56 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4138,7 +4138,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
i = status_change_end(bl, type, -1);
else
i = sc_start4(bl,type,100,skilllv,unit_getdir(bl),0,0,0);
- clif_skill_nodamage(src,bl,skillid,skilllv,i);
+// If the client receives a skill-use packet inmediately before
+// a walkok packet, it will discard the walk packet! [Skotlex]
+// clif_skill_nodamage(src,bl,skillid,skilllv,i);
break;
case AS_CLOAKING: /* ƒNƒ??ƒLƒ“ƒO */
if(tsc && tsc->data[type].timer!=-1 )