aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/Loot.cpp
AgeCommit message (Collapse)Author
2025-07-11Core/Groups: Use iterators instead of raw LinkedListElement to interact with ↵Shauren
group members
2025-02-23Core/Misc: Add a bunch of examples for 67418a1aeee9035234d304b5e9653b832488dd66Shauren
2024-12-31Core/Misc: Include cleanup - remove MapUtils.h from Containers.hShauren
2024-12-29Core/Loot: Implemented automatic flagging of tracking quests from lootShauren
2024-12-27Core/PacketIO: Refactor LootPackets to use new Bits<> writing utilitiesShauren
2024-09-24Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_IDShauren
2024-08-26Core/Loot: Implemented currency lootShauren
2024-08-17Core/Utils: Unwrap non-copyable pointers (unique_ptr) from ↵Shauren
Trinity::Containers::MapGetValuePtr
2024-01-11Core/Conditions: Refactor ConditionMgr internals to get rid of separate ↵Shauren
containers for some condition source types
2023-12-30Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes ↵Shauren
required items not be stored in inventory
2023-07-03Core/GameObjects: Only start loot restock timer if loot contents were ↵Shauren
modified and ignore it for personal loot Closes #29023
2023-06-17Core/Items: Item bonus generation improvementsShauren
* Pass ItemContext to item creation wherever possible * Support scaling item levels with m+ keystone levels (not used currently) * Fixed item link validation when client sends it as default uninitialized bonus list with context only * Support scaling items depending on current active season (seasons not implemented) * Implemented content tuning redirection
2023-05-04Core: Update to 10.1Shauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2023-01-02Core/Loot: Added loot slot check to Loot::LootItemInSlot (client sent-value)Shauren
Ref #28646
2022-10-25Core/Loot: Implemented dungeon encounter personal lootShauren
Closes #20066
2022-10-24Core/Conditions: Add const to condition checking functionsShauren
2022-10-17Core/Loot: Implemented personal loot and tag sharing for non-boss lootShauren
2022-10-06Core/Loot: Prevent looting bosses by players that have already completed ↵Shauren
that encounter
2022-10-04Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULTShauren
2022-09-18Core/Loot: Refactored Player::SendLoot to accept Loot object directlyShauren
2022-09-18Core/Loot: Move loot generation out of Player::SendLootShauren
2022-09-17Core/Loot: Simplify loot containersShauren
* Unify items and quest_items * Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-16Core/Loot: Move loot rolls from Group to LootShauren
* Partial port of cmangos/mangos-wotlk@ffdf9a05d67a04c3c0304e9b021807fa5b867583
2022-09-14Core/Loot: Store method used at loot generation inside Loot objectShauren
2022-09-14Core/Loot: Store references to Loot objects directly in players loot view ↵Shauren
map instead of guids of world objects holding that loot
2022-09-11Core/Loot: Set loot guid and type in Loot constructorShauren
2022-09-01Core/Loot: Allocate Loot separately from objectsShauren
2022-08-25Core/Loot: Removed old auto looting code for currency token itemsShauren
2022-04-22Core/Items: Implemented item effect trigger type 7 (On Looted)Shauren
2022-03-11Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit f127f959179a69ec335c5031417e7b366e685373)
2022-03-11[Exploit/Dupe] Container item (#26689)robinsch
* Core/Item: Fixed possible dupe with container items containing non unique non stackable items * Fixed build * Update sql script and related base structure Co-authored-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit d1e913162e0a96918c70ba4ec3f62f4186ee4707)
2022-03-11Core/Loot: Allow master looter to see all quest items (#26584)Giacomo Pozzoni
(cherry picked from commit 8d92f6f2b483dffa7127614de3c41f3f596743fb)
2022-02-13Core/Misc: Minor game include cleanupShauren
2021-12-21Core/Items: implement some helper methods for easier readability (#24113)ForesterDev
(cherry picked from commit 573ddf4d22564d022e30807c5ba2c6eb1a2c8b2e)
2021-12-11Core/Loot: make Loot::AddItem() honor LootItem::AllowedForPlayer() so that ↵Wyrserth
items that cannot be looted don't prevent skinning. (#23408) (cherry picked from commit a1b2aa97fcb64be82050af037cec955ce361ccad)
2021-12-11Core/Loot: fix some issues with master loot and don't allow players to see ↵Wyrserth
soulbound recipes that they already learned in the loot window. (#23410) (cherry picked from commit e6ad9b10cf381625ca1955cf6081ea1a8b14de11)
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-06-07Core/Items: Fixed generating default bonuses based on contextShauren
2020-04-27Core/Loot: implement Loot Item Storage (#19018)xinef1
* Created Item Loot Storage, no more synchronous DB selects * Fixed buyback case, where stored loot was not removed from db * Added Primary key, and changed field types to be unsigned for table item_loot_money (cherry picked from commit 9dc3de10f0044c35a95e9b72e7b874f4b5b8e867)
2020-01-02New YearAokromes
2019-11-23Core/Items: Add ItemContext param to Item::Create functionShauren
2019-10-27Core/DataStores: Updated db2 structures to 8.2.5Shauren
2019-07-27Core/DBLayer: Prevent using prepared statements on wrong databaseShauren
2019-07-21Core/Misc: Fixed player corpse looting, added player corpse loot and some ↵xinef1
more (#19122) * Fixed corpse looting in wintergrasp Added corpse loot for wintergrasp quests and To the Looter Go the Spoils (1166) achievement Don't generate money for loot if no loot mode is available Simplified few things (cherrypicked from 2412886ef69d305df1bd6e6422ca3134c0ab1449)
2019-07-21Core/Misc: Fix various crashes, also related to multithreading (#19012)xinef1
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update). * Properly clear ComboPoint references on player remove * remove some possible references item may have when it is deleted during save. * Also clear all hostile references when unit is removed from map. (cherrypicked from 86da1a19bb36edf3242dafac6e45e87434ddff73)
2019-06-08Core/Items: Drop item random property and suffix - all random stats must be ↵Shauren
given using bonus lists
2019-06-08Core/PacketIO: Rewrite updatefield handlingShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-12-09Core/Loot: Only allow the roll winner to loot the item he won in case it ↵7.3.5/26972xinef1
cannot be added to inventory instantly (full or any other reason) (#19037) (cherry-picked from ab6ac42bf032b723167c37caed875c76a1295ec6)