Commit Graph

2932 Commits

Author SHA1 Message Date
Meji fa5ba78385 Core/Quests: Don't send SMSG_QUEST_GIVER_QUEST_COMPLETE for tracking quests (#30348)
(cherry picked from commit 57f297b4e7)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2024-10-17 21:42:53 +02:00
Ovahlord 81f612369a Core/Player: updated block percent value for Cataclysm 2024-10-09 18:33:18 +02:00
Shauren dfd224931a Core/DataStores: Removed overriding field sign type based on db2 column compression
(cherry picked from commit 89f490bdcd)

# Conflicts:
#	sql/updates/auth/cata_classic/2024_09_27_00_hotfixes.sql
#	src/server/game/Achievements/CriteriaHandler.cpp
#	src/server/game/DataStores/DB2LoadInfo.h
#	src/server/game/DataStores/DB2Stores.cpp
#	src/server/game/DataStores/DB2Stores.h
#	src/server/game/DataStores/DB2Structure.h
#	src/server/game/DataStores/DBCEnums.h
#	src/server/game/Entities/Item/AzeriteItem/AzeriteEmpoweredItem.cpp
#	src/server/game/Entities/Item/ItemBonusMgr.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Spells/TraitMgr.cpp
2024-09-30 21:37:07 +02:00
funjoker 6aa1c72b3b Core/Spells: Fix PCT spell mod calculation
in Cataclysm PCT bonus damage is additive
2024-09-26 10:36:53 +02:00
funjoker a80d7937bd Core/PacketIO: Fix SMSG_SET_PCT_SPELL_MODIFIER 2024-09-22 22:59:14 +02:00
Shauren 992f1851e2 Core/Spells: Protect against stack overflows in spell override handling
(cherry picked from commit 723e638a84)
2024-09-22 13:47:53 +02:00
Shauren 918fb8b856 Core/Spells: Fix startup crash 2024-09-22 13:11:01 +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
Ovahlord 008dd1edb0 Core/Quest: fixed retrieving quest objective flags
Closes #30166
2024-09-07 14:28:10 +02:00
Shauren 27c9af1a5e Core/Players: Fixed nested spell overrides (priest Mind Spike)
(cherry picked from commit cdca59ca4d)
2024-09-03 19:54:50 +02:00
Ovahlord 7704c0cc5a Core/Misc: dropped unused Traits implementation 2024-09-01 20:49:45 +02:00
Ovahlord 5347466b95 fixed unused parameter warning that slipped past msvc compilers 2024-09-01 19:45:23 +02:00
Ovahlord 01260b0007 buildfix 2024-09-01 19:10:39 +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
Ovahlord ef5627c2ce Core/Player: updated hit chances for players and handle their according UI modifier update fields 2024-08-31 20:19:48 +02:00
Shauren 7627085c1b Core/Client Builds: Move build info out of RealmList class
(cherry picked from commit 82031dc720)
2024-08-30 17:35:13 +02:00
Shauren ab0d7ac8f3 Core/Players: Fixed spells being unintentionally removed by talent swaps when they are learned from more than one spell (affects balance druid Celesial Alignment and Incarnation)
(cherry picked from commit 2c6ddcce3d)

# Conflicts:
#	src/server/game/Spells/SpellMgr.cpp
2024-08-27 17:22:18 +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
Ovahlord 3b9845ee44 Core/Config: implemented a config setting for rated battleground conquest rewards 2024-08-26 22:31:30 +02:00
Ovahlord 0d5264be3e Core/Player: updated currency constants and fixed sending random battleground rewards in RequestPvPRewardsResponse 2024-08-26 22:13:05 +02:00
Ghaster 7e831374cb Core/Players: Fix SPELLMOD_PCT on login (#30179)
(cherry picked from commit 6904dfc20b)
2024-08-22 23:47:29 +02:00
Ovahlord 926fda01d8 Core/Quests: fixed max level quest money rewards and calculate them during runtime instead of using dumped DB values
* this fixes an exploit that was allowing players that have capped their level via npc to obtain higher max level money rewards if the quest info came from a sniff that was done with a max level character
2024-08-22 16:28:26 +02:00
Ovahlord d637504785 fix build 2024-08-22 02:18:21 +02:00
Ovahlord 8cc912de6a Core/Items: fixed applying resistances and armor from items 2024-08-21 19:44:02 +02:00
Ovahlord b0e058e261 Core/Player: restore crit chance bonus from intellect
* implemented SPELL_AURA_MOD_SPELL_CRIT_CHANCE_SCHOOL
2024-08-21 14:55:19 +02:00
Ovahlord 7ed0d6f228 Core/Player: no longer use the sOctClassCombatRatingScalar game table to calculate rating bonus multipliers to match current live server's values
* this is a 'blizzlike' bug that is causing mastery rating from items to be 25% stronger than it should be
2024-08-19 04:31:55 +02:00
Ovahlord bd366706b7 Core/Player: dropped unused combat rating diminishing 2024-08-19 03:12:39 +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
Shauren 0c98004896 Core/Players: Use PlayerData::VirtualPlayerRealm instead of global GetVirtualRealmAddress() where possible
(cherry picked from commit 88fea990ff)
2024-08-18 20:30:26 +02:00
Ovahlord f76f20c7fc Core/DataStores: named and assigned missing combat rating fields in CombatRatings game table 2024-08-18 18:45:18 +02:00
Ovahlord b98db4beea Core/Spells: restored old mastery handling 2024-08-18 18:23:24 +02:00
Ovahlord a443eb5c29 buildfix 2024-08-09 12:19:28 +02:00
Ovahlord ec0c06201e Core/Quests: kill QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM implementation and restore regular quest item loot behavior
closes #30145
2024-08-04 19:43:23 +02:00
Ovahlord ec96bb9d4c Core/Player: use the correct flat modifier type to assign item mod stat bonuses 2024-08-04 13:12:52 +02:00
Ovahlord 46fbab3f42 Core/Player: fixed initializing base hp 2024-08-03 19:04:43 +02:00
Ovahlord 8a3a46050c Core/Packets: enabled and added packet class for SMSG_REQUEST_PVP_REWARDS_RESPONSE 2024-07-31 17:38:39 +02:00
Ovahlord d5bcf9995d Core/Items: added accessors to get db2 min and max weapon damage 2024-07-29 03:14:19 +02:00
Ovahlord 650be9f592 Core/Player: wiped remaining traces of SpecializationInfo 2024-07-29 02:12:51 +02:00
Ovahlord cdc5710ba1 Core/Quests: restore rewarding talent points from quests 2024-07-28 20:33:34 +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 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