Commit Graph

7444 Commits

Author SHA1 Message Date
Ovahlord
2b89089c50 Scripts/Spells: simplify bitset check in mage Deep Freeze spell script 2024-09-21 14:27:20 +02:00
Ovahlord
329b48e853 Scripts/Spells: fixed mage Arcane Missiles 2024-09-21 14:20:34 +02:00
Ovahlord
f2ff7fa683 Scripts/Spells: fixed mage Deep Freeze ability 2024-09-21 13:38:55 +02:00
Shauren
70d2b3b34d Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
(cherry picked from commit 7ac0c685dd)
2024-09-21 05:50:20 +02:00
Ovahlord
1e2b189277 Core/Misc: remove character creation code for Demon Hunters, Evokers and Allied Races 2024-09-18 18:44:03 +02:00
Shauren
f4123226c7 Core/Commands: Refactor .additem to use typed args
(cherry picked from commit 1f60e76b7f)
2024-09-17 17:09:21 +02:00
Shauren
35f6695851 Scripts/Spells: Add missed change for 975e7cc072
(cherry picked from commit b2a9a59364)
2024-09-13 19:31:22 +02:00
Shauren
5a495d8e02 Core/Spells: Refactor CastSpellExtraArgs
* Allow C++20 designated initializers
* Allow precise float values for SPELLVALUE_RADIUS_MOD, SPELLVALUE_CRIT_CHANCE and SPELLVALUE_DURATION_PCT

(cherry picked from commit 975e7cc072)
2024-09-13 19:30:56 +02:00
Shauren
fdd44f70dd Core/Misc: CompilerDefs/GitRevision improvements
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)

(cherry picked from commit e8740fb2e1)

# Conflicts:
#	revision_data.h.in.cmake
2024-09-03 19:56:38 +02:00
Ovahlord
43b2c5f5de Scripts/Spells: removed post Cataclysm item spell scripts 2024-09-01 19:27:35 +02:00
Ovahlord
b5e681e682 Core/Misc: removed most retail specialization code and restored legacy functionality for Classic 2024-09-01 06:52:54 +02:00
Shauren
51fdfa6055 Core/Commands: Fix windows unicode escape sequence warning
(cherry picked from commit 43987f0cff)
2024-08-27 17:21:08 +02:00
Shauren
18ae1540b5 Core/Loot: Implemented currency loot
(cherry picked from commit 3e28ee080a)

# Conflicts:
#	sql/base/characters_database.sql
#	sql/updates/auth/cata_classic/2024_08_26_00_characters.sql
#	sql/updates/world/cata_classic/2024_08_26_00_world.sql
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Loot/Loot.cpp
#	src/server/scripts/ExilesReach/zone_exiles_reach.cpp
2024-08-27 17:20:43 +02:00
Shauren
25ffdbc5ef Core/Realms: Realmlist refactors
* Removed global realm variable from World and use RealmList everywhere
* Match auth build key with client version
* Restored allowedSecurityLevel checks for realmlist packet building
* Restored updating population field, mysteriously removed 15 years ago in f20b25d1c9

(cherry picked from commit c4b710446d)

# Conflicts:
#	sql/base/auth_database.sql
2024-08-18 20:39:21 +02:00
Ovahlord
58456bff19 Core/Spells: use signed variable to track spent combo points in Eviscerate spell script to match the class member's type
* and to make some folks happy
2024-07-31 17:09:09 +02:00
Ovahlord
7ded8757dd nopch fix 2024-07-31 16:11:56 +02:00
Ovahlord
947fd260a8 Core/Spells: treat combo points consumption similar to regular power to allow spending and gaining combo points within the same update tick 2024-07-31 13:40:01 +02:00
Ovahlord
0a56248fb4 Core/Spells: fixed Eviscerate damage calculation 2024-07-31 11:34:42 +02:00
Ovahlord
fd24f07322 Core/Player: removed InitTalentForLevel as it no longer serves any purpose which isn't already covered by other functions 2024-07-28 03:46:04 +02:00
Ovahlord
03b6898518 Core/Player: initial work on implementing talents for Cataclysm
- use a new structure to hold talent group data which will eventually replace the old master branch implementation
- added support for unlocking dual talent specialization and switching specs
- added basic support for learning and resetting talents
2024-07-27 11:03:38 +02:00
Ovahlord
e0adab82f8 Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 60b75e3b6e)
(cherry picked from commit 4862033a44)
2024-07-18 22:37:00 +02:00
Shauren
4988e328d4 Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet)
(cherry picked from commit 16bfbe1a3a)
2024-07-11 19:06:57 +02:00
Ovahlord
cce07dca09 remove whitespace 2024-07-10 01:06:56 +02:00
Ovahlord
a0de631a8a Core/Spells: fixed Heroic Strike damage calculation 2024-07-09 11:43:30 +02:00
Shauren
7198c5223e Core/Creatures: Fixed memory leaks in creature formations
(cherry picked from commit 2e3920081f)
2024-07-08 13:13:06 +02:00
Ovahlord
686f10cb0f Core/Spells: ported the Dark Simulacrum implementation from a33864ce2d 2024-06-28 18:51:38 +02:00
Ovahlord
dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Ovahlord
a48dfe3ae6 Core/Player: restore ranged weapon attack handling 2024-06-25 02:14:54 +02:00
Meji
0f00a33175 Core/Commands: Allow to complete tracking quests with .quest complete command (#30043)
(cherry picked from commit 97cad9c598)
2024-06-23 23:52:08 +02:00
Shauren
bab83b91d9 Core/Movement: Allow setting position or object facing targets for jump movement
(cherry picked from commit ac73edc268)

# Conflicts:
#	src/server/scripts/Kalimdor/RagefireChasm/boss_lava_guard_gordoth.cpp
2024-06-23 23:48:49 +02:00
Shauren
f52d9b9916 Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported
(cherry picked from commit c968dedfee)
2024-06-20 01:22:04 +02:00
Golrag
c7374b620b Core/Players: Allow targeting a specific transport during teleports
(cherry picked from commit 5b130cfb42)
2024-06-20 00:53:56 +02:00
Ovahlord
3d8602276d Core/Quests: update quest_template fields to 4.4.0 2024-06-13 19:23:44 +02:00
Ovahlord
311320946e Scripts/Spells: removed whitespace left over in 04a0d57f2b 2024-06-12 00:40:31 +02:00
Ovahlord
04a0d57f2b Scripts/Spells: wiped all class spell scripts 2024-06-06 21:16:06 +02:00
Ovahlord
8d851e8576 Core/Spells: removed no longer used parameters from SpellEffectInfo::CalcValue and SpellEffectInfo::CalcBaseValue 2024-05-30 14:55:34 +02:00
Shauren
2ceae541cc Core/Misc: Minor fixes in preparation to support fmt v10
(cherry picked from commit 39fc9f8000)
2024-05-28 16:49:12 +02:00
Ovahlord
ffac60879b Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946)
(cherry picked from commit 11f32a2427)
2024-05-28 16:45:41 +02:00
Shauren
33eb662bcc Scripts/Items: Updated Amalgam's Seventh Spine script - fixed auras lingering after removal and added new case for evokers
(cherry picked from commit 250984a7b7)
2024-05-28 16:45:37 +02:00
Ovahlord
cbc6aed437 Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example (#29945)
* Updated Amalgam's Seventh Spine dummy aura script to use the new AuraScript hook

(cherry picked from commit 55ce5b150f)
2024-05-28 16:45:30 +02:00
Aqua Deus
2ee8c63d93 Scripts/Spells: Fix Crusader's Might cooldown reduction effect (#29938)
(cherry picked from commit a361d3f587)
2024-05-28 16:45:07 +02:00
Shauren
0d65725551 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
(cherry picked from commit dad976beb4)

# Conflicts:
#	src/server/scripts/BrokenIsles/zone_orderhall_warrior.cpp
2024-05-28 16:44:37 +02:00
Shauren
78805e49c0 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-05-28 16:43:54 +02:00
Aqua Deus
3f6153f9d9 Scripts/Spells: Add new script for spells with feign death with all flags except uninteractible (#29922)
(cherry picked from commit f4ef6f769b)
2024-05-28 16:43:50 +02:00
Shauren
651f71b138 Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1
(cherry picked from commit e1f43900d1)
2024-05-28 16:43:09 +02:00
Jeremy
d80fb502f6 Scripts/Battlegrounds: Implement Twin Peaks (#29924)
Closes #8894

(cherry picked from commit 091094aa13)
2024-05-28 16:42:50 +02:00
Shauren
125b6d2ed7 Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command
(cherry picked from commit bec5bdb61b)
2024-05-28 16:40:48 +02:00
Jeremy
e6af1c591c Scripts/Battleground: Implemented Battle for Gilneas (#29877)
(cherry picked from commit 90f390f9b8)
2024-05-28 16:32:34 +02:00
Meji
382eb5063f Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
(cherry picked from commit def601b4ff)
2024-05-28 16:31:42 +02:00
Jeremy
d0d5d309bb Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground

(cherry picked from commit be11f42a16)
2024-03-28 20:38:55 +01:00