diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/pet.c | 2 |
2 files changed, 3 insertions, 1 deletions
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;
|