Summary
scripts/entities/base_enemy.gd:210 calls lifecycle.apply_damage(null, entity, damage) passing null for the attacker parameter. This means damage events from enemies (e.g., retribution damage, environmental damage triggered by enemies) lose attacker identity in logs and burden tracking.
Location
scripts/entities/base_enemy.gd:210
Impact
- Burden manager cannot attribute sentient-kill weight to the correct attacker
- Debug logs show
null for damage source
- Two other callers pass valid entities — this is the only null-attacker path
Priority: P1 · Size: XS · Status: Ready
Summary
scripts/entities/base_enemy.gd:210callslifecycle.apply_damage(null, entity, damage)passingnullfor the attacker parameter. This means damage events from enemies (e.g., retribution damage, environmental damage triggered by enemies) lose attacker identity in logs and burden tracking.Location
scripts/entities/base_enemy.gd:210Impact
nullfor damage sourcePriority: P1 · Size: XS · Status: Ready