From 8ea536a419ac3e04b8396afb8fe0f001f3238fdf Mon Sep 17 00:00:00 2001 From: David Goldstein Date: Mon, 9 Nov 2026 06:42:36 -0500 Subject: [PATCH] Row 3022: MobSkill 132 level 2 spells its cooldown "inteval"; read it, 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. --- game-data/src/skills.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/game-data/src/skills.rs b/game-data/src/skills.rs index 1341b6286..4e1ac93ae 100644 --- a/game-data/src/skills.rs +++ b/game-data/src/skills.rs @@ -312,7 +312,13 @@ impl SkillData { } Ok(Some(MobSkillLevel { mp_cost: int("mpCon")?, - interval: int("interval")?, + // Confusion level 2 spells it "inteval" (Leviathan, Pink Bean's + // Rex, a few event mobs); without it they recast it every move + // and never attack. + interval: match nx.int_child(node, "interval")? { + Some(seconds) => seconds, + None => int("inteval")?, + }, duration: int("time")?, x: int("x")?, y: int("y")?, @@ -430,6 +436,8 @@ mod tests { let heal = data.mob_skill(114, 15).unwrap().unwrap(); assert_eq!((heal.x, heal.y, heal.hp), (700, 200, 80)); assert_eq!((heal.lt, heal.rb), ((-400, -350), (400, 250))); + let confusion = data.mob_skill(132, 2).unwrap().unwrap(); + assert_eq!((confusion.interval, confusion.duration), (60, 15)); let summon = data.mob_skill(200, 1).unwrap().unwrap(); assert_eq!(summon.summons, [7130200]); assert_eq!((summon.limit, summon.summon_effect, summon.hp), (5, 2, 75));