From 6c1bf412e2ed8a8578c55149dd64e3755499f2af Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 3 Mar 2006 00:26:23 +0000 Subject: - Fixed a stupid typo that disabled all pet support skills from ever triggering (except ground-based ones) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5439 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/pet.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index ff9ae1186..af6993a95 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS 2006/03/02 + * Fixed a typo that disabled all pet support skills from triggering (except + ground-based ones) [Skotlex] * status_check_skilluse cleanup. Some status will only block skills when they are first used, not on cast-end (which includes auto-spells and ground-skill checks). Now when status_castcancel is 'no', skills WILL diff --git a/src/map/pet.c b/src/map/pet.c index 4249ab1fa..77df949b2 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -331,7 +331,7 @@ static int petskill_castend2(struct pet_data *pd, struct block_list *target, sho if (!target) return 0; if(!check_distance_bl(&pd->bl, target, - skill_get_range2(&pd->bl, skill_id, skill_lv))); + skill_get_range2(&pd->bl, skill_id, skill_lv))) return 0; if (!status_check_skilluse(&pd->bl, target, skill_id, 1)) return 0; -- cgit v1.2.3-70-g09d2