kaansoral / adventureland

Adventure Land The Open Source CODE MMORPG
Other
189 stars 60 forks source link

fix early return when checking aggro diffs #146

Open ATLUSio opened 1 month ago

ATLUSio commented 1 month ago

when checking aggro diff, a "regular" for loop iterating over players is nested in a .forEach loop iterating over map_defs and a return was used in the regular for loop which stops after the first player. if the next player would be raged upon, the monster wouldn't rage because of the return. updating the return to a continue moves to the next player for rage checking.

ATLUSio commented 1 month ago

Needs further testing. Do not approve/merge yet.