Fixes Basilica failing versus other skills (#6190)

* Fixes #6019.
* Partial revert of 01b8e76.
* Resolves Basilica from failing to work with other unit skills in the area.
Thanks to @Indigo000!
This commit is contained in:
Aleos 2021-08-16 14:03:39 -04:00 committed by GitHub
parent 729482a019
commit a97f3c6000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15724,7 +15724,7 @@ bool skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_i
return false; return false;
} }
} }
if( map_foreachinallrange(skill_count_wos, &sd->bl, range, BL_ALL, &sd->bl) ) { if( map_foreachinallrange(skill_count_wos, &sd->bl, range, BL_MOB|BL_PC, &sd->bl) ) {
clif_skill_fail(sd,skill_id,USESKILL_FAIL,0); clif_skill_fail(sd,skill_id,USESKILL_FAIL,0);
return false; return false;
} }