Repository navigation
Row 3022: read Confusion level 2's misspelled cooldown, so Leviathan attacks - #1518
Merged
Merged
Conversation
…, 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MobSkill.img 132/level/2 spells its cooldown key
inteval(60). We read onlyinterval, 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 tointevalwhenintervalis missing.Checked on the lane world, with a trace on Leviathan's moves:
Test:
cargo test -p game-data reads_mob_skills(asserts 132/2 reads interval 60, duration 15).