summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-16 16:31:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-16 16:31:30 +0000
commit9b3a759edca28fa9445949aa0a3664d7dc8f6b2f (patch)
tree048521a0989fbea1662983dc2291d72688eb3e72 /src/map/unit.c
parentb035b0610206daff6e94f9d88297438e0ab93261 (diff)
downloadhercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.gz
hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.bz2
hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.xz
hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.zip
- @produce now can make any kind of equipment
- Fixed a warning on the mob_ai - Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster and target. - AM_REST shouldn't be checking for a range now (since it's a self skill) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index b70c88a97..9f1163387 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -773,15 +773,6 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
return 0;
}
break;
- //TODO: here we should place and correct skills that should target homun automatically. However some work still needs be done as "dead homuns" are deleted from memory, and as such, you can't really target them. [Skotlex]
- case AM_REST:
-// case AM_RESURRECTHOMUN:
- target = (struct block_list*)sd->hd;
- if (!target) {
- clif_skill_fail(sd,skill_num,0,0);
- return 0;
- }
- break;
}
if (target)
target_id = target->id;