Commit Graph
20359 Commits
Author SHA1 Message Date
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
Gosha d0a5d04c4c Core/Battlegrounds: Corrected unit of PLAYER_POSITION_UPDATE_INTERVAL, should be milliseconds not seconds (#28247) 2022-09-14 16:08:02 +02:00
Shauren 8a183a6e5e Core/bnetserver: Implemented reconnecting with launcherlogin 2022-09-13 14:27:54 +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
Shauren 9cfc74d8c8 Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types 2022-09-10 21:51:04 +02:00
Meji f75f8d9bb8 Core/Unit: Update collision height calculation (#28239) 2022-09-10 13:42:52 +02:00
Meji 1521a0d131 Core/Gossip: Fixed loading ActionPoiID data after 69e0249807 (#28240) 2022-09-10 12:46:52 +02:00
Shauren 82de680132 Core/Misc: Update ResponseCodes enum for 9.2.7
Closes #28235
2022-09-09 16:01:26 +02:00
Shauren 53d77e4bf6 Core/Misc: Fixed build with clang 13 2022-09-08 14:49:55 +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
Aqua Deus 6e9a6700d8 Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR_PCT and rename HandleModStatBonusArmor (#28226) 2022-09-07 14:50:50 +02:00
Meji 8660655de0 Core/Creatures: Don't remove hovering from creatures that can fly (#28217) 2022-09-07 14:48:44 +02:00
Shauren 0f09fc355a Scripts/Spells: Fixed crash in spell_pri_atonement 2022-09-07 11:37:24 +02:00
offl c7ab687139 Core/Creatures: Name more static flags (#28189) 2022-09-06 21:17:43 +02:00
Shauren 89652bd78f Core/bnetserver: Add compatibility for classic clients 2022-09-06 16:29:36 +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
Shauren b2eeca702c Core/Spells: Move entering combat for caster and calculating crit chance to separate function called only once for each target instead of doing it once for every effect on every target
(cherry picked from commit f3384fecaa17c2b14bf2089c6813a31f5799a020)
2022-09-05 22:23:03 +02:00
Shauren a7b7ad94f8 Core/Spells: Simplify combat flagging code on spell launch and impact
(cherry picked from commit e2840a3f817ccdda416605d45f83a6c13121f435)
2022-09-05 22:23:02 +02:00
Shauren 9bfc29f4af Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones
(cherry picked from commit e8dfd8c25c69247b17bc9359dfbe3a1d96ef98bf)
2022-09-05 22:23:02 +02:00
Alan Deutscher ff99952dfb Core/Spells: Delay combat flagging for spell targets until spell missile lands
(cherry picked from commit b59706c8b6856bdfe084a38330773725d3404f05)
2022-09-05 22:23:02 +02:00
Gildor a1ddf5195b Core/Battlegrounds: Capture flag immediately when standing on capture point and your team's flag return due to drop timer ended (#28200)
(cherry picked from commit d86dcce1c855c5d2d5b48c00ef0e929f87b8b36e)
2022-09-05 22:23:02 +02:00
CoderKane bd74524d4c Core/Battlegrounds: Capture flags immediately when standing on capture point and your team's flag gets returned (#28087)
Closes #28076

(cherry picked from commit 2ad36c37b430694dfa61f43fb7c135037423bdb2)
2022-09-05 22:23:00 +02:00
Dan Johnson 98e0acd768 Scripts/Naxxramas: Curse of the Plaguebringer should affect 10 targets in 25 man mode (#28164)
(cherry picked from commit 3735a3df0ea73b81442c0057acd228b2b287a1ea)
2022-09-05 21:35:30 +02:00
Dan Johnson c2cfda91a3 Scripts/Naxxramas: Fixed number of affected targets for Cripple and Curse spells in 25 man version of Noth the Plaguebringer encounter (#28161)
(cherry picked from commit 6b2fac687d05e14ae3e7b947b1193c39cc0d43c1)
2022-09-05 21:34:48 +02:00
offl 4462aad70f Scripts/Spells: Random fixes (#28143)
(cherry picked from commit 53cc21b1b45e11ba9358df3281cfa2b021fb1ea0)
2022-09-05 21:26:35 +02:00
offl c746d9a59c Scripts/Quest: Rework 'Fel Spirits' (10909) (#28134)
(cherry picked from commit aef55d5dfac99808d28f5ff5591b243f1100a89c)
2022-09-05 21:18:23 +02:00
offl 243efd378c Scripts/Spells: Script 'Hate To' spells (#28129)
(cherry picked from commit d06842d42a0c140e76571fa30131a950be6d5faa)
2022-09-05 21:18:23 +02:00
offl 2102eced8f Scripts/Quest: Adjustments to Runeforging (#28115)
(cherry picked from commit 444928f3c5fb51056321c9fe554743e25354de27)
2022-09-05 21:18:21 +02:00
offl b160ba2061 Scripts/Spells: Great/Fish/Gigantic/Small/Bountiful Feast (#28114)
(cherry picked from commit 9a9edb4dfe60f574b33c705c79fca29e278e2384)
2022-09-05 21:04:38 +02:00
offl d02989e9e6 Scripts/Quest: Update few quests (#28108)
(cherry picked from commit 1c96eebcc185026cac4a84875195fb93c0485d08)
2022-09-05 21:01:44 +02:00
offl 731177fa9b Core/Spells: MaxAffectedTargets for 47731 Critter
(cherry picked from commit 37fcaf64ef0f4b16debbe16178c032dca7e91563)
2022-09-05 19:56:45 +02:00
offl 1bb6440d75 Scripts/Nexus: Rework Telestra (#28104)
Closes #27792 Closes #27941

(cherry picked from commit 93db014cb9dec117c23a5402c83e6c67ca033006)
2022-09-05 19:55:25 +02:00
Alan Deutscher eb9976cd08 Core/Auras: Do not remove auras unaffected by invincibility (#28100)
* Mark WSG's Focused Assault and Brutal Assault as unaffected by immunities

(cherry picked from commit b484b7e9270bef8bf6347c75a4c71b25bb750b11)
2022-09-05 19:52:20 +02:00
Alan Deutscher 8edee30a62 Core/Battlegrounds: Fix WSG Focused/Brutal Assault #28088 (#28094)
* Warsong Gulch: Do not clear Focused Assault or Brutal Assault from one team's flagbearer when the other team's flag is returned. The timer should only stop / reset when both flags have returned to the pedestal.
* When a flag is picked up from the pedestal with Focused Assault or Brutal Assaul active, the new flagbearer should receive the debuff.

(cherry picked from commit b1db528780c455ad0adc5b8a10c20719e461d3aa)
2022-09-05 19:50:11 +02:00
offl a01141c426 Scripts/Events: Update few Love is in the Air quests & items (#28084)
(cherry picked from commit b339fbaaf3832a468acdc35d5dfa2f7024b67ff0)
2022-09-05 19:49:45 +02:00
offl efae1a28ef Scripts/Spells: Hex of Jammal'an (#28083)
(cherry picked from commit b801528e9db77ed10edf88ab2881dd7e33fa9127)
2022-09-05 19:48:43 +02:00
offl 39c07d43bf Scripts/Quest: Update 'Sabotage' (12676) (#28082)
(cherry picked from commit fca49f428b8cf7cff4d573c9afbd863965975946)
2022-09-05 19:47:52 +02:00
offl d68abbf705 Scripts/Pets: Update Lil' K.T. (#28071)
(cherry picked from commit dfd1692e3136606e4633db45cba0871316c0d651)
2022-09-05 19:46:54 +02:00