DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 549 forks source link

Fix some crash issues in Dawn BCNM #6398

Closed cocosolos closed 4 years ago

cocosolos commented 4 years ago

This adds a check that the target is alive or the spell is meant for a dead target when targeting a mob with a spell. Normally this isn't a problem because mobs are untargetable when they die, but Prishe lets you raise her when she dies in this BCNM, so you can crash the client by casting cure or protect on her if she dies. This also adds a check so that tractor can only be cast on a player, fixing a server crash in the same situation.