Commit Graph
5 Commits
Author SHA1 Message Date
Karrz1 b441bf74e0 0.1.39: bots and core since 0.1.38 (Naxxramas fights, hunter companions get their pet, dungeon runs, bug fixes) 2026-11-21 17:45:23 +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 4e89af1ef2 Groups: a raid of a player and bots goes back to a party when it fits one
Report (Beastmade): no kill credit for Lieutenant Benedict with 1-2 bots in
the group, credit as soon as he left it and killed him alone.

A group turns into a raid when the fifth bot joins, and nothing turns it
back. A player who once had five bots kept a raid with one or two left, and
a raid group gets no progress on normal quests.

Every 5 seconds a raid with a player and at least one bot, 5 members or
fewer, and nobody on a raid map is converted back to a party. Battleground
and dungeon finder groups, and raids of only players or only bots, are left
alone. Rule in BotGroupRules::RevertBotRaidToParty with unit tests.
2026-10-27 20:18:14 +00:00
Karrz1 49115e3f77 Groups: the player in a group with bots keeps loot rights and quest credit
Report (Beastmade, 0.1.22): some mobs cannot be looted with bots in the group,
and kill quests give no credit.

Calling a fifth companion turns the party into a raid. Three rules then
worked against the player:
- A raid group cannot progress or take normal quests, so kills gave no
  credit and quest givers hid their quests.
- Outside raid maps a tap covers only the tapper's subgroup, so a bot in
  another subgroup tagging first left the player with no loot on the corpse.
- In dungeons the round robin turn passed to bots. A bot led by a player
  takes only its quest drops, so the corpse stayed locked to it.

Groups with bots now:
- apply the raid quest rule only with more players than a party holds;
- share every tap with all players of the group;
- give round robin turns to players while one is near the corpse.

Groups without bots behave as before. The rules are in BotGroupRules.h with
unit tests (ClassicBotGroupRules).
2026-10-27 20:18:14 +00:00