Commit Graph
100 Commits
Author SHA1 Message Date
Ovahlord 55318b76b6 buildfix 2025-03-11 19:58:04 +01:00
Ovahlord 0bf48b44f3 CI: disable building tests until cherrypicks are done 2025-03-11 18:50:36 +01:00
Ovahlord 40b206991f Core/Creatures: implement overriding static flags by spawnId and difficulty 2025-03-11 18:47:37 +01:00
Ovahlord 5d8b7367ef DB/Creatures: removed forbidden unitFlags and unitFlags2 from database 2025-03-11 18:16:17 +01:00
Ovahlord 45f34f08a1 Core/Spawns: fixed loading unit_flags2 overrides from creature table 2025-03-11 18:14:59 +01:00
Ovahlord 164289b3b2 Core/Units: ported namings for UnitFlags and UnitFlags2 and added the check for forbidden flags in database 2025-03-11 18:06:35 +01:00
Ovahlord 74345972e6 Core/Items: allow heirlooms to stay equipped/usable even when the player has reached their max scaling level (they just stay at that power level) 2025-03-10 20:17:48 +01:00
Ovahlord 73e26ebffe CI: updated GCC workflow 2025-03-10 20:07:11 +01:00
Ovahlord 291741c440 Core/Units: updated UpdateStatBuffMod to the same handling as the cata_classic branch 2025-03-10 20:05:14 +01:00
Ovahlord 9189fa1858 Core/Player: split table player_classlevelstats into two tables by introducing player_racestats for race specific offsets 2025-03-10 19:52:18 +01:00
Ovahlord 7ece100da8 Core/Creature: removed a duplicate application of CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM 2025-03-10 18:26:08 +01:00
Ovahlord 4172c16de6 Core/Movement: fixed spline data sent for anim tiers 2025-03-10 18:04:28 +01:00
Ovahlord f46b6f0797 Core/Units: removed the packetOnly parameter from several movement flag setters 2025-03-10 17:43:42 +01:00
Ovahlord f72f923d7e DB/Misc: removed no longer relevant WIP sql folder 2025-03-10 12:55:23 +01:00
Ovahlord 5cc9d58f0c Core/Misc: fixed GCC build 2025-03-10 10:41:45 +01:00
Ovahlord 2953efb7a3 Core/Movement: ported most movement updates from master branch and corrected behavior of CREATURE_STATIC_FLAG_4_PREVENT_SWIM 2025-03-09 20:49:41 +01:00
Ovahlord 83958342d9 Core/Spells: ported spellMod handling from master branch 2025-03-09 13:20:40 +01:00
Ovahlord b390f0fec9 Core/Units: removed some leftover commented code 2025-03-09 10:59:17 +01:00
Ovahlord f9425284ca Core/Units: updated power regeneration handling to get closer to the master version of it 2025-03-09 10:30:07 +01:00
Ovahlord e8588fd5ba Core/Objects: ported Heartbeat implementation fron master branch 2025-03-09 02:40:05 +01:00
Ovahlord 352ce7e1b3 Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior 2025-03-09 00:40:56 +01:00
Ovahlord 6b67cd773e Core/Objects: replaced ObjectUpdateFlags with CreateObjectBits to get closer to how master branch handles their bits 2025-03-09 00:26:00 +01:00
Ovahlord 44892168c1 Core/Networking: ported missing socket related changes from master branch 2025-03-08 22:37:23 +01:00
Ovahlord 0e8605edb8 Core/Movement: sync spline code which is relevant for Cataclysm with master branch 2025-03-08 17:20:25 +01:00
Ovahlord 1d25eabb4b Core/Server: restore AuthServer and grunt login 2025-03-08 15:20:14 +01:00
Ovahlord 3ef766851a Core/Zmq: reduced thread sleep time from 50ms down to 1ms 2025-02-28 20:41:56 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +01:00
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
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
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
Ovahlord 45f0c797e9 Core/Common: ported windows settings manifest from https://github.com/TrinityCore/TrinityCore/commit/b299902881cb6525b5a6cc08c5721c0c1c7401ab 2023-12-14 01:20:28 +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
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
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
Ovahlord 1251a781a0 CMake: added MySQL 8.2.0 to FindMySQL macro 2023-12-04 22:17:26 +01:00
Ovahlord b4811b7a5d Core/Packets: used the correct opcode for RoleChangedInform packet 2023-12-01 13:19:50 +01:00
Ovahlord 133588ca60 Core/Groups: fixed a crash when rolling for items 2023-11-12 07:36:39 +01:00
Ovahlord 4d27b31b6b Core/Misc: removed dead AddonHandler code which has been moved into WorldSession a long time ago 2023-10-31 22:02:49 +01:00
Ovahlord 056248cef1 Core/Packets: converted CMSG_SET_ROLE and SMSG_ROLE_CHANGED_INFORM to packet class 2023-10-30 22:30:14 +01:00
Ovahlord 2283572243 Core/Packets: use the reserve instead of resize in PartyCommandResult packet
ref #428
2023-10-30 22:01:36 +01:00
Ovahlord e9ea6f8f06 Core/Groups: converted group roll raw pointers to smart pointers 2023-10-30 01:26:57 +01:00
Ovahlord 94f7ee4dda Core/Spells: check the correct effect index for Beacon of Light auras in heal predicitions 2023-10-24 22:12:55 +02:00
Ovahlord 1dfe0f0974 Core/Spells: modernize a bunch of spell scripts in spell_generic 2023-10-21 21:34:19 +02:00
Ovahlord 6e5a63f165 Core/Spells: handle missing creature interrupt part of Silence, Strangulate and Arcane Torrent 2023-10-21 21:09:24 +02:00
Ovahlord 4b1cf485e0 Tools/MapExtractor: fixed dbc/db2 extraction under linux
clses #426
2023-10-20 15:53:46 +02:00
Ovahlord ef9b9b3887 nopchfix 2023-10-13 00:47:54 +02:00
Ovahlord 75ae2cbeac Core/Packets: converted reforge packets to packet class and enabled and added packet structure for SMSG_FORGE_MASTER_SET 2023-10-12 22:01:16 +02:00
Ovahlord bfb045e964 nopch fix 2023-10-11 03:32:57 +02:00
Ovahlord 1f5aa1a219 Scripts/VP: fixed resetting Asaad's achievement 'Not Static At All' 2023-10-11 03:30:50 +02:00
Ovahlord 5ee22c58f6 Core/Achievements: renamed ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL2 to ACHIEVEMENT_CRITERIA_TYPE_LAND_TARGETED_SPELL_ON_SPELL_TARGET 2023-10-11 03:17:14 +02:00
Ovahlord 4ff88148c8 Core/Spells: only provide base difficulty spell Ids to criteria events to match their requirements (see It's Not Easy Being Green' for reference) 2023-10-11 02:09:44 +02:00
Ovahlord faa4fbfbce nopch buildfix 2023-10-11 01:51:34 +02:00
Ovahlord df0de16bc5 Scripts/ZG: fixed achievement 'It's Not Easy Being Green' 2023-10-11 01:49:39 +02:00
Ovahlord ff0eb86c54 Core/Achievements: ported start event and fail event mechanics from master branch 2023-10-11 01:38:01 +02:00
Ovahlord a599f7461d build fix 2023-10-10 22:03:26 +02:00
Ovahlord 88e4309bcb Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_MIN_ACHIEVEMENT_POINTS 2023-10-10 21:50:10 +02:00
Ovahlord 4851269f9b Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_COMPLETE_QUEST_NOT_IN_GROUP 2023-10-10 21:47:26 +02:00
Ovahlord 9a82ad2a75 Core/Achievements: implemented ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_SOURCE_IS_ALIVE 2023-10-10 21:44:27 +02:00
Ovahlord 3efa9c9ed3 Core/Achievements: implement ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_SOURCE_DRUNK_VALUE 2023-10-10 21:41:00 +02:00
Ovahlord a2658b436c buildfix 2023-10-10 12:20:03 +02:00
Ovahlord a1e5045fa6 buildfix 2023-10-10 11:42:38 +02:00
Ovahlord 17f5be5a63 pch buildfix for tools 2023-10-10 03:38:00 +02:00
Ovahlord dab2292a6f Build/Game: sync gamePCH with master branch 2023-10-10 03:26:16 +02:00
Ovahlord 2824e00d90 Build/Scripts: ported ScriptPCH fine tuning from master branch 2023-10-10 03:14:26 +02:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +02:00
Ovahlord faa78b9e07 Core/Units: moved spell cast request includes out of unit class and use unique_ptr instead of optionals 2023-10-09 22:07:13 +02:00
Ovahlord b49f95e1e9 Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts 2023-10-09 21:40:38 +02:00
Ovahlord 8ae604df69 Core/Spells: fixed proc of No'Kaled, the Elements of Death 2023-09-20 19:18:36 +02:00