Commit Graph
38306 Commits
Author SHA1 Message Date
Ovahlord 4d193c29a3 Build: synced FindMySQL macro with master branch 2025-02-26 21:27:28 +01:00
Ovahlord 7769aed49a CMake: added MySQL 8.3 to FindMySQL macro 2024-02-22 16:30:29 +01:00
Keramat Jokar 7316f67b28 Core/Socket: Fix check session digest (#436) 2023-12-24 05:57:28 +01:00
Ovahlord a9c5881487 Scripts/BoT: fixed linux build 2023-12-19 07:59:18 +01:00
Ovahlord f951bf80fd Scripts/BoT: exclude several invisible stalkers from the Proto-Behemoth's Dancing Flames visual effect 2023-12-19 07:55:49 +01:00
Ovahlord abfddaa915 Scripts/BoT: updated and modernized Halfus Wyrmbreaker encounter
* moved several mechanics from instance script into the boss script itself
* changed the unresponsive dragon selection from two saved variables into a single generated flag
* corrected timer layout for the Proto-Behemoth and handled a missing mechanic of the Time-Dilation debuff
* moved all encounter spawns into spawngroups
* simplified and cleaned up the dragon ads script
2023-12-19 07:46:11 +01:00
Ovahlord d8ef0352e1 buildfix 2023-12-18 11:48:18 +01:00
Shauren b5ec59a07e Core/Units: Power handling improvements 2023-12-18 10:02:19 +01:00
Ovahlord 620c39be06 Core/Units: update facing splines immediately after launch 2023-12-17 05:50:10 +01:00
Ovahlord 924273363f Core/Pets: ported a couple changes from 3.3.5 branch that went missing and corrected a master branch spell check that was allowing non-charmed player controlled units to bypass the ai movement check exception (pets are not meant to be charmed, only controlled) 2023-12-17 05:17:57 +01:00
Shauren 2c38b2f4be Core/Spells: Merge TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS functionality into TRIGGERED_IGNORE_CAST_IN_PROGRESS as they are always used together (and missing one of them in scripts is a common enough mistake)
* Also fixes Ray of Frost being interrupted by casting Shimmer
2023-12-17 04:44:00 +01:00
Ovahlord 45f0c797e9 Core/Common: ported windows settings manifest from https://github.com/TrinityCore/TrinityCore/commit/b299902881cb6525b5a6cc08c5721c0c1c7401ab 2023-12-14 01:20:28 +01:00
Shauren d02827d228 Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS 2023-12-14 01:06:34 +01:00
Shauren d5cb122e3a Core/Cells: Improve cell copy constructor and argument passing codegen (now fully done through a single register) 2023-12-14 00:47:18 +01:00
Gosha 7d2e4e1993 Core/Cells: align Cell.data.Part fields by 8 bits and enlarge Cell structure to 8 bytes
8-bits align removes unneded shift operations
2023-12-14 00:47:12 +01:00
Ovahlord 9a4a902636 Core/Units: also allow creatures to generate rage from auto attacks and use their base attack time as base to calculate the generated amount 2023-12-12 20:56:33 +01:00
Ovahlord ba10718ea7 Core/Units: removed a debug logging message that sneaked in 2023-12-11 21:02:39 +01:00
Ovahlord 5b5914beda Core/Units: no longer set PowerUpdate packets when gaining rage from damage taken 2023-12-11 20:48:45 +01:00
Ovahlord 8613a5623c Core/Units: use the weapon's/druid's base attack speed to calculate melee rage amounts instead of plain attack swing timers
The normalized rage calculation uses base speeds, which are the weapon's attack base attack speed and the druid's shapeshift base attack speed. The old implementation used plain swing timers which are affected by haste and thus resulting in negating any rage gains from faster attacks
2023-12-11 19:55:54 +01:00
Ovahlord 96e9b6189f Core/Units: fixed a typo which was causing armor mitigation to be bypassed 2023-12-10 18:45:59 +01:00
Ovahlord 0f035fe940 Core/Units: refactor rage generation to reflect patch 4.0.1 changes:
* melee attacks will now send their awarded rage within SMSG_ATTACKER_STATE_UPDATE and moved the rage reward mechnic from Unit::DealDamage into Unit::AttackerStateUpdate

* killed CleanDamage struct and provide plain unmitigated damage values instead as since patch 4.0.1 the rage gained from damage taken is fully normalized and ignores any kind of damage reduction or negation
2023-12-10 18:26:24 +01:00
Ovahlord 4f309c127a Core/Units: round rage gain values up so taking at least one point of damage will ensure you gain a rage point 2023-12-10 17:09:55 +01:00
Ovahlord 6cb2bd953d Core/Units: fixed a rounding issue that caused very low damage unintentionally being reduced to zero
*also feed the AttackerStateUpdate  SubDamage with the correct values
2023-12-10 16:58:21 +01:00
Ovahlord 8c3d501524 Core/Units: generating rage from damage taken will now use the full unmitigated damage amount instead of the final instead 2023-12-10 04:37:44 +01:00
Ovahlord df646fbe6a Core/Objects: fixed packet guid writing 2023-12-10 03:29:23 +01:00
Shauren 4bc6115d4e Build: Fixed finding openssl 3.2 on windows 2023-12-10 03:04:57 +01:00
Ovahlord 65218b02f9 Scripts/Instances: converted DataHeader macro to constexpr to keep their definition within their namespace 2023-12-10 02:22:54 +01:00
Ovahlord 96b2c70c04 buildfix 2023-12-09 22:11:16 +01:00
Ovahlord 2e3d90352f nopch fix 2023-12-09 21:47:11 +01:00
Ovahlord bdf61a6f1f Scripts/World: b1fce7c88f followup 2023-12-09 20:58:45 +01:00
Grindelwald b1fce7c88f Scripts/World: updated Update inkeeper content 2023-12-09 20:57:41 +01:00
Ovahlord 758694af49 Build/CMake: enable unity builds for scripts project 2023-12-09 05:31:05 +01:00
Ovahlord 40d6e2a1a7 Scripts/Misc: fixed redundant enum names and definitions in same namespaces 2023-12-09 05:30:44 +01:00
Ovahlord ea30806159 Scripts/EasterKingdoms: moved scripts into their corresponding namespace 2023-12-09 05:09:19 +01:00
Ovahlord 22c843d8fe Scripts/Kalimdor: moved scipts into their corresponding namespace 2023-12-09 02:34:48 +01:00
Ovahlord 93d8ed48b7 Scripts/Northrend: moved scripted into their corresponding namespace (part 2) 2023-12-09 00:21:22 +01:00
Ovahlord 7ad103d20f Scripts/Northrend: moved scripts into their corresponding namespace (part 1) 2023-12-08 23:06:53 +01:00
Ovahlord 6d1eb573bc Scripts/Events: moved scripts into their respective namespace 2023-12-08 22:04:53 +01:00
Ovahlord 714d93c9da Scripts/Battlefields: moved scripts into their respective namespace 2023-12-08 22:03:08 +01:00
Ovahlord c494ec1f87 Scripts/OutdoorPvP: moved scripts into their respective namespace 2023-12-08 21:39:47 +01:00
Ovahlord 773e12c58b Scripts/Outland: moved scripts into their respective namespace (part 2) 2023-12-08 21:27:25 +01:00
Ovahlord cf80433af8 Scripts/Outland: moved scripts into their respectice namespace (part 1) 2023-12-08 20:35:23 +01:00
Ovahlord c1ac99cc5d Scripts/Pet: moved all scripts into their own respective namespaces 2023-12-08 20:02:14 +01:00
Ovahlord 7e62a55074 Scripts/Spells: moved all scripts into their own respective namespaces 2023-12-08 19:57:27 +01:00
Ovahlord d5f1aea2d2 Scripts/World: moved all scripts into their own respective namespaces 2023-12-08 19:47:17 +01:00
Ovahlord cd107956f5 Build/CMake: disable unity builds for external dependencies as their support for unity builds was rather hacky and relied too much on random factors 2023-12-08 18:14:22 +01:00
Ovahlord 5549d82845 Scripts/Maelstrom: moved all scripts into their own zone or instance related namespace 2023-12-08 18:10:27 +01:00
Meji a601976e4c Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM 2023-12-08 16:37:27 +01:00
Ovahlord 1251a781a0 CMake: added MySQL 8.2.0 to FindMySQL macro 2023-12-04 22:17:26 +01:00
Shauren bf51eda550 Core/Misc: PackedGuid refactoring to remove ByteBuffer.h include from ObjectGuid 2023-12-04 22:14:02 +01:00