aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/LootMgr.cpp
AgeCommit message (Collapse)Author
16 hoursCore/Misc: Reduce differences between branchesShauren
2025-06-10Core/Misc: Kill copy/move constructors for singleton classesShauren
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-01Core/Misc: Port std::ranges::contains from c++23Shauren
2024-09-24Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_IDShauren
2024-08-26Core/Loot: Implemented currency lootShauren
2024-08-25Core/Loot: Build fix for older compilersShauren
2024-08-25Core/Loot: Added type to LootStoreItem to replace reference != 0 checksShauren
2024-08-25Core/Conditions: Remove unneccessary duplicate condition startup checks - ↵Shauren
item existance is checked by loot loading and if that fails, condition loading will fail to find related item inside loot
2024-08-25Core/Loot: Use unique_ptr in LootTemplate classShauren
2024-08-25Core/Loot: Use unique_ptr in LootStore classShauren
2024-01-11Core/Conditions: Refactor ConditionMgr internals to get rid of separate ↵Shauren
containers for some condition source types
2023-10-31Core/Random: Changed random functions returning doubles to return floatsShauren
* They were all cast to float at use anyway * Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
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-29Core/Creatures: Move creature difficulty specific data from ↵Meji
creature_template table to creature_template_difficulty (#28931)
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-10-25Core/Loot: Implemented dungeon encounter personal lootShauren
Closes #20066
2022-10-17Core/Loot: Implemented personal loot and tag sharing for non-boss lootShauren
2022-10-16Core/Loot: Initial support for personal loot in gameobjects (non-instanced ↵Shauren
content)
2022-09-17Core/Loot: Simplify loot containersShauren
* Unify items and quest_items * Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-11Core/Loot: Set loot guid and type in Loot constructorShauren
2022-04-24Core/Spells: Rename SpellAttr0 to use official attribute namesShauren
2022-03-05Update LootMgr.cpp (#25849)Trond B. Krokli
Typo correction for console & log output `>> Loaded reference loot templates in %u ms` `refence` --> `reference` (cherry picked from commit cf5f360299d9cf156a94aae7c3c05fd0d0941a4f)
2021-12-21Core/Items: implement some helper methods for easier readability (#24113)ForesterDev
(cherry picked from commit 573ddf4d22564d022e30807c5ba2c6eb1a2c8b2e)
2021-12-18Core/Misc: Fix C++17 build errorsjackpoz
(cherry picked from commit 30823f9b79b4ad16f96e90692a900f68a7f63c0a)
2021-06-16Core/Globals: revert back to unordered_map for templatesariel-
Partial revert of commit b64c5043140dc7b7908e259e441de16cc0261320 See discussion on https://github.com/TrinityCore/TrinityCore/commit/b64c5043140dc7b7908e259e441de16cc0261320 (cherry picked from commit b75ff7d4bf13fb4778843c99521223becc096ca0)
2021-06-16Core/Globals: throw some RAII into ObjectMgr, and load templates into vectorsariel-
Ref #14274 (cherry picked from commit b64c5043140dc7b7908e259e441de16cc0261320)
2021-01-21Core/Logs: Fix more logsAokromes
the others have exit,so they continue to be error because they are critical (cherry picked from commit b68484cfb0c371dc8de24acf533a20cb5277d2fd)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-06-12Core/Spells: Implement using different difficulty data from all spell ↵Shauren
related db2s, not just SpellEffect and SpellPower
2020-01-25Core/Misc: Removed references to item_template in logsShauren
2020-01-02New YearAokromes
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-06-08Core/PacketIO: Rewrite updatefield handlingShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-05-18Core/Game: Include cleanupShauren
* Mostly aimed at removing Log/DatabaseEnv includes from other headers * Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files * Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-08Core/Items: Set and save item context fieldShauren
2017-04-06Core/DataStores: Updated db2 structures to 7.2.0Shauren
2017-03-05Fixed warningjoschiwald
2017-03-05Core/Loot: do not show unique items if player already has the maximum ↵SnapperRy
allowed quantity. (cherry picked from commit 5c5b8df6138a94f5bc74d7eda0f894d825b5f63c) Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only. (cherry picked from commit ea6911517d38aa8ea493dbe88a33c9734d86bb04)
2017-02-05Core/Loot: fix bug introduced in a49544cc187d3a156b4615907d6b82057364fcc4 in ↵ariel-
which creatures only having gold wouldn't show lootable sparks, and thus couldn't be looted (cherry picked from commit 59f71f915a03143a3896bcf55649bea44969800c)
2017-01-29Creature/Loot: Do not display "lootable" sparkles for player even if others ↵Treeston
in the group still have quest items to be looted from creature. (#16265) (cherry picked from commit a49544cc187d3a156b4615907d6b82057364fcc4) # Conflicts: # src/server/game/Handlers/LootHandler.cpp
2017-01-09Core/Loot: Fixed resaving looted items from containersShauren
Closes #15299 (cherry picked from commit 4a074ca4708580e6fe208b1f9979fb1e17f66b47)
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-12-28Core/Loot: Implemented AoE lootShauren
Closes #16065
2016-12-27Core/Loot: Fixed group lootShauren
Closes #17696