summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-03 15:30:11 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-03 15:30:11 +0000
commit69f88875ae6da9a4d0f192ecc1812972c58c0400 (patch)
tree888309d649db05b8623682324b2bb0a257babc89 /src/map/unit.c
parentbf45f06c19fde93a3e3699e0ca400909392ce02b (diff)
downloadhercules-69f88875ae6da9a4d0f192ecc1812972c58c0400.tar.gz
hercules-69f88875ae6da9a4d0f192ecc1812972c58c0400.tar.bz2
hercules-69f88875ae6da9a4d0f192ecc1812972c58c0400.tar.xz
hercules-69f88875ae6da9a4d0f192ecc1812972c58c0400.zip
* Some clean ups on autocast and itemskill code. (see topic:220921 for some info)
- Autocasted Teleport now skips the menu. - Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815) - Fixed Warp portal used in item script never worked. - Item skills now bypass skill delay check. - Implemented SM_SELFPROVOKE. - Updated item db using 'itemskill' for some items. * Basic skills will never be reset. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13841 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 05bfa1b50..9e7d813dc 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -951,7 +951,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
if (!skill_check_condition_castbegin(sd, skill_num, skill_lv))
return 0;
}
- //TODO: Add type-independant skill_check_condition function.
+
if( src->type == BL_MOB )
switch( skill_num )
{