From 6cb1278f000d3a9a14d2a5d2c30d2b008894a6b7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 5 Mar 2006 19:14:58 +0000 Subject: - Fixed remove trap by updating the definition of INF_GROUND_SKILL (it shouldn't include target-targetting skills!) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5468 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- src/map/skill.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index 03aa4ca3c..5085dd94f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3041,7 +3041,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s break; default: - ShowWarning("Unknown skill used:%d\n",skillid); + ShowWarning("skill_castend_damage_id: Unknown skill used:%d\n",skillid); map_freeblock_unlock(); return 1; } @@ -5536,7 +5536,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; default: - ShowWarning("Unknown skill used:%d\n",skillid); + ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid); map_freeblock_unlock(); return 1; } diff --git a/src/map/skill.h b/src/map/skill.h index 46752ed11..a87daa66a 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -14,8 +14,7 @@ //Constants to identify the skill's inf value: #define INF_ATTACK_SKILL 1 -//For the time being, all trap-targetted skills ARE ground based: -#define INF_GROUND_SKILL (2|32) +#define INF_GROUND_SKILL 2 // Skills casted on self where target is automatically chosen: #define INF_SELF_SKILL 4 #define INF_SUPPORT_SKILL 16 -- cgit v1.2.3-70-g09d2