Commit Graph
2226 Commits
Author SHA1 Message Date
ariel- feb8205d6a Core/Globals: some changes in quest loading
- Made load/reload associated quest tables data-driven, so removed a bunch of similar looking code from ObjectMgr (yay!)
- Codestyle and encapsulation for ExclusiveQuestGroups

(cherry picked from commit 076293f1f269b8f681c97f23872915bdfeccef1d)
2020-04-24 17:18:48 +02:00
ariel- 4472a3cbf3 Core/Globals: Fix Quest codestyle and member variable initialization
(cherry picked from commit 09701b0229f84e3c0b014f6a161f945f3d226d8b)
2020-04-24 17:18:48 +02:00
ariel- a098b454b8 Core/Entities: virtualize CheckAttackFitToAuraRequirement
- Should've been like this to begin with

(cherry picked from commit 21d95a1d767c95910d4508e0e83f34b4f89f587a)
2020-04-24 17:18:47 +02:00
ariel- ebc06b1d04 Core/Auras: reworked multiplicative AuraEffects calculation
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling
- Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter
- Fixes many cases of rounding error due to applying/unapplying of small factors
- Allows amounts to be zeroed (ie with an AuraEffect of amount -100)
- Do a partial revert of 6dc37a9add631888fe5fbcd43d19c2b07bed8a57, auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd)
- SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs)

Closes #18687

(cherry picked from commit c69a7d1223b2ce108a221e5cc70f76cd80ae6675)
2020-04-24 17:18:47 +02:00
Shauren bbfbb7d4bf Core/PacketIO: Implement building SMSG_UPDATE_OBJECT only for selected fields and use that to fix quest objects not glowing after accepting quests 2020-04-23 20:22:53 +02:00
Shauren aced88b09b Core/AuctionHouse: After taking a break at the start of patch 8.3 auction house is now back in business. 2020-04-20 20:36:24 +02:00
Shauren b702401978 Core/Items: Check required level to use items including any bonuses that modify it 2020-04-19 01:18:17 +02:00
Shauren 01c68b2aa2 Core/Player: Wait for correct transaction on character creation 2020-04-15 12:30:06 +02:00
Shauren b8966561e3 Add missed change 2020-04-14 23:50:09 +02:00
Shauren 676eb6d77f Core/Entities: ObjectGuid improvements
* Support creation of all guid types
* Change ToString to output client compatible text (fixes calendar and auction mails)
* Fix saving and loading item soulbound trade allowed traders
* constexpr EnumClassFlag
2020-04-12 17:50:33 +02:00
Shauren 3cc50e69f1 Core/Players: Fixed racemasks usage for new races 2020-03-30 19:06:11 +02:00
Shauren 0913858328 Core/Players: Fixed initial cinematic camera getting stuck
Closes #24258
2020-03-27 21:44:19 +01:00
Shauren f30e06db8a Core/Misc: Fixed animation issues after 8.3.0
Closes #24222
2020-03-10 18:43:34 +01:00
Ovah 5860e128d6 Core/Players: re-organize SetSkill method to handle initialized skills correctly (#24116) 2020-02-21 19:09:05 +01:00
Shauren 90628b7d29 Core/DataStores: Updated db2 structures to 8.3.0 2020-02-17 23:58:47 +01:00
Shauren 38cc011af0 Core/PacketIO: Properly destroy objects clientside when removing from world 2020-02-09 17:47:25 +01:00
Shauren 93aa30f447 Core/Misc: Moved CanSpeak() method to WorldSession class 2020-02-07 20:11:27 +01:00
Ovah 9aa5f625a6 Core/Players: Fix reusing skill slots when re-learning a skill (#24052) 2020-01-28 20:54:20 +01:00
Shauren 4746331f49 Core/Misc: Removed references to item_template in logs 2020-01-25 14:15:20 +01:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren d934824421 Core/Items: Implement azerite empowered items 2019-12-05 00:12:35 +01:00
Shauren d02f3ca7ca Core/Items: Changed how azerite item bonuses are applied at login to avoid applying them twice 2019-12-03 00:40:04 +01:00
Shauren 459fe6109d Build fix 2019-12-02 20:21:59 +01:00
Shauren f8cb710c7e Core/Items: Fixed deleting items from db leaving orphaned transmog/artifact/modifier data when deleted from outside of player item update queue 2019-12-02 18:44:51 +01:00
Shauren 1238583312 Core/Spells: Fixed value of aura effects for stat mod auras applied by items 2019-11-30 12:11:29 +01:00
Shauren 96575e33bb Core/Items: Add location filters to Player::GetItemByEntry 2019-11-29 00:10:29 +01:00
Shauren e718440599 Core/Items: Disable legion artifacts except fishing artifact 2019-11-24 13:50:57 +01:00
Shauren 0a2d9ad2f7 Core/Items: Add ItemContext param to Item::Create function 2019-11-23 00:03:42 +01:00
Shauren ec9d624aec Core/Items: Implement azerite essences
* Implement inspecting heart of azeroth data
* Fixed heart of azeroth item level - bonuses now apply
2019-11-22 11:02:04 +01:00
Shauren ef3485e6fc Core/Items: Refactor loading additional item data (artifacts/azerite) 2019-11-19 14:37:05 +01:00
Shauren aa8ad4d2fd Core/Achievements: Implement many new ModifierTree types 2019-11-15 23:25:01 +01:00
Shauren fd4e368054 Core/Misc: Mark some quest functions const 2019-11-13 13:32:55 +01:00
Shauren ab6ae44b63 Core/Items: Implemented AzeriteItem 2019-11-12 00:28:59 +01:00
Shauren 9ea577da13 Core/RaF: Remove level granting (new RaF doesn't support this) 2019-11-03 14:25:39 +01:00
Shauren 12e17a586e Core/Currency: Implement currency to reputation conversion 2019-11-03 13:17:35 +01:00
Shauren 3ac790287a Core/DataStores: Updated db2 structures to 8.2.5 2019-10-27 00:12:45 +02:00
Shauren ee2e49429f Core/PacketIO: Update opcodes and packet structures to 8.2.5 2019-10-27 00:12:41 +02:00
Shauren 8e98ceb293 Core/Movement: Implemented movement forces 2019-09-07 16:58:58 +02:00
Lopfest 7d2cbd4e7c Core/Quests: Implement new logic for selecting spell casters for accept/reward spells based on quest flags (#21316) 2019-08-30 19:36:10 +02:00
xinef1 60663d1374 Ensure that all actions are compared to fixed point in time (ie. world update start) (#18910)
- Actions will not be dependent on processing moment
- Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999)
- Created GameTime namespace and UpdateTime class and moved there some code out of world

(cherrypicked from 7567cafec84080d26ea513242a1f540a823b8f9d)
2019-08-17 20:04:14 +02:00
xinef1 98180ecdc1 Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken (#19101)
(cherrypicked from 7011aabb56f061fc889ec42ce32b7605ceb35b53)
2019-08-17 20:04:14 +02:00
xinef1 825719c25c Remove auras interrupted by falling when we fall to the ground or water (#19115)
(cherrypicked from 9b284ab329b55b0c41f47d171573780205a3a81a)
2019-08-17 20:04:14 +02:00
ariel- 07d43783f6 Core/Conditions: CONDITION_SOURCE_TYPE_QUEST_ACCEPT should not prevent completed question mark from showing (#18151 follow up)
Closes #19188

(cherrypicked from 6c9bda6093ce7500e824a0409694a92fe49add6b)
2019-08-17 20:04:14 +02:00
ariel- 5da9f724c3 Core/Entities: Fix null-dereference crash
Closes #19191

(cherrypicked from d61e0f79c40681ce7675e878e0ec0bdc2294527f)
2019-08-17 20:04:14 +02:00
ariel- 420f2e8ec2 Core/Spells: refactor spell_enchant_proc_data table
- Renamed fields to mimic those in spell_proc
- Added Enchant proc attributes for controlling specific enchant features

Ref #7789

(cherrypicked from f609e7a08b3b4d2d9642e5ec252e1eedad836f0f)
2019-08-17 20:04:14 +02:00
ariel- 5f70be050f Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60
Closes #15734

(cherrypicked from eac9c1f0b992fd3622fd7dd864b2acc2781ec778)
2019-08-17 20:04:14 +02:00
xinef1 4380fe2751 Properly stop attacking after player leaves ffa area (like Gurubashi Arena) (#18952)
(cherrypicked from 4eae29d421e1d7a28aaa50d401cbbf09c50bd476)
2019-08-17 20:04:14 +02:00
KobeSagami 7d60b9a289 Core/Misc: Minor change to racial wisp handling to make custom easier (or so i heard) (#22954) 2019-08-17 17:07:16 +02:00
funjoker 245b6db202 Core/Loot: Fix setting UNIT_FLAG_LOOTING (PR #23666) 2019-08-01 21:52:13 +02:00
Shauren 13440434c3 Core/DBLayer: Prevent mixing databases with query holders 2019-07-27 11:45:56 +02:00