Closed kgurchiek closed 6 months ago
ok cool
I'm getting a bug. Not sure if it matters though.
It occurs every time the boss hits the player. It must have to do with the .call
Are there any tech or anything that changes all mobs' onHit? If not, there isn't a default onHit, so that line could just be removed. If there is any way it could possibly be overwritten, then just change it to if (oldOnHit) oldOnHit.call(boss)