Commit Graph
39720 Commits
Author SHA1 Message Date
Artamedes 0b43b43566 Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter (#23761)
* Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter

* qq

* qq 2

* tryfix circleci build

* review suggestions

(cherry picked from commit 832c95fa4f3bb8897481b0c65975b14674bbf7ee)
2021-12-18 21:41:10 +01:00
Artamedes e4607725dd Scripts/Outland: Change auto to TempSummon* (#23764)
(cherry picked from commit 1b095811b82e7bf390e3a3e522e768fc2b42d2b0)
2021-12-18 21:37:15 +01:00
Artamedes 913f0903a3 Scripts/Outland: Fix npc_ancestral_wolf not starting waypoint (#23763)
* Scripts/Outlands: Fix npc_ancestral_wolf not starting waypoint, and also add a way to not follow owner automatically in CreatureAI::JustAppeared() for tempsummons

* fix nopch

(cherry picked from commit 0b3a9e2a2b2537e7224d103947ad6028c6d2e5fe)
2021-12-18 21:37:02 +01:00
Artamedes 00ba5df52b Core/Handlers: Handle CMSG_REQUEST_PET_INFO - this fixes when you /reload and the pet bar disappears (#23762)
(cherry picked from commit 6ebe1afeeccb847702c12e522bddaa7b5694dc38)
2021-12-18 21:35:41 +01:00
jackpoz 18d1f0c964 Core/Creature: Fix another pet assert
Fix an assert triggered when dismissing a Warlock pet while it's casting a spell

(cherry picked from commit 4074cb0f01d106c69546c3cb944d6fcf92ade456)
2021-12-18 21:32:51 +01:00
Killyana 13dfa97d71 DB/Creature: Professor Putricide
Updates #23727

(cherry picked from commit 6e2e55bc38e28c5868096ebb7c49d0ce8c0d5044)
2021-12-18 21:32:08 +01:00
Treeston 0bffed380d Scripts/ICC: Professor Putricide no longer tries to add threat on units it cannot add threat on because of immunity flags. Instead, its AI manually controls the engagement state. Should close #23727.
(cherry picked from commit 23fd193e4e489bb5f231653987e98ba24448832b)
2021-12-18 21:31:31 +01:00
AlιAѕѕaѕѕιN e1598fa1d6 [3.3.5] Fix spell_area not checking for zoneID for quests (#23719)
* Fix spell_area not checking for zoneID for quests

* Addendum to bdffe0a4a641414fe26c9b75b00f8e70ff0f1cb8

* Fix spell_area handle same spell with the same quests

Also fix not checking for quest_end at all.

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

* Better commenting for 7a50189de3104f000d8b31fa6c415bb69cf1a3e7

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

(cherry picked from commit 92d83c3c2eaba3f5b58dc98472318872f3a54706)
2021-12-18 21:31:17 +01:00
Keader 9d3dd3db84 nopch fix
(cherry picked from commit 10f6e3818578410246750c6fce53d189ad05bee4)
2021-12-18 21:18:56 +01:00
Keader f2e03dc9e5 Core/Scripts: Proper fix Gal'Darah Puncture remove
(cherry picked from commit cbc01f35b6b80c1069b2274a619c8f7a3ff730c7)
2021-12-18 21:18:44 +01:00
Keader b7503b6c76 Fix nopch build
(cherry picked from commit 1886507e7f91249a335978e2fa1a859e93d56ffa)
2021-12-18 21:16:51 +01:00
Keader 2d0d0a3e58 Scripts/Gundrak: Fixed Puncture when Gal'darah die
(cherry picked from commit 130a3859ecdcb0ad9eba180641b2e4ffbca83613)
2021-12-18 21:16:40 +01:00
Keader 7c2665bdca Scripts/Gundrak: Added a missing entry in Gal Darah Stampede Charge script
Noob Keader, Shame !

(cherry picked from commit 61ad87d1069a1ed44f7ae50f3c0646102b3ccb9a)
2021-12-18 21:15:40 +01:00
Sorikoff 374db51bae Scripts/Spells: Code style adjustments for druid scripts (#23725)
(cherry picked from commit 63bbf4a4bee03a3ca5e73eafcef4976c76d86f5d)
2021-12-18 21:14:53 +01:00
Sorikoff 568e60ef51 Scripts/Spells: Port druid scripts to new script registration syntax (2 of 3) (#23696)
* Scripts/Spells: Port Druid Scripts to New Script Registration

* Revert

* Revert 2

* Revert 3

* Revert 4

(cherry picked from commit 9a8a01925ae0a02f565fb317a2786e82b20cc298)
2021-12-18 21:11:58 +01:00
Shauren a995e5fda4 Tools/Misc: Document strange array access indexing
Closes #23723

(cherry picked from commit aa0d468e04311ace1e6e5117b4a339c50b636367)
2021-12-18 21:00:21 +01:00
jackpoz 6989141e71 Core/Misc: Fix linux build
(cherry picked from commit c4cce31a13b2e98538f015ecf289856c73f13037)
2021-12-18 20:58:07 +01:00
jackpoz bea0e48531 Core/MMaps: Fix mobs evading when target is out of MMap meshes
Fix mobs evading when target is out of MMap meshes causes by an overzealous check added in c602220e02bed1ad76c9e60064eeec5fd97bfe80 when trying to fix an infinite loop in Recast.
If the target is outside of the MMap mesh (for example very close to a wall which is an un-walkable area with current TrinityCore settings and that might be changed in the future) Detour will not be able to find the height of the poly and getPolyHeight() will return DT_FAILURE | DT_INVALID_PARAM . Most of the time this is ok and can be ignored and it's still better than having the Unit evade.
Fix #23613

(cherry picked from commit 5a980226497605b18f1855fa39f340c10ee9dd53)
2021-12-18 20:57:57 +01:00
Shauren 8f3904f8fd Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
(cherry picked from commit 3a4216fd979eb2a7667b0861a770e9af4f242eab)
2021-12-18 20:57:38 +01:00
Killyana 6e4a578cb0 DB/Creature: Olrun the Battlecaller
Closes #23720

(cherry picked from commit 6e64cea69c94a74142b45aea53f589dcad57b5d8)
2021-12-18 20:45:13 +01:00
Keader 47659e219a Core/Spells: Fixed some issues with Drain Soul
Issue 1: Drain soul was always negative, but effect2 need be positive.
Issue 2: Drain soul was interrupted if someone in your group die. Caused by negative effects proccing in creature.
Issue 3: Since effect2 is positive, it was down-ranking in low level targets and should never happens (fixed before by ariel, transforming everything in negative in 2c8a6fb771a42169a1817149ab0a2a19912ebea7 but it's wrong)

(cherry picked from commit 43c08b176115505b76c027667047f9a5bfcc4e11)
2021-12-18 20:43:05 +01:00
Sorikoff 6cf301d4f6 Scripts/Spells: Port druid scripts to new script registration syntax (3 of 3) (#23714)
(cherry picked from commit f7793e78000389315d53b22fb4e117d512c5a4d6)
2021-12-18 20:42:13 +01:00
Keader 24281a5323 Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID (#23710)
Ty sirikfoll for all help :)

(cherry picked from commit 95284b23d1e48883fe738ecf5a12c4253566894e)
2021-12-18 20:32:42 +01:00
Treeston 97bf9278a8 Entities/Creature: Fix an edge case assertion failure with pets dying in specific situations while casting spells.
(cherry picked from commit 6590a0bfcefe7b8e5f87c82ba5ab4df2c72be418)
2021-12-18 20:31:57 +01:00
Aokromes fc7ea18039 Core/Spells: Survey Sinkholes will now have a bigger range to be able…
… to hit all trigger npcs

By Ovahlord

(cherry picked from commit 028db8432eb220de198123871741fd8c36c52ebe)
2021-12-18 20:31:45 +01:00
Treeston e0e1978b08 Entities/Player: ReacquireSpellFocusTarget is now private. It should've been private all along.
(cherry picked from commit 1c2b1cbba82fcd523ccd0cceafe532f35d71dcc1)
2021-12-18 20:29:29 +01:00
Treeston 4b588694ca Core/Creature: Fix an issue that sometimes prevented spellcast focus targets from being reacquired.
(cherry picked from commit fcce90508d899641494d7c281a0e08e411a0d5ab)
2021-12-18 20:29:05 +01:00
Shauren c5244d4e66 Core/Bnetserver: Added --update-databases-only console argument to bnetserver 2021-12-18 20:26:44 +01:00
Treeston 0b61c3b7b1 [3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)
- Proper management commands (.account 2fa)
- Secrets can now be encrypted (set TOTPTokenSecret in .conf)
- Secret now stored in binary
- Argon2 and AES primitives
- Base32/64 support

(cherry picked from commit 4211645834c467a03c60248e80818d3607be9ea7)
2021-12-18 20:24:50 +01:00
Keader 92e92e818b DB/Spells: Fixed Prayer of Mending proc with AOE Spells
Fix proc with spells like: Professor Putricide AOE Abomination damage, Sindragosa Frost Damage, Blood Queen Damage.

(cherry picked from commit 3d356b97d4cc4c7ec4c641487241eae6dcc0558e)
2021-12-18 19:19:42 +01:00
Treeston f434241305 Core/Channels: Fix a bug that would cause channel settings to disappear in certain settings. Fix a bug that would cause channels to not be saved on .server shutdown without delay. Closes #23699.
(cherry picked from commit 464b0b059b5ccb7db6d2f282937711032005b5c3)
2021-12-18 19:16:47 +01:00
Sorikoff 66f5275d26 Scripts/Spells: Runic Healing Injector (#23690)
* Scripts/Spells: Runic Healing Injector

* Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql

(cherry picked from commit 382f563571d39f9ec02a0df899dbdaaf1745af83)
2021-12-18 19:15:11 +01:00
Sorikoff 26f0c1182a Scripts/Spells: Port Part of Druid Scripts to New Script Registration (#23691)
(cherry picked from commit 996d4f7cc49041d57ab6152961dd645784b909a7)
2021-12-18 19:11:34 +01:00
Treeston 7704d8fc7a Scripts/Commands: Add .go boss, and do a usability pass over .go instance to match it.
(cherry picked from commit 57b36dfdc6b077cc4eba29406e3ded4dbf9f8ce6)
2021-12-18 16:13:24 +01:00
Treeston c7e7c52c1a Scripts/Commands: Cleanup some output from .go instance
(cherry picked from commit 4320a021e93423122745684e2689aa1a7028f8b4)
2021-12-18 16:00:20 +01:00
Killyana e6f3abcfa8 DB/Creature: Vanguard Tower Dummy
(cherry picked from commit f4ea3993cec2ee942420d760db8f46e95fdc5cfb)
2021-12-18 15:55:51 +01:00
Killyana 53bc592365 DB/Creature: Battlescarred Frostworg
(cherry picked from commit 195655dc8e77c46be8ac653f8487107dbb7d3c4f)
2021-12-18 15:54:44 +01:00
Killyana d60f5c3c65 DB/Creature: Frostworg and Son of Hodir
(cherry picked from commit f9db6cfe01f8f610186d241930f3318565adb1e7)
2021-12-18 15:53:41 +01:00
Killyana 83dee918ba DB/Quest: Polishing the Helm
(cherry picked from commit b2554c0944ec84b0a4da511b8826510c33ed0f2d)
2021-12-18 15:52:17 +01:00
Treeston dcf9854e6a coverity
(cherry picked from commit 268384d2af505964a422552f5684a502d6814194)
2021-12-18 15:49:44 +01:00
Treeston a8ceed265a typo fix in comment
(cherry picked from commit 4fcb322010edb6a80fa08e633ce331f80410f301)
2021-12-18 15:47:18 +01:00
Wyrserth b2d1240ca3 DB/Quest: fix more quest chaining in Icecrown. Thanks PolarCookie for the initial work.
Closes #22338.

(cherry picked from commit ca69f16c4593d09055104845cb101b5623671893)
2021-12-18 15:47:07 +01:00
Killyana c013571b76 DB/Creature: ELM General Purpose Bunny Hide Body (Phase I)
(cherry picked from commit 6869dbf1c1f61178d6e252576519931e77678d7d)
2021-12-18 15:46:34 +01:00
Killyana 5d5679bf15 DB/Creature: Proto-Drake Corpse, Dead Drakerider & Dead Warbear
(cherry picked from commit 1d69f04c02645915089730c9afd79ce371d37ed5)
2021-12-18 15:45:22 +01:00
Wyrserth 98d2659fbd DB/Quest: fix chaining for some Alliance Icecrown quests.
Closes #15992.

(cherry picked from commit 3f638484ab1eac26e34db54aac457291746795c6)
2021-12-18 15:43:36 +01:00
Killyana c0ec1e05e2 DB/Creature: Anub'ar Darter
(cherry picked from commit 31e607e2b783664c3e19fa921afab856bc47199a)
2021-12-18 15:42:11 +01:00
Killyana e80f803e3d DB/Misc: Spirit Healers in Death Knight starting area
Update Spirit Healers with the correct entry, position, auras and movements
Fix Olrun the Battlecaller waypoint high
Fix Val'kyr Battle-maiden movements

(cherry picked from commit 7392bd360f6dbc5258169fe15b87428576a6cd93)
2021-12-18 15:40:47 +01:00
ccrs 31bf529667 Core/Creature: 4a219ed codestyle followup, for real this time
(cherry picked from commit 30f4aabf64897f11f212ea67a3192206fe97f7b0)
2021-12-18 15:39:58 +01:00
Killyana fee0b64cca DB/Creature: Scarlet Lord Jesseriah McCree
(cherry picked from commit edd329612bc478907cb3c8f1246b69e249dc4a0e)
2021-12-18 15:38:04 +01:00
Sorikoff cd0fb6edbf Scripts/Blackrock Depths: Use DB Texts for Doom'rel (#23681)
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel

* Quick Fix

(cherry picked from commit 33807a065a24410cb3daf17cea6eb31af408c4e8)
2021-12-18 15:36:00 +01:00