OpenDAoC / OpenDAoC-Core

OpenDAoC is a free Dark Age of Camelot server emulator
https://www.opendaoc.com
GNU General Public License v3.0
33 stars 21 forks source link

Fix Battery of Life double loop #10

Closed bm01 closed 2 years ago

bm01 commented 2 years ago

SendCasterSpellEffectAndCastMessage() already loops through all players in radius and sends them the message + animation.

That double loop made Battery of Life play its animation n*n times and its message n times, n being the amount of players in range.