Commit Graph
17340 Commits
Author SHA1 Message Date
ariel- 87d5544f05 Core/Scripts: Implemented Shifting Naaru Sliver
(cherry picked from commit a5d4f34c3158bbbd65436bd2bd1dd8a9fad1ff52)
2021-05-06 07:06:27 +02:00
ariel- 5ac40cf9d1 Core/Scripts: fix issues with 'Squeeze' on Yogg-Saron encounter
- Unassigned spell script for 25-man difficulty
- Didn't remove aura on 25-man when tentacle killed

(cherry picked from commit de3fd4d076a1d02c5b75ab5d2f32bfb7ecb202a5)
2021-05-06 07:06:27 +02:00
ariel- b11c1e7141 Core/Player: fix issue with SendLoot when using Disarm Trap at maximum range
(cherry picked from commit a0dcd9c7988912e97909df2ba9ab0b86d20ff22d)
2021-05-06 07:06:27 +02:00
Shauren 73099df047 Core/Misc: Remove incorrect uses of std::unordered_map<T>::rehash and replace them with intended reserve 2021-05-05 22:57:50 +02:00
Shauren 1cf5f6e82e Core/PacketIO: Fixed combat log packets not being sent to self 2021-05-05 22:10:55 +02:00
Shauren 3169695247 Core/Auras: Fixed possible crash on login with SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS 2021-05-05 21:32:15 +02:00
Shauren 6d746a706a Core/Chat: Updated item chat link format to 9.0 2021-05-04 00:00:07 +02:00
Shauren af5202b528 Core/Auras: Add missing SPELL_AURA_COMPREHEND_LANGUAGE check for serverside chat translations 2021-05-03 23:53:24 +02:00
Shauren 67e16888ac Core/Chat: Chat translation improvements
* Remove hyperlinks from translated chat messages
* Implement case preservation rules depending on receiver client locale
2021-05-03 23:53:24 +02:00
Shauren 14098b28b3 Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior 2021-05-03 23:53:24 +02:00
Shauren ede3e415ab Core/Chat: Apply chat translation also to messeges sent to self 2021-05-03 23:53:24 +02:00
Shauren bd3bb17512 Core/Chat: Only exclude LANG_UNIVERSAL, LANG_ADDON and LANG_ADDON_LOGGED from chat translations instead of all languages that don't have a skill 2021-05-03 23:53:24 +02:00
Shauren c8e5f78b82 Core/Chat: Apply language translations to creature chat 2021-05-03 23:53:24 +02:00
Matan Shukry 3b578fc6b9 Core/Chat: Load chat language data from db2 and implement serverside chat translations 2021-05-03 23:53:24 +02:00
Shauren fb66575d38 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action 2021-05-01 20:16:10 +02:00
Shauren d6dfb6c54c Dynamic linking build fix 2021-04-30 11:51:44 +02:00
Shauren 3a37a2e0d7 Core/Grids: Allow customizing packets sent with MessageDistDeliverer and MessageDistDelivererToHostile depending on receiver
* Switch combat log sending to that implementation
2021-04-30 00:08:07 +02:00
Matan Shukry cd8edc6895 Core/DataStores: Load LanguageWords.db2 and Languages.db2 for future use 2021-04-29 21:18:08 +02:00
Shauren 8e6821648b Core/Spells: Only interrupt spells with interrupt flag Combat when spell also has SPELL_ATTR0_CANT_USED_IN_COMBAT attribute 2021-04-29 18:51:56 +02:00
ariel- b426e64c39 Core/Entities: fix crash
- m_currentSpells and spell would be different in case cancelation of a channeled spell would remove the aura, and aura scripted to cast another channeled spell on remove
- In the above situation, we would lose reference of currentSpell and remove reference from wrong one, this was fixed by clearing the pointer before spell cancelation.

Closes #20172

(cherry picked from commit 5e284d4b3826cd345193298688c1d2bc5b3c8f72)
2021-04-27 23:56:35 +02:00
Treeston e0afca513a Core/AI: UnitAI.h trimming part two. WaypointX methods kicked upstairs to CreatureAI.h.
(cherry picked from commit 9c1e675590c1fa61a80b3f2c856aaf97c549f202)
2021-04-27 23:51:40 +02:00
Treeston 0aed5a35ef Core/AI: Kick Gossip functions upstairs, from UnitAI to CreatureAI - they only make sense for Creatures anyway.
Also change a very ugly hack in GetDialogStatus. Ew.

(cherry picked from commit eacfa9d89afcfad0cbd0715c8a84890c3ccd1c74)
2021-04-27 23:49:36 +02:00
funjoker f4ef40d968 Core/Conversations: Fix conversation data handling (#26375) 2021-04-27 11:06:56 +02:00
Matan Shukry 8b0de23d0e Core/SAI: Don't clear stored pathid if it changed after processing waypoint events (#26334) 2021-04-26 21:39:22 +02:00
Shauren 4e00cb7c15 Core/Spells: Fix feed pet effect after wrong merge conflict resolution 2021-04-22 22:57:00 +02:00
Matan Shukry c99f93d53d Scripts/Spells: Implemented monk stagger (#26295) 2021-04-22 22:45:26 +02:00
Matan Shukry 60df74933f Core/Spells: Removed extra health from feed pet (#26305) 2021-04-22 22:02:19 +02:00
Shauren 8a452c3d10 Scripts/Spells: Implemented discipline priest PvP talent Trinity 2021-04-21 23:14:02 +02:00
Matan Shukry dbc082a2b2 Scripts/Spells: Implemented Atonement
* Also renamed spell_priest_spirit_of_redemption to spell_pri_spirit_of_redemption
2021-04-21 23:14:02 +02:00
Matan Shukry 2e2dc1afc9 Core/Spells: Added spell value duration to modify aura duration of a specific spell cast 2021-04-21 23:14:02 +02:00
Shauren 90a47188af Core/Items: Equipping rings/trinkets/weapons by right clicking them in bags will now swap the lower item level equipped one instead of first slot 2021-04-21 20:54:44 +02:00
Shauren aa826993e2 Core/Items: Don't update average item level when obtaining/destroying non-equippable items 2021-04-21 19:49:55 +02:00
Matan ShukryandShauren a8fa2a03be Core/Items: Calculating item level + organized iterating over items (#26276)
* Unified iterating player items into a single function

Co-authored-by: Shauren <[email protected]>
2021-04-21 10:02:42 +02:00
MistiX bf1c73dfc2 Core/Misc: Fix crash when loading playerchoice_response (#26454) 2021-04-20 20:34:45 +02:00
Shauren 7e78e25e34 Core/Misc: New function in GameTime allowing selecting std::chrono clock type by template argument 2021-04-20 10:26:04 +02:00
Matan ShukryandShauren 81eac82656 Core/Spells: Implement priest holy words + modify cooldown for a charge (#26270)
Co-authored-by: Shauren <[email protected]>
2021-04-19 23:54:13 +02:00
Shauren 854a55daab Core/PacketIO: Implemented SMSG_SPELL_ABSORB_LOG 2021-04-18 00:12:46 +02:00
Matan Shukry 530631e0a7 Core/Auras: Implemented SPELL_AURA_SCHOOL_ABSORB_OVERKILL (#26269) 2021-04-17 22:42:34 +02:00
jackpoz 4f643e3f32 Core/Misc: Removed unneeded checks
(cherry picked from commit 513e153a135ab51941fafe452aaa4e91faa285a0)
2021-04-16 20:53:41 +02:00
Treeston bce43de7f3 Core/AI: Some more refactoring prep for #19930. CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
(cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
2021-04-16 20:22:13 +02:00
Shauren 8eb3c61f1a Core/Misc: Fix cherry-pick errors 2021-04-16 15:23:04 +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
xinef1 2ea8f5e6fc Move some packets processing to map context (#18638)
Core/Network: Allow some packets to be processied in map context

(cherry picked from commit 2286da2166dda037f36a6cccfbafb7d5a6672369)
2021-04-15 20:05:39 +02:00
Jeremy 446fc391f0 Core/Entities: Fix some weird movement due to los issues (#21125)
* Core/Entities: Fix some weird movement due to los issues
- Made LoS check use collisionHeight instead of midsection. Value was too low.
- Gnomes will now have a breath bar more quickly than for example a tauren.
- Changes have been made to checking for ground z as well, some tweeking might be needed but removed most of the scattered +2.0f/+0.5f/we
* Add 0.05f to isInAir check in Creature::UpdateMovementFlags

(cherry picked from commit e42903ec16f4849b71bc8736e3151a1e11d3cd25)
2021-04-15 05:53:27 +02:00
ariel- 61585de8ae Core/Scripts: fix codestyle
(cherry picked from commit e2a97ba7e789748aaa46ace153382573fd7d7df5)
2021-04-15 05:53:27 +02:00
Keader 6c2d0d709a Core/Scripts: Val'anyr Hammer of Ancient Kings should proc only with effective heal
(cherry picked from commit 502864e86c0a29ac4e64b20ee0c2e853cecd0401)
2021-04-15 05:53:27 +02:00
ariel- 313b2ff526 Core/Scripts: remove Quel'Delar from player inventory during "The Halls Of Reflection" quests (24480, 24561)
(cherry picked from commit d13999c8d6a390914907d1d8343d72c06195bf10)
2021-04-15 05:53:27 +02:00
ariel- cfa8474520 Core/Scripts: prevent Arthas in CoS losing his gossip flag and halting instance progress
(cherry picked from commit 720ba9e973f7af5a84d7e61a1eaa716a65f41e92)
2021-04-15 05:53:27 +02:00
ariel- f8729f9aa0 Core/Scripts: fixed Festergut applying more than one stack of Inoculated at once
(cherry picked from commit c409ba8d9d570514bce3cdbaa756ae989ab06146)
2021-04-15 05:53:27 +02:00
ariel- 60465c01f2 Core/Vehicles: changed flags required to mark a seat as "usable"
Ref #3831

(cherry picked from commit 42ad5332e463e247da0e761493558723e768bd0b)
2021-04-15 05:53:27 +02:00