Commit Graph

2326 Commits

Author SHA1 Message Date
Golrag fe362cf2c9 Core/Entities: Some changes to LoS z checking & MotionMaster::MoveJumpTo (PR #20970)
- Use Midsection height for LoS checking.
- Changed MotionMaster::MoveJumpTo to use correct z. This change also makes sure the _owner will jump towards the given angle. Instead of jumping to a unintended angle if the first one is not in LoS.

(cherry picked from commit 95456ab5d8)
2021-03-15 20:17:31 +01:00
Meji 72f99531b7 Core/Players: Update the location of the cinematic camera only if there is an active cinematic (#26215) 2021-03-15 00:06:26 +01:00
Shauren 56438d0cdd Core/Players: Remove error log from Player::GetQuestObjectiveData as that function is now used with quest objectives retrieved by their id, not from quest 2021-03-14 14:44:16 +01:00
Matan Shukry 931a3871f8 Core/Movement: Don't rely on client for water state detection 2021-03-05 00:28:07 +01:00
Shauren 36496c7172 Core/PacketIO: Fix suppressing building SMSG_UPDATE_OBJECT packets 2021-03-04 20:47:54 +01:00
Shauren 624881bef5 Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id 2021-03-02 21:32:48 +01:00
Shauren 49532eda5f Core/Spells: Refactor getting spell mod values to separate function 2021-03-02 21:12:08 +01:00
Shauren ec9f5be6a6 Core/Phasing: Implemented setting personal guid on PhaseShift 2021-02-27 01:44:44 +01:00
Shauren c9344c145a Core/Auras: Implemented SPELL_AURA_PHASE_ALWAYS_VISIBLE 2021-02-26 22:10:34 +01:00
jackpoz a01d397c3d Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools

(cherry picked from commit 24e82fe83d)
2021-02-25 18:50:55 +01:00
Matan Shukry 428fbcb133 Core/Players: Always clear old action bars on specialization change, even if new specialization doesn't have anything on its bars (#26134) 2021-02-23 20:08:21 +01:00
Shauren 1b8ef46808 Core/Auras: Reimplement SPELL_AURA_DISABLE_CASTING_EXCEPT_ABILITIES to properly allow casting listed spells 2021-02-21 16:10:22 +01:00
Shauren b811da080c Core/Auras: Implemented SPELL_AURA_MOD_COMBAT_RATING_FROM_COMBAT_RATING 2021-02-21 16:07:01 +01:00
Shauren c57b012ee4 Core/Auras: Implemented SPELL_AURA_SET_FFA_PVP 2021-02-21 15:37:11 +01:00
Shauren fea8306aa3 Core/Auras: Implemented SPELL_AURA_REMOVE_TRANSMOG_COST and SPELL_AURA_REMOVE_BARBER_SHOP_COST 2021-02-21 15:24:22 +01:00
Shauren bd7c714c97 Core/Auras: Rename many old aura types to their new meaning 2021-02-21 15:16:55 +01:00
Shauren 31d3080091 Core/Players: Corrected shield block value calculations 2021-02-20 14:00:48 +01:00
Shauren 166497988b Core/PacketIO: Add missing update field filtering for player fields 2021-02-17 14:37:18 +01:00
Shauren ece3c91d6e fix build 2021-02-15 00:30:24 +01:00
Shauren 49992508a4 Core/Movement: Refresh collision height on shapeshifting 2021-02-11 22:59:28 +01:00
Matan Shukry b4bdc4eea6 Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there (#26036) 2021-02-09 23:06:45 +01:00
Shauren cb47605235 Core/Players: Implemented secondary stat diminishing 2021-02-07 19:19:06 +01:00
Shauren d697882dfb Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them 2021-02-03 19:25:30 +01:00
Nathan Handley 502f77fe8c Core/Misc: Add functionality to allow low level quests/kills/discoveries to grant experience
(cherry picked from commit 6612ec47f4)
2021-01-29 19:23:53 +01:00
Matan Shukry db6eb69465 Core/Quests: Automatically add quests with AUTO_PUSH flag to player (#25938)
* Removed check for world quests on criteria tree reset
* Quests are currently filtered by their tag to only allow untagged or tag == 0 quests (other types are unsupported)
2021-01-29 10:50:02 +01:00
Shauren e3a9b18567 Core/Quests: Fixed marking quest objectives as complete clientside for objectives using flagging instead of counters 2021-01-25 16:18:53 +01:00
Treeston 6a69dcced2 Core/Map: Fix a crash bug when teleporting out of map before being fully added to that map. Closes #20289.
(cherry picked from commit bf81a7b207)
2021-01-13 22:04:52 +01:00
Keader a1c6a49c88 Core/Player: Fixed Battleground double kill exploit (#20618)
Fixed by: Sirikfoll
Close: #20616

(cherry picked from commit 9f943e284f)
2021-01-08 21:12:11 +01:00
Shauren 3afed1788a Core/Instances: Use level requirements from MapDifficultyXCondition.db2 instead of access_requirement db table 2021-01-02 17:55:43 +01:00
Shauren bff8f2ff4e Core/Players: Introduce configurable allied race starting level and fix default level selection for pandaren death knights 2020-12-23 00:04:43 +01:00
Shauren ad0fa5ab4a Core/Quests: Fixed min level calculation 2020-12-19 00:48:22 +01:00
Shauren d003f4387c Warning fix 2020-12-16 21:32:25 +01:00
Shauren 93f2affbf2 Core/Corpses: Fixed client crashes with player corpses
Closes #25714
2020-12-13 18:38:31 +01:00
Shauren 5f3a2d2abf Core/Quests: Fixed questgiver icons
Closes #25702
2020-12-11 22:19:19 +01:00
Shauren a50f671afd Core/PacketIO: Fixed client crashes with SMSG_UPDATE_TALENT_DATA
Closes #25701
2020-12-10 23:09:19 +01:00
Shauren 96d340f70c Core/PacketIO: Updated packet structures to 9.0.2 2020-12-08 18:16:47 +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 5095bcbf1c Core/Quests: Define new quest flags 2020-12-08 18:16:46 +01:00
Shauren 83eecaf2c4 Core/PacketIO: Fill new packet fields with data 2020-12-08 18:16:46 +01:00
Shauren c250a858b9 Core/Auras: Implemented SPELL_AURA_MOD_OVERRIDE_ZONE_PVP_TYPE 2020-10-02 18:16:32 +02:00
Shauren 0a0fc86b96 Core/Players: Corrected logic determining contested/friendly/hostile area types 2020-10-02 18:15:18 +02:00
Shauren f922c6e7a4 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0) 2020-09-19 12:44:42 +02:00
Shauren dd21e7ff40 Core/Spells: Implemented using base weapon damage in spell attack power formulas 2020-09-07 20:59:50 +02: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
Treeston 35e74687c3 Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time.
(cherry picked from commit 47af704f63)
2020-08-23 23:25:35 +02:00
Shauren 9a76af8434 Fix build 2020-08-23 22:51:26 +02:00
Treeston 10b590acb6 Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring.
(cherry picked from commit 0f7015012b)
2020-08-23 22:37:03 +02:00
Treeston 8db10c67d7 Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289.
(cherry picked from commit dbabcfbe24)
2020-08-23 22:36:00 +02:00
Treeston fc12e47cb8 Core/Player: Prevent changing equipment while charmed. Closes #20209.
(cherry picked from commit a1a12ec755)
2020-08-23 19:02:30 +02:00
r00ty-tc 03b125e6d1 Dynamic Creature/Go spawning:
- True blizzlike creature spawn/respawn behavior - new creature = new object
 - Toggleable spawn groups (with C++/SAI/command options to use them)
 - Custom feature: dynamic spawn rate scaling. Accelerates respawn rate based on players in the zone.
 - Backward compatibility mode (set via group and for summons)
   to support creatures/gos that currently don't work well with this
   (this should be removed once the exceptions are fixed)

Fixes and closes #2858
Tags #8661 as fixable.
Fixes and closes #13787
Fixes #15222.

(cherry picked from commit 59db2eeea0)
2020-08-22 12:59:57 +02:00