Commit Graph

2916 Commits

Author SHA1 Message Date
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
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