Commit Graph
216 Commits
Author SHA1 Message Date
Shauren 708710e109 Core/Spells: Corrected client control checks in spell packets
Closes #26510
Closes #27863

(cherry picked from commit 0a34290484f3e90a2a642986de682a8b0c7e3815)
2026-05-26 23:08:27 +02:00
Shauren 6324222cdb Core/Misc: Port some 3.3.5 cherry-pick refactors 2026-05-18 00:28:59 +02:00
Shauren b88f4b7f4f Core/PacketIO: Implemented CMSG_UPDATE_AREA_TRIGGER_VISUAL 2025-06-05 12:31:33 +02:00
Shauren 357a6b6397 Core/PacketIO: Migration to PacketUtilities bit/string operations part 2 2025-05-21 18:45:37 +02:00
Shauren a5ca817ff6 Core/Position: Remove Position implicit object slicing 2025-05-19 15:34:32 +02:00
Shauren 0d475eac5f Core/PacketIO: Implemented CMSG_UPDATE_SPELL_VISUAL 2025-05-17 19:43:19 +02:00
Shauren f9bf082be9 Core: Updated to 11.1.5 2025-04-25 22:50:11 +02:00
Shauren a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
Shauren 00cb775558 Core/Loot: Fixed items some not being lootable on second opening of a lootable item 2024-01-29 16:57:07 +01:00
Ovahlord 27019a62a4 Core/Spells: Implement spell queue (#29409) 2023-11-25 00:00:10 +01:00
Shauren dc9361fcc2 Core/Spells: Named and implemented most of SpellAttr8 2023-10-22 18:39:59 +02:00
lineagedr 618ee510d6 Core/Spells: Fix logic error in HandlePetCancelAuraOpcode (#29337) 2023-09-25 16:05:06 +02:00
Shauren fefc719263 Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
2023-08-15 00:49:30 +02:00
Shauren 0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren a1e2ad439d Core/Spells: Check passive attribute on the final spell that will be cast by CMSG_CAST_SPELL, after taking overriden spells into account 2023-05-06 13:53:26 +02:00
Shauren 16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
b37333c1d9 Core/Auras: Implemented SPELL_AURA_KEYBOUND_OVERRIDE (#28809)
Co-authored-by: MaxtorCoder <[email protected]>
Co-authored-by: Shauren <[email protected]>
2023-02-10 11:29:43 +01: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 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 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
Aqua DeusandShauren 5e8534767c Core/PacketIO: Implement CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS (#27975)
Co-authored-by: Shauren <[email protected]>
2022-06-08 20:40:35 +02:00
Shauren a31e681944 Core/Spells: Rename SpellAttr0 to use official attribute names 2022-04-24 18:40:10 +02:00
Shauren 84486ded67 Core/Battlegrounds: Store mercenary status separately from the aura obtained from gossip as it can be removed at any time 2022-04-16 12:15:37 +02:00
Traesh 87723e32e2 Core/Battlegrounds: Implement mercenary system 2022-04-16 12:15:37 +02:00
Shauren 4eba978670 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags 2022-03-26 18:59:44 +01:00
Kargatum 373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
Shauren ad4f4bfab7 Core/Misc: Minor game include cleanup 2022-02-13 00:49:10 +01:00
Aqua Deus 2ae67de4c0 Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA (#27714) 2022-02-07 20:08:55 +01:00
Shauren 1fc9e0172d Core/Spells: Prevent manual cancelling of channelled spells that have SPELL_ATTR0_CANT_CANCEL
(cherry picked from commit dacb1e58025b69f61a965a78ffbe89c55a61e34b)
2022-01-06 20:48:29 +01:00
Giacomo Pozzoni a9e325f6b7 Core/Logs: Log full guid instead of just low guid, part 2
(cherry picked from commit 3def52c1c459f566ab2b2d8cf017c70df4d7cf22)
2022-01-01 00:51:54 +01:00
Giacomo Pozzoni 6ec933f281 Core/Logs: Log full guid instead of just low guid
(cherry picked from commit 468ecb7252ea4eabd37e11b9ddbbb96ffd26bd7e)
2021-12-31 21:56:40 +01:00
Shauren 04b06ab35f Core/Auras: Delete old custom config AllowTrackBothResources, all tracking types can be turned on without it
Closes #27448
2021-12-28 20:35:48 +01:00
ForesterDev 9124fd1f1f Core/Items: implement some helper methods for easier readability (#24113)
(cherry picked from commit 573ddf4d22564d022e30807c5ba2c6eb1a2c8b2e)
2021-12-21 00:46:13 +01:00
NoName 37178ff311 Core/Spells: SPELL_AURA_48 implementation (#24054)
by xvwyh

(cherry picked from commit b3b7f0761d5605d57f9d62ca8e22a8cd9a4df24b)
2021-12-20 22:30:41 +01:00
ccrs 4e6c59dca7 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()

(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Treeston edc7583119 Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers.
(cherry picked from commit 396f87c30dff1b50f1eb0d924778a7fbab7e8d11)
2021-12-12 01:26:41 +01:00
Jozef Dúc a13a765610 Core/Object: Range check vol. 2 (#23226)
* Core/Object: Fix all missing parts for #23062

* Update GameObject.cpp

(cherry picked from commit 78070163dc6b9bb34ab2d006e9cc218548e861b7)
2021-12-03 00:21:19 +01:00
Shauren 74eb6814a1 Core/PacketIO: Updated CMSG_UPDATE_MISSILE_TRAJECTORY to 9.1.5 2021-11-02 22:53:56 +01:00
Treeston a5989dcee9 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
(cherry picked from commit d4ef2529e91043bc719c3238714413fd21c9005c)
2021-10-23 00:11:44 +02:00
Meji 0a83f74876 Core/Achievements: Update CriteriaType enum (#26856) 2021-09-08 22:07:01 +02:00
ariel- 16b1f5c7f6 Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under certain conditions, missing a target change
Closes #21390

(cherry picked from commit a145a14166d12cd14a0018171fd4dd818b3a2fe5)
2021-06-21 00:06:41 +02:00
ariel- 01d9306854 Core/Spells: kill unused parameter from Spell constructor
Added in 1f2292af79

(cherry picked from commit 9fc732eb97271885568598fc38353cd809043d34)
2021-06-19 23:33:23 +02:00
Treeston 9b141207d1 [3.3.5] CastSpell unclusterfucking (that's a word now) (#21123)
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation.

- CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments
- This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one
  - It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object.
- A gajillion refactors to make everything behave the way it always has

(cherry picked from commit d507a7e3388382960108b24143da48e5f912b4a7)
2021-04-16 15:22:42 +02:00
Shauren 9b5a46ca2b Core/Auras: Defined and implemented many new interrupt flags 2021-03-21 12:05:32 +01:00
Shauren b82a3a557a Core/DataStores: Updated db2 structures to 9.0.2
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren cab4c87d2d Core/PacketIO: Updated most packet structures to 9.0.1 2020-12-08 18:16:41 +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