Skip to content

chore(BaseEnemy): apply_damage passes null as attacker, losing log context #249

@niyazmft

Description

@niyazmft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjulesGating label for Google Jules offload

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions