[GH-ISSUE #6771] Dragon's breath is OP #2210

Open
opened 2026-11-02 15:53:01 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6771

Originally assigned to: @Joansitoh on GitHub.

Version: Nightly 2026-11-01 c9d474d · OS: Windows 10, Intel Core i7-7700K @ 4.20GHz, NVIDIA GeForce GTX 1070 (copied from the report)

What I did: Got hit by dragons breath
What happened:Dragon's breath does 6 hearts of damage in one hit on easy difficulty. The breath has no hitbox when it's covering the ground. It should always land where the player is standing when the player is stationary. It either lands one block above where it should or the hit box is more than one block in height.
What I expected:I had to build up a couple blocks to avoid it. It should be avoidable by building up one block.
Does it happen every time? yes
Horizon version: Nightly 2026-11-01 c9d474d
OS, CPU, GPU: Windows 10, Intel Core i7-7700K @ 4.20GHz, NVIDIA GeForce GTX 1070

Reported on Discord by Mozoyolo in #horizon-bugs · Discord thread
Tags: gameplay

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6771 Originally assigned to: @Joansitoh on GitHub. **Version:** Nightly 2026-11-01 c9d474d · **OS:** Windows 10, Intel Core i7-7700K @ 4.20GHz, NVIDIA GeForce GTX 1070 <sub>(copied from the report)</sub> > What I did: Got hit by dragons breath > What happened:Dragon's breath does 6 hearts of damage in one hit on easy difficulty. The breath has no hitbox when it's covering the ground. It should always land where the player is standing when the player is stationary. It either lands one block above where it should or the hit box is more than one block in height. > What I expected:I had to build up a couple blocks to avoid it. It should be avoidable by building up one block. > Does it happen every time? yes > Horizon version: Nightly 2026-11-01 c9d474d > OS, CPU, GPU: Windows 10, Intel Core i7-7700K @ 4.20GHz, NVIDIA GeForce GTX 1070 Reported on Discord by **Mozoyolo** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566666710797385758) Tags: gameplay <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@Joansitoh commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally.

Cause found in crates/horizon-client/src/game/dragon.rs, tick_breath (~L2310-2442):

  • Damage is doubled: if c.from_dragon { 6.0 } else { 12.0 }. Vanilla AreaEffectCloud applies the instant effect with scale 0.5, and HealOrHarmMobEffect.applyInstantaneousEffect gives (int)(0.5 * (6 << amp) + 0.5): 3 for the flame cloud (amp 0) and 6 for the dragon fireball cloud (amp 1).
  • The hit test (pp.y - c.at[1]).abs() < 1.0 is not vanilla's. Vanilla takes getEntitiesOfClass(LivingEntity, cloud box), where the box is 0.5 tall from the cloud's y, then checks centre distance² <= radius².

Plan (small first slice, Part of #6771): pure harm_amount(amp) and cloud_hits(...) functions (modelled on tick_potion_cloud in game/potions.rs), the fireball cloud origin at the fireball's bottom (next.y - 0.5), and unit tests. The 20-tick victims cadence, the early lifetime discard and radius growth during the wait are left out of this slice.

<!-- gh-comment-id:6570698889 --> @Joansitoh commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. Cause found in `crates/horizon-client/src/game/dragon.rs`, `tick_breath` (~L2310-2442): - Damage is doubled: `if c.from_dragon { 6.0 } else { 12.0 }`. Vanilla `AreaEffectCloud` applies the instant effect with scale 0.5, and `HealOrHarmMobEffect.applyInstantaneousEffect` gives `(int)(0.5 * (6 << amp) + 0.5)`: 3 for the flame cloud (amp 0) and 6 for the dragon fireball cloud (amp 1). - The hit test `(pp.y - c.at[1]).abs() < 1.0` is not vanilla's. Vanilla takes `getEntitiesOfClass(LivingEntity, cloud box)`, where the box is 0.5 tall from the cloud's y, then checks centre distance² <= radius². Plan (small first slice, `Part of #6771`): pure `harm_amount(amp)` and `cloud_hits(...)` functions (modelled on `tick_potion_cloud` in `game/potions.rs`), the fireball cloud origin at the fireball's bottom (`next.y - 0.5`), and unit tests. The 20-tick victims cadence, the early lifetime discard and radius growth during the wait are left out of this slice.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2210
No description provided.