Implement weapons-free respawn areas and restore player stats on level up
- Add a sheltered state to Player when standing in a RespawnArea.
- Disarm player, play SFX, and display NoWeaponsUi indicator when entering a sheltered area.
- Prevent Spider, CrystalSanctuaryGuardian, and LiveRock from attacking a sheltered player.
- Restore player health, mana, hunger, thirst, and energy to max values upon leveling up.
- Filter out player’s own body during raycasts to prevent self-collision.
- Increase volume of loot pickup SFX and update starting staff level to 27.
- Reset mob health to max when loading JSON in editor mode.
- Decrease spider walk SFX interval and register new crawl sound assets.
I’m trying to make mobs stop attacking the player when the player is in the respawn area, but with the right timing, you can lure them inside and essentially trap yourself.
I’m wondering if building a buffer zone before the door would help?