- Fixed a stupid typo that disabled all pet support skills from ever triggering (except ground-based ones)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5439 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
28e4d9d3ae
commit
15dc14c30b
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user