Commit Graph
2679 Commits
Author SHA1 Message Date
Shauren 9ce47e6809 Core/Loot: Prevent looting bosses by players that have already completed that encounter 2022-10-06 18:33:44 +02:00
Shauren 5a516fb654 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT 2022-10-04 00:19:38 +02:00
Shauren 4ce1c6cdf4 Core/Instances: Add prepared statements for InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 2022-10-04 00:19:38 +02:00
Shauren 9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren a131542855 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it) 2022-10-04 00:19:38 +02:00
Shauren 17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Shauren a515443a59 Core/Players: Added error message for death knights attempting to leave their starting zone early
(cherry picked from commit 2dc1b69a70f599539c479344c14ec60f98f535bc)
2022-09-30 20:53:45 +02:00
Shauren 0c90378cec Core/Players: Fixed pvp talents being removed and immediately readded from players when entering/leaving Orgrimmar and Stormwind 2022-09-29 20:51:17 +02:00
Meji b4d2166f0c Core/Items: Added correct context and bonus calculation for character loadout items (#28242) 2022-09-19 13:27:58 +02:00
Shauren f67cd38312 Core/Player: Extend action button value to uint64 to be able to hold battle pet guids 2022-09-18 23:52:17 +02:00
Meji e15898bf56 Core/Player: Allow companion action buttons to be saved 2022-09-18 23:52:17 +02:00
Shauren cbf2064c62 Core/Loot: Refactored Player::SendLoot to accept Loot object directly 2022-09-18 18:24:57 +02:00
Shauren 8c20f620d7 Core/Loot: Move loot generation out of Player::SendLoot 2022-09-18 16:33:38 +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 3ef5079fee Core/Loot: Move loot rolls from Group to Loot
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren 9700b2a786 Core/Loot: Store method used at loot generation inside Loot object 2022-09-14 22:03:47 +02:00
Shauren f19f32f2a4 Core/Loot: Store references to Loot objects directly in players loot view map instead of guids of world objects holding that loot 2022-09-14 20:49:38 +02:00
Shauren 30ad7e3337 Core/Loot: Corrected loot release logic on leaving world and swapping bags 2022-09-13 14:10:47 +02:00
Shauren e9d083a2ee Core/Loot: Set loot guid and type in Loot constructor 2022-09-11 18:21:01 +02:00
Shauren 78698463ff Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db 2022-09-11 14:13:10 +02:00
Ovahlord 2556d6d705 Core/Players: assign forbidden skills to a proper position to no longer interfere with legit skills that have been stored as first element.
* This fixes aura-based skills to no longer invalidate legit skills that have been assigned to position 0, breaking them entirely in the process
2022-09-11 10:03:05 +02:00
Meji f75f8d9bb8 Core/Unit: Update collision height calculation (#28239) 2022-09-10 13:42:52 +02:00
MejiandShauren 69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <[email protected]>
2022-09-08 14:49:03 +02:00
funjoker 0a496d1f27 Misc: Codestyle fix 2022-09-06 10:10:21 +02:00
Shauren d7f5c19e1a Core/Players: Properly mark all class/specialization/talent/pvp talent learned spells as dependent 2022-09-05 23:30:16 +02:00
Shauren 66b03acc47 Core/Auras: Improve aura interactions with immunities on spell effect level
* Effects that target is immune to will be suppressed instead of completely removed

Closes #28096

(cherry picked from commit 3306a4d06cc557967c23adcc60c2e3257811b324)
2022-09-05 22:23:03 +02:00
ModoX 0de520ed92 Core/OutdoorPvP: Dropped HandleGossipOption and CanTalkTo from OutdoorPvP and move the related stuff to npc scripts (#28224) 2022-09-02 14:57:59 +02:00
Shauren 74dbed1d0e Core/Loot: Updated LootType enum for 9.2.7 2022-09-01 21:31:56 +02:00
Shauren 7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +02:00
Naddley a6632147d6 Core/Gossip: Add Gossip OptionType for Mailbox (#28215) 2022-08-27 12:01:19 +02:00
Shauren ba251da7c3 Core/Loot: Removed unneccessary field from Loot class and pass it as parameter everywhere 2022-08-25 14:46:34 +02:00
Shauren 20f38369f3 Core/PacketIO: Updated packet structures to 9.2.7 2022-07-31 21:39:48 +02:00
Ghaster 55d0adf15e Core/Players: Prevent sending QuestUpdateAddCredit on QUEST_OBJECTIVE_ITEM (#28170) 2022-08-06 15:08:42 +02:00
Shauren 240ff8314a Core/Misc: Update /roll max cap 2022-08-06 14:22:25 +02:00
Shauren 40c3add02e Core/Items: Implemented ITEM_FLAG3_DONT_REPORT_LOOT_LOG_TO_PARTY 2022-08-06 14:11:19 +02:00
Shauren fbe0b8efeb Core/Maps: Removed MapInstanced - no longer neccessary for grid data reference counting (moved to TerrainInfo) 2022-07-24 18:56:40 +02:00
Shauren 16a06346ae Core/Maps: Move terrain data handling out of Map class
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-07-23 19:13:33 +02:00
Shauren 073a036d84 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects 2022-07-19 23:18:19 +02:00
Shauren 775be0682a Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects 2022-07-18 22:45:03 +02:00
Shauren 26d757946f Core/Players: Cleaned some old updatefield definitions and updated values for completed quests size 2022-07-17 21:25:10 +02:00
Shauren cb99b08b86 Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync 2022-07-17 20:23:37 +02:00
Shauren e1effd961d Core/WorldStates: Migrate remaining hardcoded worldstates from Player::SendInitWorldStates to new system 2022-07-11 21:32:16 +02:00
Shauren 5f601f53b8 Core/WorldStates: Migrate pvp season worldstates to new system 2022-07-11 20:35:36 +02:00
Shauren 020166649d Core/WorldStates: Migrate battleground HolidayWorldState to new system 2022-07-11 16:15:07 +02:00
Shauren 36ff703df5 Core/WorldStates: Migrate OutdoorPvP worldstates to new system 2022-07-11 15:49:49 +02:00
Shauren 5dbfaecd5c Core/WorldStates: Migrate battleground worldstates to new system 2022-07-10 18:59:29 +02:00
Shauren 49ad0d2d49 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time 2022-07-03 23:44:48 +02:00
Shauren 4ac86c13d2 Core/WorldStates: Migrate war mode bonus value worldstates to new system 2022-07-01 15:19:31 +02:00
Shauren cfca26c264 Core/WorldStates: Migrate instance script worldstates to new system 2022-06-30 00:16:41 +02:00