Commit Graph

38478 Commits

Author SHA1 Message Date
Shauren e2cda8ae4b Dynamic build fix 2022-02-09 14:29:29 +01:00
Meji 27cba3f523 Core/Scripts: Added script hook to execute actions after completing an achievement (#27718) 2022-02-08 23:23:05 +01:00
Shauren 8e2d1e328e Core/Spells: Pass cast item level to triggered spells
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
funjoker d3fc34a203 DB/Hotfixes: Update hotfixes to 42010 2022-02-08 18:56:56 +01:00
Shauren 5bf9a01648 Core/Conditions: Add missing null checks for PlayerCondition 2022-02-08 15:32:12 +01:00
Shauren 7efc3df815 Core/Conditions: Fixed PlayerCondition checking after std::arrayification of DB2Structures 2022-02-08 14:50:44 +01:00
Shauren 25b84e5e7b Core/Spells: Fixed TARGET_UNIT_TARGET_ALLY_OR_RAID targeting 2022-02-08 12:04:09 +01:00
Seyden 79c6054369 Core/Objects: Use player as summoner for personal clones (#27716)
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
ModoX 42428a0898 DB/Spawns: Added accidently deleted spawn of Captain Garrick
* was deleted in https://github.com/TrinityCore/TrinityCore/commit/c4fedd10ab2f5dba3eed57bdba0d6c46c67614a2
* originally added in https://github.com/TrinityCore/TrinityCore/commit/53429375c7dfee2e8e0bda09a7dba66c67d787f3
2022-02-07 22:49:21 +01:00
Seyden 66509502f4 Core/Spells: Implement CAST_FLAG_EX_IGNORE_COOLDOWN - causes spells to not automatically trigger cooldown clientside (#27717) 2022-02-07 21:25:27 +01:00
Aqua Deus d22d461633 Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS (#27715)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 20:53:32 +01:00
Aqua Deus 2ae67de4c0 Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA (#27714) 2022-02-07 20:08:55 +01:00
Teleqraph ef61f39018 Scripts/Spells: Fixed Art of War (#27712) 2022-02-07 20:00:51 +01:00
Aqua Deus 7192da410d Scripts/Spells: Fix mage Comet Storm (#27710) 2022-02-07 16:49:18 +01:00
Shauren db8280a0fb Core/Transports: Add missing null pointer check in Transport::SummonPassenger 2022-02-07 12:50:48 +01:00
Seyden 20af35fd13 Core/Creatures: Add summoned creatures to summoners transport (#27708) 2022-02-07 12:49:45 +01:00
Aqua Deus e64e6f4963 Scripts/Spells: Fixed Icefury talent proc and frost shock energize (#27699) 2022-02-07 12:41:41 +01:00
Aqua Deus d5bb799f27 Scripts/Spells: Fix shaman Undulation talent (#27695)
Co-authored-by: Modox <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 00:20:01 +01:00
Shauren a8cace4c70 Core/Spells: Do not register instant spells in Unit current spell containers when cast with TRIGGERED_IGNORE_CAST_IN_PROGRESS
This lets these spells be cast without interrupting the other spell that is currently being cast
Side effect of this change is that these instant spells cannot be interrupted
2022-02-06 21:59:41 +01:00
Meji fa3cba3a00 Core/BattlePets: Delete declined names of non-account battle pets when deleting character permanently (#27706) 2022-02-06 21:46:28 +01:00
Teleqraph f3e908dc99 Scripts/Spells: Fixed paladin's Light's Hammer (#27693)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-06 21:36:50 +01:00
Shauren 34024edcaa Core/Misc: Fixed clang pch build on some distros
Closes #27343
2022-02-06 19:04:53 +01:00
Antonio Martín Berti b5a67cf17d Core/Conditions: Implemented new condition type CONDITION_BATTLE_PET_COUNT to check how many copies of a battle pet are collected (#27689)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-06 18:57:19 +01:00
Teleqraph 3fa4c04919 Scripts/Spells: Implemented Ashen Hallow script (#27682) 2022-02-06 16:19:25 +01:00
Aqua Deus e5417e9ce7 Core/PacketIO: Implemented SMSG_DISPLAY_TOAST for quest money rewards (#27669) 2022-02-06 14:56:11 +01:00
Shauren 873e92d3b4 Core/DataStores: Fixed LiquidTypeEntry structure broken by incorrect regex replacement 2022-02-06 11:23:08 +01:00
Treeston 2aa9d9a67a Scripts/Commands: Correct some unexpected behavior in .level
(cherry picked from commit d2f51569d1)
2022-02-06 01:15:37 +01:00
SneakyV 6e01426e72 DB/Locales: Add some missing deDE quest locales
Closes #25459

(cherry picked from commit bf11c4acb5)
2022-02-06 01:15:24 +01:00
Cerveciento 9eb092db3c DB/Locales: Add missing esES & esMX quest locales (Part 35)
Closes #25458

(cherry picked from commit 6c2186563d)
2022-02-06 01:14:46 +01:00
offl 3724fa8fa8 DB/Quest: Rework support for 'Someone Else's Hard Work Pays Off'
(cherry picked from commit 8b60a69393)
2022-02-06 01:14:08 +01:00
offl 066c6c98a0 DB/Conditions: Make gossip options & texts visible if quest is taken or completed
Previously condition CONDITION_QUESTTAKEN (9) was used (checks if quest is taken but NOT completed) while Blizzard always checks only if quest is taken. As result player can see gossip options and texts even if quest is completed but not yet rewarded

Please use CONDITION_QUESTSTATE (47) with ConditionValue2 = 10 (taken or completed) in future to make gossip options or texts visible only if quest is taken

(cherry picked from commit 3f9ac8bad2)
2022-02-06 01:11:53 +01:00
offl 7d85f584a7 DB/Quest: Add outro event for 'The Fall of Ossirian'
(cherry picked from commit 29b119cf91)
2022-02-06 01:09:10 +01:00
Ovah f70161dcc5 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
(cherry picked from commit 0d152e932c)
2022-02-06 00:36:00 +01:00
Ovah c295cb9814 Core/Spells: cleaned up and improved spell focusing behavior (PR #25440)
(cherry picked from commit 39a436bd65)
2022-02-06 00:29:15 +01:00
ForesterDev 51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72)
2022-02-06 00:22:36 +01:00
Giacomo Pozzoni 6734a70aa8 Core/Warden: Attempt to fix random ingame Lua errors with Warden enabled
(cherry picked from commit cd1858b040)
2022-02-06 00:18:17 +01:00
HoustonCore f9b94ad9e9 DB/SAI: Add missing scripts to Borean Tundra creatures
Closes #25426

(cherry picked from commit 7f4bf293f3)
2022-02-06 00:18:03 +01:00
offl 9fc66c40ae DB/Quest: Update support for 'Fires Over Skettis'
Closes #21737

(cherry picked from commit 58395b6ac4)
2022-02-06 00:17:36 +01:00
jackpoz 8cbc21120f Core/Characters: Replace 2 database statements with 1
Replace DELETE + INSERT with REPLACE when updating realmcharacters table

(cherry picked from commit a33ff74d92)
2022-02-06 00:15:31 +01:00
jackpoz a439dab179 Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load"
Fixes #24517

(cherry picked from commit 69831d2a97)
2022-02-06 00:15:08 +01:00
Shauren 111a80bbbf Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them
(cherry picked from commit d704b89163)
2022-02-06 00:14:57 +01:00
Keader c42470ffb7 Core/Spells: Do not reset periodic timer for stacking DoTs on recast
(cherry picked from commit d7a78c1930)
2022-02-06 00:10:56 +01:00
Treeston 6ede274024 Core/ChatCommands: Fix an issue that caused trailing variant options to sometimes not be selected
(cherry picked from commit 14fa6c3a72)
2022-02-06 00:07:47 +01:00
jackpoz d1bea3e8b3 Core/LFG: Handle vote kick as failed if there cannot be 3 votes agreeing
i.e: 4 players, vote kick starts, 1 rejects, vote is considered as failed.

(cherry picked from commit f0f0de01fa)
2022-02-06 00:05:38 +01:00
offl 2b515f97a6 DB/Quest: Convert & update support for 'A Slow Death' to SAI
Closes #25399

Based on dr-j's script

(cherry picked from commit 29b39ae606)
2022-02-06 00:05:16 +01:00
offl 7090fe5c18 DB/Quest: Convert & update support for 'Escape from Firewing Point!' to SAI
Closes #25358

Based on dr-j's script

(cherry picked from commit 2ff8da2acd)
2022-02-05 23:48:27 +01:00
offl 196ff25a6b DB/Quest: Convert & update support for 'The Caverns of Time' to SAI
(cherry picked from commit d89c84263d)
2022-02-05 23:46:43 +01:00
offl bb468708e6 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239

(cherry picked from commit 8c303e4f97)
2022-02-05 23:45:58 +01:00
Treeston 378691aaa2 [3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443)
(cherry picked from commit 75f9e7396e)
2022-02-05 23:42:15 +01:00
Treeston 7d0586812a Core/Misc: Fix some static analysis warnings exposed after 6b8f3d0.
(cherry picked from commit 59be657ca2)
2022-02-05 23:05:14 +01:00