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
Meji 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 <shauren.trinity@gmail.com>
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 3306a4d06c)
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 f3384fecaa)
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 e2840a3f81)
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 e8dfd8c25c)
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 b59706c8b6)
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 d86dcce1c8)
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 2ad36c37b4)
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 3735a3df0e)
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 6b2fac687d)
2022-09-05 21:34:48 +02:00
offl 4462aad70f Scripts/Spells: Random fixes (#28143)
(cherry picked from commit 53cc21b1b4)
2022-09-05 21:26:35 +02:00
offl c746d9a59c Scripts/Quest: Rework 'Fel Spirits' (10909) (#28134)
(cherry picked from commit aef55d5dfa)
2022-09-05 21:18:23 +02:00
offl 243efd378c Scripts/Spells: Script 'Hate To' spells (#28129)
(cherry picked from commit d06842d42a)
2022-09-05 21:18:23 +02:00
offl 2102eced8f Scripts/Quest: Adjustments to Runeforging (#28115)
(cherry picked from commit 444928f3c5)
2022-09-05 21:18:21 +02:00
offl b160ba2061 Scripts/Spells: Great/Fish/Gigantic/Small/Bountiful Feast (#28114)
(cherry picked from commit 9a9edb4dfe)
2022-09-05 21:04:38 +02:00
offl d02989e9e6 Scripts/Quest: Update few quests (#28108)
(cherry picked from commit 1c96eebcc1)
2022-09-05 21:01:44 +02:00
offl 731177fa9b Core/Spells: MaxAffectedTargets for 47731 Critter
(cherry picked from commit 37fcaf64ef)
2022-09-05 19:56:45 +02:00
offl 1bb6440d75 Scripts/Nexus: Rework Telestra (#28104)
Closes #27792 Closes #27941

(cherry picked from commit 93db014cb9)
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 b484b7e927)
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 b1db528780)
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 b339fbaaf3)
2022-09-05 19:49:45 +02:00
offl efae1a28ef Scripts/Spells: Hex of Jammal'an (#28083)
(cherry picked from commit b801528e9d)
2022-09-05 19:48:43 +02:00
offl 39c07d43bf Scripts/Quest: Update 'Sabotage' (12676) (#28082)
(cherry picked from commit fca49f428b)
2022-09-05 19:47:52 +02:00
offl d68abbf705 Scripts/Pets: Update Lil' K.T. (#28071)
(cherry picked from commit dfd1692e31)
2022-09-05 19:46:54 +02:00