[agent:claude-cli] feat(mobs): shark pursuit 15u + dégâts -20HP + knockback, fish school fuite boost, drops requin(dent)/méduse(gelée), recettes Amulette T2 + Lampe Portable
This commit is contained in:
@@ -317,6 +317,10 @@ func take_damage(amount: float) -> void:
|
||||
player_died.emit()
|
||||
|
||||
|
||||
func apply_knockback(impulse: Vector3) -> void:
|
||||
velocity += impulse
|
||||
|
||||
|
||||
func heal(amount: float) -> void:
|
||||
health = min(max_health, health + amount)
|
||||
_emit_stats()
|
||||
|
||||
Reference in New Issue
Block a user