Skip to content

Commit

Permalink
Fixed an issue with Chorus skill range (fixes #1162)
Browse files Browse the repository at this point in the history
* Follow up to 497cca1.
* Resolves some Chorus skills not activating properly.
  • Loading branch information
aleos89 committed Apr 29, 2016
1 parent 703b1ec commit ba1c45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/skill.c
Expand Up @@ -995,7 +995,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
// Minstrel/Wanderer number check for chorus skills.
// Bonus remains 0 unless 3 or more Minstrels/Wanderers are in the party.
if( sd && sd->status.party_id ) {
chorusbonus = party_foreachsamemap(party_sub_count_class, sd, MAPID_THIRDMASK, MAPID_MINSTRELWANDERER);
chorusbonus = party_foreachsamemap(party_sub_count_class, sd, AREA_SIZE, MAPID_THIRDMASK, MAPID_MINSTRELWANDERER);
if( chorusbonus > 7 )
chorusbonus = 5; // Maximum effect possible from 7 or more Minstrels/Wanderers
else if( chorusbonus > 2 )
Expand Down Expand Up @@ -5887,7 +5887,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
// Minstrel/Wanderer number check for chorus skills.
// Bonus remains 0 unless 3 or more Minstrels/Wanderers are in the party.
if( sd && sd->status.party_id ) {
chorusbonus = party_foreachsamemap(party_sub_count_class, sd, MAPID_THIRDMASK, MAPID_MINSTRELWANDERER);
chorusbonus = party_foreachsamemap(party_sub_count_class, sd, AREA_SIZE, MAPID_THIRDMASK, MAPID_MINSTRELWANDERER);
if( chorusbonus > 7 )
chorusbonus = 5; // Maximum effect possible from 7 or more Minstrels/Wanderers
else if( chorusbonus > 2 )
Expand Down

0 comments on commit ba1c45c

Please sign in to comment.