From 69f88875ae6da9a4d0f192ecc1812972c58c0400 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Wed, 3 Jun 2009 15:30:11 +0000 Subject: * 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 --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') 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 ) { -- cgit v1.2.3-60-g2f50