From 06c4c2f94c63ccfc5b2e1a297325f5a3c304f2a0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 11 Apr 2007 19:19:06 +0000 Subject: - When a mob fails to use the selected skill, it will now move on to the next one in the list, rather than return from the function with fail status. - Mobs won't try to run away when rude-attacked if they have a locked-on target already. - Moved the teleport on LP fail check from castend_nodamageid to status_check_skilluse, this way unit_useskill will return failed when trying to use it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10221 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 4c3559b9f..ce6f81aaf 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4443,10 +4443,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; case AL_TELEPORT: - //Should fail when used on top of Land Protector [Skotlex] - if (map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR)) - break; - if(sd) { if (map[bl->m].flag.noteleport) { clif_skill_teleportmessage(sd,0); -- cgit v1.2.3-60-g2f50