Commit Graph
46917 Commits
Author SHA1 Message Date
Karrz1 fa476bb2be Bots: register .bot trade, answer the raid reset words, and load ForeverBots_Trade.lua 2026-11-16 17:38:52 +00:00
Karrz1 eb8fff366e Comments name Karrz, not a first name, in this release's code 2026-11-16 17:22:58 +00:00
Karrz1 01e37d09ae Bots: a companion answers its player's guild invite
0141 did not do it: Chaelanna, grouped with her player, had the invite
pending and never ran idle:guild_invite_accept. Every "idle:guild_"
rule counts as a world errand, and world errands are skipped for a bot
led by a player, so the accept rule never reached its gate. Accepting
an invite takes the bot nowhere; it is no errand now.

IsWorldErrand moves to Bot/IdleRuleErrands.h so a Catch2 case can check
the list.
2026-11-16 17:04:30 +00:00
Karrz1 15d127278c Bots: supplies the owner hands over are a gift, not bought
Five Brilliant Mana Oil traded to a healer bot by its player were
answered with "i'll give you 10s for that": only gear upgrades, gear
for later levels and recipe reagents counted as gifts. A potion,
elixir, flask, food or drink, weapon oil or stone, or bandage the bot
can use itself is now a gift from its owner or a group mate too.
Strangers still sell it at the fair price.
2026-11-16 16:35:31 +00:00
Karrz1 4e78f3b05b Bots: a bot following its player answers a guild invite
The guild invite accept rule ran at priority 853, below the owner
orders. A bot on a Follow order fires idle:owner_following (990)
every tick, which ends the tick, so a /ginvite from its player was
never accepted. The accept moves nothing and only fires once per open
invite, so it now runs at 997, above the owner orders. The accept is
logged ("[guild_invite] ... accepts").
2026-11-16 16:26:41 +00:00
Karrz1 87c9dc685c PlayerbotV2: raid healers put Brilliant Mana Oil on their weapon
Healer bots never used a weapon oil: the damage casters get Brilliant
Wizard Oil, and the healers' pick named in its comment did not exist.
Brilliant Mana Oil (20748) gives +12 mana every 5 s and +25 healing for
30 minutes, about 720 mana over a 5-minute boss fight, a tenth of a raid
healer's pool. Nefarian 11-14: ten healers at 18% mana when he landed.

The healer raid kit stocks five (stock only, like the casters' oil and
potions), and idle:classic_weapon puts one on the main hand while it
carries no temporary enchant or under a minute of one. A Restoration
shaman that has the oil, or wears it, puts no imbue on the main hand: a
Rockbiter or Flametongue Weapon heals nothing and would replace the oil.
2026-11-16 12:17:59 +00:00
Karrz1 36316accba PlayerbotV2: Playerbot.Interact.AcceptInvitesFrom picks whose invite a bot takes
Playerbot.Interact.AutoAcceptInvites was parsed and never read: bots took
every invite. Every installed playerbot.conf holds friends_or_higher for
it, so making that key work would have started bots refusing strangers on
every realm. The new key AcceptInvitesFrom (anyone, guild, friends, none)
defaults to anyone, which is today's behaviour. The bot's owner and game
masters are always answered and the bots' own invites are not touched.
Friends are the bot's own friend list (whisper it "addfriend <name>"),
guild is friends plus guild members. A refused invite is declined and
logged.
2026-11-16 10:03:02 +00:00
Karrz1 d70d3ee5b6 PlayerbotV2: bot pickup groups break up again
Two world bots that grouped on their own (idle:invite_nearby_player) stayed
grouped until the next restart: grouped bots counted as tied up, outside
the world cap, the spawner never logged them out and the runtime group
hygiene left every pure-bot group alone, so the grouped count only grew
(GitHub #345).

A group a bot's own invite made is now noted as a pickup group
(Fleet/PickupGroups.h). Its bots count toward Playerbot.World.MaxBots, the
spawner breaks it up once none of its bots is near a player (they are then
logged out like any far world bot), and the group hygiene breaks it up at
the end of its 10 to 20 minute life. Never while a member fights, is being
teleported or is in an instance, and a group a player joined is his.
The [world] line counts pickup_groups and how many were broken up.
2026-11-16 09:57:46 +00:00
Karrz1 7b847dd3ec PlayerbotV2: a healer under level 10 heals in combat
Under level 10 every bot ran its class's spec 0 rotation, which is the
damage rotation for the druid, shaman and paladin. A healer companion of
those classes never healed its owner during a fight and only healed him
after it, through the out-of-combat heal that goes by role. On the Classic
realm a healer now keeps its healer rotation at any level: each class has
its heal from level 1 and the Classic healer rotations check every spell
before they cast it.
2026-11-16 09:30:10 +00:00
Karrz1 47281587b9 Tests: the raid scenario count checks Kel'Thuzad's own scenario too 2026-11-15 23:51:03 +00:00
Karrz1 6f75a5c2ca Scenario: boss pulls log each raider's threat against the boss's victim
[pull_stats] gains the threat each raider holds on the boss, sampled once a
second: for the boss's victim its threat a second and how long the boss was
on it, for everyone else the peak percent of the victim's threat and the
seconds spent at 85 % or more of it. A DPS bot that sits there is capped by
the tank's threat, not by its rotation, so the line tells which of the two
limits the raid's damage before either is tuned.
2026-11-15 23:25:18 +00:00
Karrz1 548a76325e Bots: a soak anchor is never let go as a companion whose owner left 2026-11-15 22:10:27 +00:00
Karrz1 bc6b943603 Bots: one .reload config reloads the bot settings, conf.d wins
`.playerbot reload` re-added playerbot.conf on top of the merged config.
Any key in playerbot.conf then beat the same key in worldserver.conf.d
(test runs set Playerbot.World.SoakAnchors, PlayerbotV2.SnapshotBuildSplitMap
and the like there), so a test setting could vanish on reload. And
`.reload config` alone did not refresh the module's cached settings, so a
run needed both commands.

- playerbot.conf is loaded as a base file: worldserver.conf.d overrides it,
  at startup and after every reload.
- `.playerbot reload` reads every config file again in that order and takes
  the values; `.reload config` now also refreshes the module's settings
  (OnConfigLoad), so it is enough on its own.
- after every load and reload the log, and the `.playerbot reload` reply,
  show the effective ParallelSnapshotBuild, SnapshotBuildSplitMap,
  World.Enable and World.SoakAnchors.

Changes for a realm that has the same key in playerbot.conf and in
worldserver.conf.d with different values: the conf.d value now wins.
2026-11-15 21:26:39 +00:00
Karrz1 c425a1912e Bots: the off tanks go in with the main tank on a melee-soak boss pull 2026-11-15 21:17:23 +00:00
Karrz1 8de3443797 Bots: a short item proc scores by its uptime, so tanks stop picking Felstriker 2026-11-15 21:17:23 +00:00
Karrz1 43a33f8b4e Bots: Patchwerk's hall posts hold only while he is fought in his hall 2026-11-15 21:13:13 +00:00
Karrz1 5ddc38f557 Bots: a gear mode chosen while hired bots are on says the bots keep their grade's gear 2026-11-15 21:03:05 +00:00
Karrz1 0c1cb27fdf Gluth: his tank stays at its step once he is at the wall
0085 dragged him to the east wall again whenever he stood 12 y from the
spot where he had stopped. He steps after his tank by up to its 10 y
step, so the step itself sent the tank back to the wall every few
seconds: in naxx_gluth 1115h the holder moved for 62 of 90 s, made 15
white hits and no Sunder at 86 rage on average, and every DPS stood
26-29 s in the threat hold under it. Gluth stayed at 94-99%.

He is now dragged again only when he leaves the wall area: farther
than 32 y from the drag spot (he settles within 20 y of it and his tank
stands 10 y past him).
2026-11-15 18:50:47 +00:00
Karrz1 fa26afdb90 Patchwerk: the healers wait at the east end of his hall before the pull
naxx_patchwerk 1115i met him at his spawn as planned, but the healers
stood on the room's lower floor, 75 y and out of sight from the fight.
Each soaker took one Hateful Strike (7k of 10.7k) in the first 3 s, the
healers spent 29 of 61 s walking, cast nothing for 18 s, and every tank
died before the first heal landed.

The healers' posts move to the two corners of the hall's east end,
3326,-3223 and 3326,-3241: 20 y from his spawn, 23-26 y from him where
the main tank holds him, off his walk. While he is 90 y or more down his
walk the raid brain sends them there as pre-pull spots (the scenario
waits for them), and they stay sent while he walks back.
2026-11-15 18:50:47 +00:00
Karrz1 13e2f64829 Bots: rule path probes use their own query and never load a grid
The idle rules run on the worker pool while the map threads update the
world, and several of them check paths and nav points on the bot's live map
(stand points, dungeon steps, regroup and rejoin steps, water exits). Those
searches used the one Detour query each map instance shares with the map's
own creature pathing, which is not thread-safe, and NearestNavPoint called
Map::LoadGrid from the worker.

Each worker thread now:
- searches with its own navmesh queries (MMAP::ScopedThreadNavMeshQuery), and
  SehSafeCalculatePath, SehSafeCalculatePathFrom and SehSafeNearestPolyProbe
  hold the navmesh read lock for the search, so no tile changes under it;
- never touches the grids (BotMovement::ScopedBotLogicThread): a nav-point
  probe hands its grid to the world thread, which loads it at the start of
  the next snapshot phase, and searches the tiles loaded now.

World and map thread searches are unchanged. Deferred grid requests are
kept by map id and instance id and looked up again before loading, so a
request never outlives its map. TickPerf logs bot_logic_grid_loads when
there were any.
2026-11-15 17:29:16 +00:00
Karrz1 38c976d6b4 Bots: split the snapshot build of one busy map over the build pool
The parallel snapshot build gave each map one thread. With nearly all bots on
one continent (the busy-world soak: ~300 bots on Eastern Kingdoms) the whole
build ran on the world thread, about as much world-thread time as all the map
updates together.

PlayerbotV2.SnapshotBuildSplitMap = 1 (default 0, read every tick) also splits
an open-world map with 16 or more due bots into parts, at most one per build
thread (8 bots per part at least). A bot's part comes from its group (or the
bot alone when ungrouped), so a group always builds on one thread. Dungeons,
raids, battlegrounds and arenas are never split.

Building a snapshot is not read-only, so a split part changes two things:
- every navmesh query on the thread uses the thread's own query
  (MMAP::ScopedThreadNavMeshQuery), never the shared per-instance one;
- a build never loads a grid (water-escape footing and elevator ledges used to
  call Map::LoadGrid). The grid goes to a list and the world thread loads it
  right after the build barrier; that build has no answer and the next one
  gets it. An elevator ledge is no longer stored as "none" when its grid was
  not loaded yet.

TickPerf gains a "same_map_split" line (parts per tick, bots per part, grids
handed to the world thread). With the switch off nothing changes.
2026-11-15 17:29:16 +00:00
Karrz1 42fd6ee7cb Scenario: the melee soakers open a soak boss with the main tank
Patchwerk's Hateful Strike goes to the off tanks in his reach; with only
the main tank there it takes every strike. naxx_patchwerk 1115h: the
off tanks stayed where the raid waited until he was in combat, 57 y
away, and the main tank died at 3 s, then the next tank 3 s later.

For a boss with a melee soak rule on off tanks, the order now sends that
many off tanks onto him together with the main tank.
2026-11-15 17:29:16 +00:00
Karrz1 e80410ec3f Gluth: DPS wait while his tank drags him to the east wall
A tank on the run builds no threat, and the timed threat releases let
the raid take Gluth off it: naxx_gluth 1115g had him on the main tank at
3 s and on a fury warrior at 6 s with the drag half done, then on one
DPS after another. The DPS now hold on him until he stands at his spot
(ordered casts such as Tranquilizing Shot still go), at most 15 s from
the start of the drag, then the normal threat holds take over.
2026-11-15 17:29:15 +00:00
Karrz1 b19cd767d0 Scenario: order a patrolling boss so the main tank meets him at home
naxx_patchwerk 1115h ordered the pull with Patchwerk 18 y from his
spawn, walking home, while the tanks waited 57 y away on the lower
floor. He reached home and walked off again before the main tank got
there, and the fight started 90 y west of his post.

The runner now measures his walking speed and the main tank's route
from where it waits to his spawn, and sends the order once he is due
home no more than 1.5 s after the tank. The tank may be up to 90 y from
him for this order.
2026-11-15 17:29:15 +00:00
Karrz1 1ea0db2cf1 Raid healers: cover a tank until your own heal lands; never stop a tank's heal early
A healer skipped a patient when heals in flight covered the damage taken
until the first of them landed. On Patchwerk six healers left a tank at
79% to 6292 healing in flight against a 4286 deficit, and the tank fell
before the next heal started. The in-flight cover now has to hold until
the last in-flight heal lands, and at least 2.5 s ahead.

The early "already full" cancel no longer stops a heal on a tank: the
next boss swing lands inside the cast, and the cast lockout after a
cancel left tanks without heals during Hateful Strike.
2026-11-15 17:28:02 +00:00
Karrz1 f61973478e Gluth: his tank steps back to a fixed spot, the swap tank never keeps a chow by him
naxx_gluth 1115f (0083): the step back was measured from his live position,
so it moved with every step he took. His tank walked him from the east wall
to 6 y from the camp and back four times in 45 s and died there. The drag
spot, 57 y from the camp, left the tank out of heal reach while it dragged.
The swap tank picked up chows 3-14 y from him, and he went from 91% back to
94-96% three times.

- When he stops within 20 y of the drag spot, that point is his spot. The
  holder stands 10 y from it toward the camp, and the swap tank stands 5 y
  beside the holder. He is dragged again only if he moves 12 y off it.
- The drag spot moves to 3330,-3125 and the camp to 3290,-3110, 43 y apart.
  The chow posts move to 3288,-3148 and 3265,-3136, within 40 y of the camp.
- A swap tank with a chow on it takes the chow to the nearest chow post.
2026-11-15 15:19:33 +00:00
Karrz1 9daaeef257 Patchwerk: melee DPS stay under the soakers' threat; scenario add route and patrol label
- Hateful Strike hits the highest-health player in melee among his top
  four on threat. The threat hold kept melee DPS at up to the main tank's
  threat, with a timed release, so rogues and warriors were among those four
  (naxx_patchwerk 1115f/1115g: 31 and 36 dead to Hateful Strike). A melee
  DPS on a melee-soak enemy now holds under 90% of the lowest soaker's
  threat while a soaker is in his reach, with no timed release.
- A staged raid that opens on an add: when the add is not in the world near
  the boss (naxx_thaddius 1115f: still checked to Thaddius), the route is
  checked to the add's own spawn row nearest the boss's spawn, and a
  [scenario] line says which.
- The patrol wait line says "home", "walking home" or "walking away" from
  the measured direction; it printed the order condition, so a boss 59 y
  from home and closing read "walking away".
2026-11-15 14:28:05 +00:00
Karrz1 5cd819c0b0 Scenario: boss pulls log each raider's damage and healing by spell
A combat log parse shows where a player's damage came from: the share of
each spell, its hits, and for a healer the overheal of each heal. The
[pull_stats] line had only totals and the last rule that fired each second,
so a warlock with 34 of 90 s casting could not be told apart from one that
cast the wrong spells.

- [pull_spells] lines after each [pull_stats] line: damage by spell (melee
  as "melee", the pet's spells as "pet <spell>"), top ten, with the share
  of the total and the hits; healing by spell with heals and overheal.
- [pull_stats] adds a mana user's average and lowest mana and its seconds
  under 20%.
2026-11-15 14:21:46 +00:00
Karrz1 7dc7d642b3 Scenario: the opening add is found from the boss, a patrol is pulled near home
- A staged raid that opens on an add checks its route to that add: the add
  is now searched for from the boss's own spawn. FindBoss searched from the
  squad, still at the instance entrance, found nobody, and naxx_thaddius
  1115e checked the route to Thaddius again and failed its setup.
- A patrolling boss's distance from home is measured from his spawn point:
  waypoint movement moves GetHomePosition along with him, so every wait
  line in naxx_patchwerk 1115f said 0 y and counted as walking home.
- The order goes out when he is home, or within 20 y of it and walking
  toward it: 1115f was ordered with him 50 y west of his spawn, the tanks met
  him there off their posts and Hateful Strike killed 31.
2026-11-15 12:30:27 +00:00
Karrz1 3583ac767a Gluth: his tank drags him to the east wall and stands on the camp side of him
naxx_gluth 1115e: his body is 15 y wide and he hits from 17.7 y. With his tank
on the north-east post he stood 17 y short of it and 19 y from the camp, ate
the chows the raid drew and killed the camp once his tank fell (42 deaths,
all his, Gluth at 100% after 142 s). The landing on the camp put the raid
19 y from him: he killed a priest 1 s in.

- His holder drags him to the east wall (3335,-3133); once he is within
  20 y of it the holder steps back past him to 10 y from his centre toward
  the camp, inside his reach, so he does not follow.
- The next tank by guid stands 5 y beside the holder for the Mortal Wound
  swap; the others hold the chows at two posts by the spawns
  (3285,-3152 and 3262,-3140) and never attack him.
- Ranged and healers camp on the north wall (3280,-3115), within 40 y of
  his tank and of both chow posts.
- Zombie Chows (146,496 health each against his 1,998,600) are tanked, not
  burned; a chow at 10% or less (after Decimate) is killed first. A kill
  priority gated on its own entry now reads that enemy's own health.
- The raid lands at 3262,-3108, 53 y from him (he sees 49 y), 19 y from
  the camp.
2026-11-15 12:30:27 +00:00
Karrz1 ffc2ce13d2 ForeverBots: another add-on's blocked calls are named once, not on every call
ExtraProfessionTabs moves the action bars, which the client refuses in a fight, and the add-on printed
one chat line for each refused call: a chat full of lines on every fight, which read as ForeverBots or
the action bars breaking. Another add-on is now named once per session, with a note that it causes
them. Reported by arrathem.
2026-11-15 12:20:00 +00:00
Karrz1 fedc28ded3 Scenario: a staged raid that opens on an add checks its route to that add
The listed staging spot was path-checked against the boss. Thaddius'
walkway has no walking route from his door (the slime pit and the wall
cut it off), so naxx_thaddius 1115d failed its setup at 0 s, although
the raid walks to Stalagg first and his platform is a 103 y walk from
the door. A row that opens on an add (start_add) now checks the route
to the nearest such add instead.
2026-11-15 12:11:36 +00:00
Karrz1 013fa7fc13 Scenario: a patrolling boss is pulled while he walks home
The attack on a patrolling boss went out as soon as he was within 60 y
of the main tank, whichever way he walked. naxx_patchwerk 1115e: the
order came while Patchwerk walked west out of his hall. The main tank
chased him to the west end, he turned into the healer camp, picked up a
mage, and Hateful Strike killed the main tank at 1 s; the fight never
came back to his post (his spawn, 3308,-3232).

The order now also needs him to be walking home (nearer his spawn than
a second before) or standing there, so the tank meets him on his way
back to the post the raid's rules fight him at. The longest wait is
300 s (his loop is about 4 minutes), and the wait line says how far
from home he is and which way he walks.
2026-11-15 12:11:36 +00:00
Karrz1 712f39d4e3 Gluth: the raid lands at its camp
Gluth sees 49 y and his room is about 120 y across, so the raid is in
the fight wherever it lands. From the ring search's spot 57 y out the
healers walked 62 y to their camp in the first 10 s while he was
already on the raid: 12 healers cast 17 heals in the first 23 s, the
main tank died at 22 s and the raid wiped with Gluth at 100% (1115d).
The raid now lands at the camp (3294,-3141), where the healers stand
for the whole fight; the main tank takes him from there to his spot
33 y north-east.
2026-11-15 12:02:54 +00:00
Karrz1 e7680989c4 Thaddius: the raid comes in at the door and splits onto both platforms
Stalagg and Feugen stand on platforms at z 312. Thaddius' walkway
(z 303), where the scenario landed the raid, is cut off from both by
the slime pit and a 15 y wall: the tanks had no path up and the adds
killed the casters who got there (1115c, 0/5 killed). From the room's
door both platforms are a walk, and from one platform to the other is
194 y round.

- naxx_thaddius lands the raid at the Thaddius Door.
- Before the pull the raid brain splits tanks, healers, ranged and
  melee evenly between the platforms (the main tank on Stalagg's, the
  side the raid opens on). Each side gets a spot on its platform in the
  add's sight: 24 y from Stalagg, 33 y from Feugen (out of Static
  Field), far from the other add and reachable on foot.
- In phase one a ranged or healer holds its spot, a melee on the wrong
  platform walks back, and a non-tank only attacks its own platform's
  add (the kill-together spread still applies). Tanks go where Magnetic
  Pull throws them.
- The scenario's attack waits (up to 60 s) until every raider with a
  pre-pull spot is on it.
2026-11-15 11:56:44 +00:00
Karrz1 14c4d76338 Bots: raid healers count the damage a patient takes while a heal casts
The heals-in-flight check only knew the melee swings of the mob whose
victim the patient is. Patchwerk's Hateful Strike, breaths and volleys
never show there. On Patchwerk the off tank at 63% had one Greater Heal
on the way (4058, 2.4 s to land) for 3980 missing; eight healers left
him to it and he kept dropping while it cast.

Each grouped player inside an instance now has a measured damage taken
per second (decayed over about 3 s, from the hits that land). The
deficit a heal in flight has to cover is the missing health plus the
damage until the first heal lands: half the swings or the measured
rate times the time to land, whichever is more. The projected health
uses the same. The [raid_heal] "leaves ... to heals in flight" line
shows missing, swings and the damage until it lands.
2026-11-15 11:38:23 +00:00
Karrz1 136df42550 Patchwerk: the tanks drink a Greater Stoneshield Potion
Hateful Strike meets the soakers' armour. In naxx_patchwerk 1115b the
T3 warriors stood at 9621 armour and 10759 health, took 9-15k a strike
and died to one. A vanilla raid's tanks drank a Greater Stoneshield
Potion (+2000 armour) for him; the tank kit now stocks it and the boss
data orders it for every tank when he is engaged.
2026-11-15 11:16:58 +00:00
Karrz1 1cc7747a58 Gluth: whichever tank holds him takes him north-east; no chow row
A fixed tank row gives every tank a slot. In naxx_gluth 1115c the main
tank walked to its slot by the chow spawns with Gluth in tow (moving 74
of 90 s), and he ate the chows again. The row is gone; the north-east
post is for whichever tank holds him, since the Mortal Wound swap hands
him from tank to tank.
2026-11-15 11:16:58 +00:00
Karrz1 c3ac49993b Gluth: fought away from the Zombie Chow spawns
The chows appear at three spots on the west and south side of his room.
Held at his spawn, every chow appeared within his 15 y and he ate it:
naxx_gluth 1115a went 93% -> 99% every few seconds, 1115b ended with him
at 100%.

From the room's sight grid (naxx-gluth-1115b): his main tank holds him
in the north-east (66-77 y from the spawns), the chow tanks hold the
chows in a row by the spawns, and the ranged and healers stand between,
33-34 y from both, so a chow sent at a raider stops well short of him.
2026-11-15 09:33:54 +00:00
Karrz1 27e159c56f Bots: the idle pet upkeep also revives a pet whose body is gone
The out-of-combat pet upkeep had its own Revive Pet check, still tied
to the pet guid. Once the dead pet's body despawned it fell through to
the Call Pet loop, which the core refuses while the pet is saved dead.
It now revives for a saved-dead active pet too, and never casts Call
Pet while one is (it waits for Revive Pet to be ready).
2026-11-15 09:28:11 +00:00
Karrz1 3dd6af5795 Bots: a raid healer that does not heal says why
The Naxxramas runs of 2026-11-15 had 12 healers casting 3-15 heals a
minute each (naxx_patchwerk 1115a: 3.3 a minute while Hateful Strike
killed the soakers), and no line said what held them.

[heal_idle_reason] is the healer's twin of [dps_idle_reason]: a raid
healer that has cast nothing for 3 s while a member in its reach is
under 80% logs, once per 10 s, the rule that held it or what the
snapshot shows (the hurt member out of sight or range, moving, out of
mana).
2026-11-15 09:19:35 +00:00
Karrz1 99a123da34 Patchwerk: the camp stands west of him, away from his spawn
0066 put the ranged and the healers at the hall's east end. He is met
close to his spawn on his walk back (naxx_patchwerk 1115a: engaged at
3296,-3236), which left that camp 8-12 y from him: the healers walked
into his reach and Hateful Strike killed them. The main tank now holds
him by his spawn and the camp stands 33 y west of the tank.
2026-11-15 09:19:34 +00:00
Karrz1 99e8370ea8 Bots: a liquid's spell hurts only a bot that is in the liquid
0065 still refused 1262 moves on the floor of Thaddius' room in
naxx_thaddius 1115a. Its [liquid_hazard] line names the liquid: type 21,
Naxxramas - Slime, spell 28801, surface 292.8, the height of the floor
itself. The core casts a liquid's spell only once a player is in it
(IsInWater: IN_WATER or UNDER_WATER), so a bot standing on that floor
is on the surface and nothing happens; in 1500 s nobody there took any
damage from it.

LiquidHurts now takes the liquid status of the same probe: magma as
before, a spell liquid only when in it. LiquidCanHurt keeps the type
test for the snap to dry footing and for swimming.
2026-11-15 08:56:49 +00:00
Karrz1 d4cd24cf83 Scenario: every boss run logs the ground round him
The sight grid of 0064 was written only for a staged boss. Gluth's
room needs it too: in naxx_gluth 1115a the tanks held him between two
of the three Zombie Chow spawns and he ate every chow. The grid is now
written once per run for every boss.
2026-11-15 08:56:49 +00:00
Karrz1 310de400ac Bots: a keep-out circle forbids only its idle creatures
0063 forbade every creature inside a keep-out circle, engaged or not.
Kel'Thuzad's adds cross the alcove circles on their way to the raid,
and the Soldiers have to die before they arrive: in naxx_kelthuzad
1114g they walked in at 100%, Dark Blast killed 18 and the raid wiped
at 103 s. An engaged creature is now fought wherever it is; an idle one
in a circle is still left alone, so nothing wakes the alcove packs.
2026-11-15 08:34:08 +00:00
Karrz1 bb158bb8f6 Grobbulus: only the main tank stands in front of him
Every player Slime Spray hits leaves a Fallout Slime where it stands.
In naxx_grobbulus 1115a all four tanks stood on him in front; one spray
put six slimes on them, the tanks died in 11 s and the slimes killed 30
of the raid. The off tanks now keep out of his front cone like the rest
of the raid and take the slimes from his flank.
2026-11-15 08:34:08 +00:00
Karrz1 10cf8b239c Patchwerk: the raid fights him in his hall, in his sight
The sight grid round his spawn (naxx-patch-grid, 2026-11-15) shows his
hall (z 294.1, y -3217..-3247) level with him and in his sight, and the
floor south of it 2 y lower and out of sight. The raid fought from that
lower floor in 1114f and 1114g: heals failed for line of sight and the
main tank went up alone.

The main tank now holds him at 3285,-3232 on his walk back to his spawn;
the ranged and the healers stand at the hall's east end, 31 y from the
tank. The raid still waits on the lower floor while he walks.
2026-11-15 08:34:08 +00:00
Karrz1 d0ddb0a82a Bots: a hunter bot revives its pet after the body is gone
When a hunter bot's pet died and its body despawned, the bot had no pet guid left, so it cast Call Pet again and again, and the core refused each one because the pet is saved dead; Revive Pet only ran while the body was still there (Discord, 2026-11-14). The stable snapshot now carries which active pets are saved with 0 health: Call Pet waits while one is, and Revive Pet runs for it with or without a body.

Idea from SIN's fix pack for 0.1.37; written again here.
2026-11-15 08:32:35 +00:00
Karrz1 a79771fb18 Bots: slime only counts as a hazard when its liquid hurts
The core burns on magma and applies a liquid's own spell on contact; its
slime damage is switched off. The bots treated every slime as lava, so
the slime floor of Thaddius' room refused 901 moves in naxx_thaddius
1114g, the tanks stood still and Stalagg and Feugen killed the casters.

One rule, BotMovement::LiquidHurts: magma, or a liquid whose LiquidType
spell is harmful. The move gate, swimming, the snapshot's damaging
liquid, the raid lava flee, the resident spawner and the scenario floor
check all use it. A refused move now logs the liquid it found.
2026-11-15 08:30:37 +00:00
Karrz1 8377decac3 Scenario: a staged boss's run logs the ground and sight round him
A 5 y grid within 60 y of his spawn, one line per row: the floor's
height against his and whether it sees him. For choosing staging spots
and posts without the map data at hand.
2026-11-15 08:03:50 +00:00