Suprcode / Zircon

Legend of Mir 3 - Official Public Zircon Source
337 stars 256 forks source link

Parasite Explosion Crashes Server if used on a player #123

Closed ProphecyMir3 closed 9 months ago

ProphecyMir3 commented 9 months ago

As title says.. even tho based on code you shouldn't be able to use it on anything by a mob

image

ProphecyMir3 commented 9 months ago

Specifically on the Explode code

ProphecyMir3 commented 9 months ago

I have added 'ob.Race != ObjectType.Monster' to the spell return code but still will need to be looked at on the source here.

Suprcode commented 9 months ago

Shouldn't be any reason it couldn't explode on a player - that code was just to set the exp owner so i've moved it out