Repository navigation
Mob statuses and Poison Mist - #506
Merged
Merged
Conversation
Server: MobStat flags in the client's decode order, statuses in spawn packets, USE_SKILL mob list, Threaten/Slow/Seal/Doom/Shadow Web applied in area with prop rolls, crashes/Dispel cancel mob buffs, expiry resets. HC: MobStatParser, spawn + 0xF2/0xF3 handlers, Speed into the shoe, Doom look swap/restore, hold for Stun/Freeze/Web, status effects. Harness: mob_debuffs (Slow on snails).
Attacks put their skill's status (stuns, Panic's darkness, freezes, poisons) and a learned Venom on the mobs they hit, rolled per hit that deals damage. Ninja Ambush joins the USE_SKILL debuffs. Poison, Venom and Ambush take HP on the field tick each second (fixedDamage if the mob has one, never below 1 HP), crediting the inflicter and sending them the HP bar. Poison- and ice-immune mobs (elemAttr S1/I1) shrug off Poison and Freeze. HeavenClient shows the numbers each second over the hurt mob as v83's CMob::Update does (MobHurts).
Server: Poison Mist's attack leaves a mist over the skill's lt/rb box around the caster (mirrored facing right). It starts 800 ms later, rolls prop every 2.5 s to poison the live mobs in it, and lifts after the skill's time. AFFECTED_AREA_CREATED goes to the map and to joiners; AFFECTED_AREA_REMOVED lifts it. HeavenClient: MapMists lays the skill's `tile` clouds over the area as v83's FUN_00432776 does (MistLayout.h, a diamond of random tiles), draws them above the map's objects, and fades them out over a second on removal. Harness: poison_mist.
neeerp
force-pushed
the
v83/mob-statuses
branch
from
October 17, 2026 23:26
630eae1 to
3fff510
Compare
neeerp
added this pull request to stack #515
October 17, 2026 23:30
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.
Mobs can now carry statuses, from players' skills and attacks, and Poison Mist leaves its cloud.
What changed
MobStatParser; Speed into the mob's movement; Doom's look swap; Stun, Freeze and Web hold the mob; status effects.CMob::Updatedoes. Poison- and ice-immune mobs shrug those off.FUN_00432776does and fades them out.Not covered
Verification
mob_debuffs(Slow on snails),mob_poisonandpoison_mist.Reviewed with sol-loop: 2 rounds with gpt-6.1-sol on high.
Stacked on #505