summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-11 18:40:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-11 18:40:14 +0000
commit5abc71c7c7628c4e7691d2b629e5aa70cc528c76 (patch)
tree9648514e7316060c6a871e0e4e7ec28ccf899f9b /src/map/skill.c
parent74fe52db48a34b056bbe3f1806c9ffd237f67a44 (diff)
downloadhercules-5abc71c7c7628c4e7691d2b629e5aa70cc528c76.tar.gz
hercules-5abc71c7c7628c4e7691d2b629e5aa70cc528c76.tar.bz2
hercules-5abc71c7c7628c4e7691d2b629e5aa70cc528c76.tar.xz
hercules-5abc71c7c7628c4e7691d2b629e5aa70cc528c76.zip
- simplified the code for @autoloot
- made @hominfo display the six basic stats. - Simplified the MD_DETECTOR checks, since now all insects/demons have it set, and it's no longer needed to check for the race. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9464 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 3c13187d6..c623edd7f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5691,7 +5691,6 @@ int skill_castend_id (int tid, unsigned int tick, int id, int data)
if (md->db->skill[md->skillidx].emotion >= 0)
clif_emotion(src, md->db->skill[md->skillidx].emotion);
}
-
}
if(src != target && battle_config.skill_add_range &&
@@ -6286,6 +6285,7 @@ int skill_castend_pos2 (struct block_list *src, int x, int y, int skillid, int s
if (sd && !(flag&1) && sd->state.arrow_atk) //Consume arrow if a ground skill was not invoked. [Skotlex]
battle_consume_ammo(sd, skillid, skilllv);
+
return 0;
}