Commit Graph

2892 Commits

Author SHA1 Message Date
Ovahlord 0925e2825d Core/Players: fixed creating default talent groups on character creation 2024-07-28 03:19:21 +02:00
Ovahlord ba3ef410c8 Core/Players: fixed selecting primary talent trees, loading talent spells after relogging and improve validation of talents when loading from db 2024-07-28 02:04:58 +02:00
Ovahlord d8a9f7bd25 Core/Players: updated glyph handling for Cataclysm 2024-07-28 01:32:42 +02:00
Ovahlord 5657225f73 Core/Player: improved talent point calculation and fixed RBAC_PERM_SKIP_CHECK_MORE_TALENTS_THAN_ALLOWED logic 2024-07-28 00:04:47 +02:00
Ovahlord 50375c863c fixed gcc build 2024-07-27 11:53:34 +02:00
Ovahlord cc13f51f1a Core/Player: fixed updating the number of available talent points after switching specializations and fixed a missing removal of talents when switching specs, resulting in talents from other specs dangling around 2024-07-27 11:19:46 +02:00
Ovahlord 7522b55486 codestyle fix 2024-07-27 11:07:31 +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 bc991e55b0 Core/Quests: no longer prevent the item creation for quest items which are tied to quest objectives 2024-07-23 00:21:34 +02:00
Ovahlord 17c35e5857 Core/Units: unify power regeneration handling (#30088)
* Core/Units: unify power regeneration handling

- Creatures, Players and Pets now all share the same power update and regeneration handling
- Removed all false power regeneration handlings for pets and creatures
- Removed a nowhere confirmed hack for delaying health regeneration after polymorphing a target
2024-07-22 23:45:44 +02:00
Ovahlord 5e3a42ee82 Revert "power regen update"
This reverts commit bf23db4daa.
2024-07-14 19:24:26 +02:00
Ovahlord bf23db4daa power regen update 2024-07-14 19:02:22 +02:00
Ovahlord 20a8c46a72 Core/Players: turn rune cooldowns into floats and change their cooldown calculation to get closer to what the other power types do 2024-07-12 02:58:00 +02:00
Ovahlord 3751c13834 Core/Units: implement PowerTypeFlags::RegenAffectedByHaste 2024-07-12 01:23:49 +02:00
Shauren a638c36905 Core/Logging: Fixed a bunch of invalid format strings
(cherry picked from commit 0d8e3dd798)
2024-07-11 19:06:45 +02:00
Ovahlord 934ef521e3 Core/Auras: implemented SPELL_AURA_CONVERT_RUNE 2024-07-11 18:29:07 +02:00
Ovahlord fe97a86415 Core/Player: update rune regeneration and consumption for Cataclysm Classic
* the regeneration bonus from haste is tied to the HasteRegen update field and must be implemented first before we can handle it
2024-07-11 17:14:22 +02:00
Ovahlord 3bb327b2bc buildfix 2024-07-11 16:01:53 +02:00
Ovahlord 0af3226379 Core/Player: fixed a crash in rewarding quests when a QuestRewardDisplay spell is 0 (in classic the container is an array instead of a vector) 2024-07-11 16:00:58 +02:00
Shauren de5215b3bc Core/Spells: Implemented SPELL_ATTR9_ITEM_PASSIVE_ON_CLIENT
(cherry picked from commit 321161230f)
2024-07-05 04:43:01 +02:00
Ovahlord 6df40875a2 Core/Players: unified the updating of power regeneration into a single function and corrected the way the update fields are being set
* this adds support for all power types for SPELL_AURA_MOD_POWER_REGEN and SPELL_AURA_MOD_POWER_REGEN_PERCENT
2024-06-29 00:11:40 +02:00
DeadMouse 6e85a82595 Core/Creatures: Update visible Flags2 when changing gm mode state (#30058)
(cherry picked from commit 02ebab7ea6)
2024-06-28 18:40:33 +02:00
Ovahlord dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Ovahlord 848be58d82 build fix 2024-06-25 04:14:43 +02:00
Ovahlord a48dfe3ae6 Core/Player: restore ranged weapon attack handling 2024-06-25 02:14:54 +02:00
Meji e3f27a5beb Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042)
(cherry picked from commit d51d6b0abe)
2024-06-24 20:11:30 +02:00
Ovahlord 4c3df5f0d4 build fix 2024-06-20 01:28:36 +02:00
Shauren efb10637de Fix GCC 11 build
(cherry picked from commit c727e35d05)
2024-06-20 01:21:59 +02:00
Shauren 5b0b38897d Core/Auras: Merge all SpellModifier sets into one sorted set
(cherry picked from commit a7e4126472)
2024-06-20 01:21:54 +02:00
Shauren c228fb2ef2 Core/Spells: Implemented SPELL_ATTR9_MOD_INVIS_INCLUDES_PARTY
(cherry picked from commit 050bde08af)
2024-06-20 01:19:25 +02:00
Shauren 0608cf31c2 Core/AreaTriggers: Implement height check for polygon db2 areatriggers
(cherry picked from commit 1c3268155d)
2024-06-20 01:07:34 +02:00
Meji 889abca362 Core/AreaTriggers: Fix triggering of client areatriggers for some shapes
(cherry picked from commit b070e63fa8)

# Conflicts:
#	sql/updates/auth/cata_classic/2024_05_27_00_hotfixes.sql
2024-06-20 01:07:04 +02:00
Meji 1334844ad8 Core/Quests: Fix case where source item provided isn't added to the bag (#29959)
(cherry picked from commit 65ef114879)
2024-06-20 01:02:48 +02:00
Shauren 236ed21e8d Core/Players: Use TeleportLocation for summon and recall locations
(cherry picked from commit b2d735114b)
2024-06-20 01:02:40 +02:00
Golrag 3619b6e6ff Core/Players: Extended world_safe_locs with transport guid - this allows teleporting to a different map directly to a transport and having graveyards on transports
(cherry picked from commit 27e23600bb)

# Conflicts:
#	sql/old/4.4.x/world/24021_2024_06_02/2024_05_25_08_world.sql
2024-06-20 01:02:30 +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
Shauren f88cb9b62e Core/Players: Defined all avg item level slots
(cherry picked from commit 3f85fa7470)

# Conflicts:
#	src/server/game/Entities/Item/Item.cpp
2024-06-20 00:52:40 +02:00
Ovahlord bc3afedbac Core/Quests: updated quest reward money calculation for 4.4.0 2024-06-16 17:45:31 +02:00
Ovahlord f5bdd03ae1 Core/Players: restore exploration experience handling
(cherry picked from commit 7131bb4ad1)
2024-06-15 04:05:43 +02:00
Ovahlord 3d8602276d Core/Quests: update quest_template fields to 4.4.0 2024-06-13 19:23:44 +02:00
Ovahlord 0d9df719ef Core/Player: dropped PvP talent implementation 2024-06-05 22:06:25 +02:00
Ovahlord 17079022d5 Core/Players: restore glyph slot initialization 2024-06-02 17:29:23 +02:00
Ovahlord 2b56ab5be5 Core/Packets: updated SMSG_UPDATE_TALENT_DATA packet structure for 4.4.0 2024-06-02 16:16:46 +02:00
Ovahlord 29ad3297ae nopch fix 2024-06-02 13:11:52 +02:00
Ovahlord 2e5565605b Core/Player: updated combat rating multiplier calculation to Cataclysm
* moved gametable column helper into its corresponding file
* updated combat ratings enum to match client names
2024-06-02 12:59:25 +02:00
Ovahlord a1f35b2653 Core/Player: removed more redundant item mod code 2024-06-02 01:30:45 +02:00
Ovahlord 710a0f2681 Core/Misc: fixed several item loading functions which had their field indexes changed after 57c36d758f 2024-06-01 20:20:15 +02:00
Ovahlord 57c36d758f Core/Items: implement reforging items 2024-06-01 19:32:24 +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
Ovahlord d3d1bbd354 buildfix 2024-05-28 18:40:20 +02:00