Sharpen the gas bomb and the laser

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
This commit is contained in:
Loïc Wisniewski 2026-09-04 22:34:29 +02:00
commit 1cb8fc54e9
6 changed files with 76 additions and 5 deletions

View file

@ -144,6 +144,12 @@ func _process(delta: float) -> bool:
main._handle_touch(release)
if not skill.projectile_active:
return _fail_now("release did not throw a gas bomb")
# #201 doubled the blast. Read off the bomb actually in flight, so
# a constant that stops reaching the effect fails here rather than
# passing on the strength of its own declaration.
if int(skill.projectiles[0].damage) != 6:
return _fail_now("gas bomb carries %d damage, expected the doubled 6" \
% int(skill.projectiles[0].damage))
elapsed = 0.0
stage = 1
1: