Ovahlord
fd0dc1066a
Misc: added more formatting rules to clang-format to match TC standards
2025-06-16 23:39:22 +02:00
Ovahlord
c7f5cffad3
Core/Packets: remove no longer needed check from learn preview talents packet handler
2025-06-16 21:07:56 +02:00
Ovahlord
c092c6ad00
Core/Player: allow players to learn a primary specialization without having to select a talent
...
* converted CMSG_LEARN_PREVIEW_TALENTS to packet class
2025-06-16 20:32:28 +02:00
Ovahlord
53df12ae73
Core/Player: moved PlayerTalentInfo into a own header and removed the unneeded pointer mess
2025-06-16 18:50:33 +02:00
Ovahlord
db47e3dec9
Core/Objects: removed a long dead function declaration
2025-06-16 13:37:10 +02:00
Ovahlord
72a322c66d
Core/Objects: ported static object casting methods from master branch
2025-06-16 13:17:31 +02:00
Ovahlord
c9db15021c
Scripts/Spells: typo fix for a loop counter
2025-06-15 22:35:47 +02:00
Ovahlord
09f8eb41c2
Misc: added .clang-format file to make code formatting easier
2025-06-15 21:14:10 +02:00
Ovahlord
3b40b62e1c
Core/Spells: no longer reset combat timers for instant melee spells
2025-06-15 20:59:41 +02:00
Ovahlord
81f7e1acaf
Scripts/Spells: removed unused enums and fixed some static analysis issues
2025-06-15 20:58:23 +02:00
Ovahlord
8b0c5c87ce
Scripts/Spells: reduce the proc chance for Killing Machine by 50% when the dual wielding to reflect the patch 4.2.0 chance in which offhand attacks may now also trigger the proc
2025-06-15 16:13:35 +02:00
Ovahlord
452da00b2a
Core/Player: updated the Death Knight Rune system to get closer to the Classic implementation
...
* Runes will no longer trigger a 1.5 seconds cooldown when missing and instead refund the runes immediately
2025-06-15 15:13:56 +02:00
Ovahlord
f08fb7d056
Core/Packets: ported some bit writing optimizations from master branch
2025-06-15 01:17:49 +02:00
Ovahlord
34fa3e1a1c
Core/Creature: fixed falling back to creature_template flag data when not overriden in creature table
...
*fixed column type of npcflag for creature table
2025-06-14 20:24:39 +02:00
Ovahlord
bb6a8ac297
Core/Units: moved CharmInfo class to an own file
2025-06-14 19:13:44 +02:00
Ovahlord
254ebe6cbf
Misc: fixed nopch build
2025-06-14 17:22:58 +02:00
Ovahlord
eceecac7c5
Core/Player: removed manual mastery aura amount calculation as it's already done within the spell effect amount
2025-06-14 16:22:03 +02:00
Ovahlord
6a3ac4e8df
Dep: bumped utfcpp to version 3.2.3
2025-06-14 13:18:09 +02:00
Ovahlord
4f08f34e26
Core/Misc: converted more raw pointers to smart pointers
2025-06-14 12:55:35 +02:00
Ovahlord
8340960a7d
Misc: delete no longer needed jenkins file
2025-06-13 20:28:58 +02:00
Ovahlord
13e9a937ab
Scripts/OutdoorPvP: fixed memory leaks in Outdoor PvP scripts for Nagrand and Zangarmarsh
2025-06-13 20:27:18 +02:00
Ovahlord
1b22d87f91
Core/Player: converted void storage items to smart pointers
2025-06-13 20:19:56 +02:00
Ovahlord
d2b464b537
Core/Items: added missing destructor to item class
2025-06-13 20:19:32 +02:00
Ovahlord
d8ecc53b3c
Core/Creature: added missing destructor definition
2025-06-13 20:04:25 +02:00
Ovahlord
49270a5cb9
Scripts/Spells: fixed damage calculation for Blood-Caked Strike and dropped deprecated script for Icebound Fortitude
2025-06-11 19:44:36 +02:00
Ovahlord
af7ab961c6
Scripts/Spells: fixed disease damage bonus for Blood Strike, Heart Strike and Obliterate
2025-06-11 16:28:11 +02:00
Ovahlord
a21b6d4ce9
DB/Commands: fixed a crash when using .list aura
2025-06-11 12:55:47 +02:00
Ovahlord
89e601a4e9
DB/Misc: removed an unneeded comment from update field
2025-06-11 12:40:22 +02:00
Ovahlord
4ccfe1ebed
Core/Spells: fixed several special damage calculations for class spells and fixed a duplicate application of mastery
2025-06-09 11:08:43 +02:00
Ovahlord
6f39a57ad3
Scripts/Spells: fixed some end of file line endings
2025-06-08 15:19:21 +02:00
Ovahlord
276f826b0d
DB/Spells: 5c9ecf27e9 followup
2025-06-08 15:17:55 +02:00
Ovahlord
5c9ecf27e9
Core/Spells: dropped spell_bonus_data table and use the dbc internal data to calculate ap and sp bonus values
...
* some spells have a special formula in their tooltips, which need manual scripting via the CalcDamage and CalcHealing hooks respectively
2025-06-08 15:16:17 +02:00
Ovahlord
373dd1b6ac
Scripts/Spells: modernize spell script for Howling Blast
2025-06-08 12:22:03 +02:00
Ovahlord
4dd10462d0
Scripts/Spells: modernize aura script for Frost Fever and Blood Plague
2025-06-07 19:22:16 +02:00
Ovahlord
e96245f323
Scripts/Spells: corrected spell script for Death Coil
2025-06-07 19:07:47 +02:00
Ovahlord
6318b3655d
Core/Spells: fixed a crash with gameobject spell casters
2025-06-07 19:07:29 +02:00
Ovahlord
155d58719c
DB/Creatures: dropped no longer used columns from creature_classlevelstats
2025-06-07 16:33:54 +02:00
Ovahlord
58ef56d335
Core/DataStores: ported NpcDamageByClass game tables from Cata Classic and use it to calculate creature damage values
2025-06-07 16:20:53 +02:00
Ovahlord
77efec36ee
Core/DataStores: ported NpcTotalHp game tables from Cata Classic and use them to calculate npc health values
2025-06-07 15:53:41 +02:00
Ovahlord
94f1ac8498
Revert "Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring"
...
This reverts commit 57416b873f .
2025-06-07 11:40:26 +02:00
Ovahlord
96975fcd6b
Core/Spells: fixed combo points damage calculation
...
* added GameTable class to simplify access to game table values
2025-06-07 11:40:18 +02:00
Ovahlord
4524c29f2c
Core/Spells: ported spell effect value calculation from cata_classic branch
2025-06-07 11:40:18 +02:00
Ovahlord
57416b873f
Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring
2025-04-04 23:22:12 +02:00
Ovahlord
b80409a119
DB/Creatures: fixed flight state of all capital mount riding guards
2025-03-29 19:08:41 +01:00
Ovahlord
901c387058
Core/Movement: restored a position Z check for hovering movement
2025-03-15 15:00:18 +01:00
Ovahlord
e0989bec09
Core/Movement: reduce strict pathfinding rules during chase movement
2025-03-15 14:57:11 +01:00
Ovahlord
6eb73788f4
Core/Units: deprecate CREATURE_FLAG_EXTRA_NO_COMBAT and use CREATURE_STATIC_FLAG_IGNORE_COMBAT to turn creatures passive
2025-03-15 14:27:16 +01:00
Ovahlord
4127d2595b
Core/Spells: refactored check for putting caster in combat with the player and incorporate CREATURE_STATIC_FLAG_IGNORE_COMBAT back in
2025-03-15 10:59:51 +01:00
Ovahlord
ae707fa9e1
Core/Misc: fixed startup errors introduced by recent cherry picks
2025-03-15 09:51:21 +01:00
Ovahlord
3e3212c9fe
Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE
2025-03-15 09:09:03 +01:00
Ovahlord
0c9747961d
Core/Spells: restore a check for SPELL_ATTR3_COMPLETELY_BLOCKED that went missing during cherry picking
2025-03-15 08:52:37 +01:00
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