Commit Graph

35916 Commits

Author SHA1 Message Date
Ovahlord
e67167e8cf Core/Creatures: uncontrolled minions such as Army of the Dead and totem elementals will now be stored in the player's controlled list as well to trigger aggro mechanics 2020-04-22 00:40:48 +02:00
Ovahlord
c00858d969 Core/Creatures: removed hacks from SetMinion helper 2020-04-22 00:21:50 +02:00
Ovahlord
d30c811d9e Core/Creatures: reworked tempoary summon creation
* all stats and values will now be set before summons are getting added to map
* cleaned up summon spell effect handler to reduce duplicade code
* summoner guids will no longer be set for every minion and correctly handle assigning creator guids instead. These values will serve as fallback guid if there is no summoner guid
* friendly tempsummons will now inherit the guild data of their player and pass them on to further allied summons. This fixes guild specific visuals for creatures such as Guild Battle Standards and Guild Heralds.

Todo: check for regressions
2020-04-22 00:20:18 +02:00
Ovahlord
bc1a69caa3 Core/Spells: fixed Guild Battle Standard buff effects 2020-04-21 13:34:23 +02:00
Ovahlord
e756c39e31 DB/Vendors: added guild vendor data and conditions for all guild vendors
closes #60
2020-04-21 02:44:30 +02:00
Ovahlord
29aac17e2c Core/Packets: removed unused field from attacker state update field 2020-04-20 22:03:23 +02:00
Ovahlord
0d9b5c7caf Core/packets: fixed a typo in health frequent packet class name 2020-04-20 21:22:09 +02:00
Ovahlord
736354af54 Core/Spells: fixed Charge not generating any rage 2020-04-20 20:33:00 +02:00
Ovahlord
867b581303 Fixed no pch build 2020-04-20 19:24:59 +02:00
Ovahlord
4daf6d5f23 Core/Packets: converted SMSG_ATTACKER_STATE_UPDATE to packet class 2020-04-20 19:09:29 +02:00
Ovahlord
4f9579db91 Core/Packets: added structure for SMSG_UNIT_HEALTH_FREQUENT 2020-04-20 18:28:01 +02:00
Ovahlord
04b4a63313 DB/Achievements: added reward titles to heroic Cataclysm raid boss achievements and the Avengers of Hyjal reputation achievement 2020-04-20 15:09:33 +02:00
Ovahlord
749fdc06d1 Core/Movement: follow movements will now throttle the follower's speed in a more aggressive manner to get them back in line more quickly when moving ahead 2020-04-20 12:40:30 +02:00
Ovahlord
a84733a02c Scripts/Items: the normal version of the Variable Pulse Lightning Capacitor will now pull its damage values from the Lightning Bolt spell to reflect tooltip behaivior 2020-04-20 11:39:54 +02:00
Ovahlord
e456ff8efb Fixed nopch build 2020-04-20 10:51:44 +02:00
Ovahlord
937df192f6 Core/Packets: converted threat packets to packet class and fixed threat amount sent in them 2020-04-20 10:45:49 +02:00
Ovahlord
206cd7d6d7 Core/Units: std::floor for rounding rage gains 2020-04-19 23:19:59 +02:00
Ovahlord
c537a2658a Core/Units: reworked power regeneration for players
* use a reversed client function to get the power regeneration rate for all types of powers
* unified all player based regeneration updates into a single statsystem helper
* cleaned up unnecessary regeneration timers
* implement power regeneration for alternative powers
* corrected rage gain numbers based on simulationcraft formulas
2020-04-19 22:53:29 +02:00
Ovahlord
0ea2200879 Core/Pets: use default pet follow angle when loading pets from database 2020-04-19 15:08:21 +02:00
Ovahlord
631236fa8a Core/Packets: converted CMSG_WHO and SMSG_WHO to packet class 2020-04-18 19:23:54 +02:00
Ovahlord
ee9f0b9bf0 Core/Battlegrounds: fixed ship movement in Strand of the Ancients 2020-04-18 12:54:25 +02:00
Ovah
1b8eec06ec Core/Movement: various improvements for creature knockbacks
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data
* calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all)
# Conflicts:
#	src/server/game/Movement/MotionMaster.cpp
2020-04-17 21:21:46 +02:00
Ovahlord
c67bcc4f72 DB/Spells: corrected spell type mask for Hex, Polymorph and Frost Nova's control effect procs 2020-04-17 20:43:11 +02:00
Ovahlord
077b679000 Scripts/Items: scripted Bedrock Talisman, Spidersilk Spindle and Variable Pulse Lightning Capacitor 2020-04-17 14:29:09 +02:00
Ovahlord
b8802ccaa2 Core/Movement: do not reposition against chase targets that are still moving 2020-04-16 21:53:33 +02:00
Ovahlord
4797ec3194 Scripts/Items: scripted Jar of Ancient Remedies, Scales of Life and Apparatus of Khaz'goroth 2020-04-16 16:52:42 +02:00
Ovahlord
0b655a8a13 Core/Spells: reduced default periodic tick interval back to one second
* power obs spells such as food are suposed to have the same interval as their first effect counterpart which sits at one tick per second. This fixes % regeneration food to not restore mana within the intended interval
2020-04-16 15:10:40 +02:00
Ovahlord
eb9b4718f5 Core/Spells: fall back to a 5 seconds periodic interval only for auras that are actually eligible for periodic effects 2020-04-16 15:00:47 +02:00
Ovahlord
15d380b0b9 Core/Packets: corrected packet header size for SMSG_PLAY_MUSIC 2020-04-16 14:45:50 +02:00
Ovahlord
73722f2531 Core/Spells: fixed build 2020-04-16 14:45:16 +02:00
Ovahlord
b770d2e4d0 Core/Spells: renamed Amplitude and ValueMultiplier to match DBC field names 2020-04-16 14:40:30 +02:00
Shauren
ad377241f9 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2020-04-16 13:00:59 +02:00
Shauren
ec6d64b9c6 Core/Player: Wait for correct transaction on character creation 2020-04-15 21:58:02 +02:00
Shauren
df44e90fe6 Core/Misc: Fixed char enum packet sometimes not showing newly created character when client latency is too low 2020-04-15 21:46:28 +02:00
Shauren
ca881f7e3f Core/DBLayer: Implement async transaction completion callbacks 2020-04-15 21:41:14 +02:00
Ovahlord
882c275e65 Core/DBLayer: 13440434c3 followup 2020-04-15 21:33:16 +02:00
Shauren
40c3c785a2 Core/DBLayer: Prevent mixing databases with query holders
# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Server/WorldSession.h
2020-04-15 21:30:10 +02:00
Shauren
47acc59f49 Core/DBLayer: Prevent committing transactions started on a different database 2020-04-15 21:02:26 +02:00
Shauren
d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord
eaee7b3cfa Core/DBLayer: minor spacing fixups 2020-04-15 11:25:34 +02:00
Giacomo Pozzoni
dd6498b8f9 Core/Database: Close the MySQL connection only after getting the last error code 2020-04-15 11:06:18 +02:00
Ovahlord
8819428919 Core/DBLayer: fixed no pch build 2020-04-15 10:46:37 +02:00
Ovahlord
6d769330b0 CMake: deprecated all MySQL versions below 5.7 2020-04-15 10:23:03 +02:00
Shauren
5653d4e2de Core/DBLayer: Support using mysql 8 2020-04-15 10:19:24 +02:00
Ovahlord
26e5823913 Core/Movement: fixed several edge cases at which units with a custom chase angle ended up endlessly repositioning against their target 2020-04-13 22:22:11 +02:00
Shauren
e0be0caadd Core/Battle.net
* Fixed infinite loop in ReadFourCC if value in packet was 0
* Corrected ClosingReason enum in ConnectionClosing
2020-04-13 21:00:29 +02:00
Ovahlord
1f93a67e04 Core/Movement: inital work on chase movement rewrite
* chase movement will now launch within a sniffed time interval
* the movement will now use a predicting method to get a estimated chase destination to avoid falling behind the chase target
* ChaseRange has been dropped and stepping backward has now a own implementation within the movement generator. Todo: analyzing sniffs for the correct time interval
2020-04-13 17:12:14 +02:00
Ovahlord
f119e8c79d Scripts/DS: fixed several typos in Mandess of Deathwing script
* removed a duplicate comment in RASession
2020-04-13 17:04:19 +02:00
Ovahlord
4539b571bf Core/Packets: converted SMSG_MOTD and SMSG_LOGIN_VERIFY_WORLD to packet class 2020-04-11 18:22:01 +02:00
Ovahlord
61df418204 Core/Misc: fixed two comment typos 2020-04-11 11:13:19 +02:00