Skip to content

Row 3022: read Confusion level 2's misspelled cooldown, so Leviathan attacks - #1518

Merged
neeerp merged 1 commit into
masterfrom
v83/mob-interval-1
Nov 9, 2026
Merged

neeerp merged 1 commit into
masterfrom
v83/mob-interval-1

Conversation

@neeerp

@neeerp neeerp commented Nov 9, 2026

Copy link
Copy Markdown
Owner

MobSkill.img 132/level/2 spells its cooldown key inteval (60). We read only interval, so the cooldown was 0. Confusion then stayed usable on every grant, and grant() picks among the usable skills, so Leviathan (8220003) cast it every ~3 s and never used its ice and fire magic attacks. The same level is used by Pink Bean's 8820004/8820016 and a few event mobs (9300182, 9300201, 9300213, 9300293, 9300351, 9303016, 9500361, 9501017).

mob_skill() now falls back to inteval when interval is missing.

Checked on the lane world, with a trace on Leviathan's moves:

  • Before: a Confusion cast every 3 s, no attacks.
  • After: attack1/attack2 every 3–4 s, Confusion at 60 s, Weakness at 45 s ("You've been weakened, making you unable to jump.").

Test: cargo test -p game-data reads_mob_skills (asserts 132/2 reads interval 60, duration 15).

…, so Leviathan casts Confusion once a minute and attacks between

Without it the cooldown read as 0, Confusion stayed usable on every
grant, and Leviathan (and Pink Bean's Rex and a few event mobs that use
the same level) cast it every move and never used its ice and fire
magic. Seen on the lane world: a cast every 3 s before, then attacks
with Confusion at 60 s and Weakness at 45 s after.
@neeerp
neeerp merged commit ebf4b36 into master Nov 9, 2026
1 check passed
@neeerp
neeerp deleted the v83/mob-interval-1 branch November 9, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant