Shauren
13f22e0c06
Core/Misc: Reduce differences between branches
2025-09-28 00:06:28 +02:00
Shauren
7657a289d7
Core/Misc: Kill copy/move constructors for singleton classes
2025-06-10 13:12:33 +02:00
Shauren
00223f3bee
Core/Misc: Add a bunch of examples for 67418a1aee
2025-02-23 12:10:33 +01:00
Shauren
d778d5ec7c
Core/Misc: Include cleanup - remove MapUtils.h from Containers.h
2024-12-31 18:12:36 +01:00
Shauren
d913e38cba
Core/Loot: Implemented automatic flagging of tracking quests from loot
2024-12-29 01:02:52 +01:00
Shauren
3e2abd2535
Core/Misc: Port std::ranges::contains from c++23
2024-12-01 19:05:26 +01:00
Shauren
3238175a62
Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_ID
2024-09-24 14:40:23 +02:00
Shauren
3e28ee080a
Core/Loot: Implemented currency loot
2024-08-26 15:02:22 +02:00
Shauren
6b4270850f
Core/Loot: Build fix for older compilers
2024-08-25 19:03:59 +02:00
Shauren
7e70ea701e
Core/Loot: Added type to LootStoreItem to replace reference != 0 checks
2024-08-25 17:43:19 +02:00
Shauren
6d3be9cca6
Core/Conditions: Remove unneccessary duplicate condition startup checks - item existance is checked by loot loading and if that fails, condition loading will fail to find related item inside loot
2024-08-25 14:40:20 +02:00
Shauren
430321a803
Core/Loot: Use unique_ptr in LootTemplate class
2024-08-25 14:10:39 +02:00
Shauren
b49a9b44af
Core/Loot: Use unique_ptr in LootStore class
2024-08-25 13:28:48 +02:00
Shauren
0b5406dd88
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
2024-01-11 20:56:24 +01:00
Shauren
9894f6b802
Core/Random: Changed random functions returning doubles to return floats
...
* 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-10-31 20:20:00 +01:00
Shauren
0fb8765a66
Core/Items: Item bonus generation improvements
...
* 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-06-17 16:29:59 +02:00
Meji
06d0b16f15
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty ( #28931 )
2023-05-29 00:01:23 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
010e6f7f49
Core/Loot: Implemented dungeon encounter personal loot
...
Closes #20066
2022-10-25 00:30:52 +02:00
Shauren
133334a902
Core/Loot: Implemented personal loot and tag sharing for non-boss loot
2022-10-17 23:11:46 +02:00
Shauren
641390dca2
Core/Loot: Initial support for personal loot in gameobjects (non-instanced content)
2022-10-16 15:33:39 +02:00
Shauren
c00e2e4851
Core/Loot: Simplify loot containers
...
* Unify items and quest_items
* Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-17 20:58:24 +02:00
Shauren
e9d083a2ee
Core/Loot: Set loot guid and type in Loot constructor
2022-09-11 18:21:01 +02:00
Shauren
a31e681944
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-04-24 18:40:10 +02:00
Trond B. Krokli
5159a11241
Update LootMgr.cpp ( #25849 )
...
Typo correction for console & log output `>> Loaded reference loot templates in %u ms`
`refence` --> `reference`
(cherry picked from commit cf5f360299 )
2022-03-05 23:51:04 +01:00
ForesterDev
9124fd1f1f
Core/Items: implement some helper methods for easier readability ( #24113 )
...
(cherry picked from commit 573ddf4d22 )
2021-12-21 00:46:13 +01:00
jackpoz
d5d04a6c55
Core/Misc: Fix C++17 build errors
...
(cherry picked from commit 30823f9b79 )
2021-12-18 22:51:50 +01:00
ariel-
3bc3b3eeeb
Core/Globals: revert back to unordered_map for templates
...
Partial revert of commit b64c504314
See discussion on b64c504314
(cherry picked from commit b75ff7d4bf )
2021-06-16 01:29:25 +02:00
ariel-
21556667c1
Core/Globals: throw some RAII into ObjectMgr, and load templates into vectors
...
Ref #14274
(cherry picked from commit b64c504314 )
2021-06-16 01:00:11 +02:00
Aokromes
93552510ab
Core/Logs: Fix more logs
...
the others have exit,so they continue to be error because they are critical
(cherry picked from commit b68484cfb0 )
2021-01-21 22:30:40 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
c7306439e7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
2020-06-12 01:29:18 +02:00
Shauren
4746331f49
Core/Misc: Removed references to item_template in logs
2020-01-25 14:15:20 +01:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
xinef1
89f728cd5b
Core/Misc: Fixed player corpse looting, added player corpse loot and some 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 2412886ef6 )
2019-07-21 21:06:54 +02:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
c5d3dd90be
Core/Game: Include cleanup
...
* 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-18 23:53:25 +02:00
Shauren
8fc527f404
Core/Items: Set and save item context field
2017-05-08 23:56:35 +02:00
Shauren
d20dedebd6
Core/DataStores: Updated db2 structures to 7.2.0
2017-04-06 23:39:34 +02:00
joschiwald
2ea8b3477c
Fixed warning
2017-03-05 02:58:35 +01:00
SnapperRy
8c7b3c8a2b
Core/Loot: do not show unique items if player already has the maximum allowed quantity.
...
(cherry picked from commit 5c5b8df613 )
Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only.
(cherry picked from commit ea6911517d )
2017-03-05 01:06:44 +01:00
ariel-
635ea3258b
Core/Loot: fix bug introduced in a49544cc18 in which creatures only having gold wouldn't show lootable sparks, and thus couldn't be looted
...
(cherry picked from commit 59f71f915a )
2017-02-05 21:14:22 +01:00
Treeston
d8911a9dd6
Creature/Loot: Do not display "lootable" sparkles for player even if others in the group still have quest items to be looted from creature. ( #16265 )
...
(cherry picked from commit a49544cc18 )
# Conflicts:
# src/server/game/Handlers/LootHandler.cpp
2017-01-29 21:51:04 +01:00
Shauren
b999d8c5ac
Core/Loot: Fixed resaving looted items from containers
...
Closes #15299
(cherry picked from commit 4a074ca470 )
2017-01-09 02:10:28 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
5c1503f859
Core/Loot: Implemented AoE loot
...
Closes #16065
2016-12-28 01:12:01 +01:00
Shauren
fe26f8ae48
Core/Loot: Fixed group loot
...
Closes #17696
2016-12-27 21:36:40 +01:00