From 5abc71c7c7628c4e7691d2b629e5aa70cc528c76 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 11 Dec 2006 18:40:14 +0000 Subject: - 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 --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') 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; } -- cgit v1.2.3-70-g09d2