Make mob projectiles visible for at least one tick and improve hit logs
- Add SpawnTick on projectiles and skip mob->player collision on spawn tick - Prevent spawn-and-hit same-tick consumption that can hide projectiles from state feed - Add explicit [ProjectileHit] server log with ability key and damage for troubleshooting
This commit is contained in:
@@ -12,6 +12,7 @@ public enum ProjectileSource
|
||||
public class ProjectileInstance
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public long SpawnTick { get; set; }
|
||||
|
||||
// Source tracking
|
||||
public ProjectileSource SourceType { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user