LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI
https://landsandboat.github.io/server/
GNU General Public License v3.0
302 stars 608 forks source link

[combat] Add safety checks to status effect data fetching logic #6368

Closed Xaver-DaRed closed 1 month ago

Xaver-DaRed commented 1 month ago

I affirm:

What does this pull request do?

Ensure a table entry for an status effect exists before attempting to fetch it. It seems an or 0 just doesnt cut it

Steps to test these changes

Have mobs use status effect mobskills and not see errors in log.