Commit Graph
36490 Commits
Author SHA1 Message Date
Wyrserth c2bd525988 DB/SAI: script on-low-health behavior for Darkweb Recluse in Drak'Tharon Keep
Closes #23478

(cherry picked from commit 34eb88e41f8889ada64024ff3641653f74a6cc8a)
2021-12-12 01:55:17 +01:00
Wyrserth 32a38e4c1d DB/SAI: fix event for the quest Ending the Bloodcurse
Closes #23477

(cherry picked from commit 9b0b7a28599b4aefac3ea35b9b14f1ee704eed6c)
2021-12-12 01:54:41 +01:00
Wyrserth 7a9949aad1 DB/Conditions: Lurielle's Pendant should require target to be at 30% health or below
Closes #23476

(cherry picked from commit 69d03e3864b7a77acfa480d8ffdd1f28a94512c6)
2021-12-12 01:54:03 +01:00
Wyrserth 131f4fa374 DB/PageText: fix wrong characters in Archavon's Log's first page
Closes #23475

(cherry picked from commit a8c3c02ba7f1f3bd607b55b2b4d07afc4dd3872d)
2021-12-12 01:53:35 +01:00
Wyrserth 42a0e41603 DB/SAI: fix on-accept event for quest Help for Camp Winterhoof
Closes #23474

(cherry picked from commit e298dca20ff27b2c8dbed475a84b24ee690fc36b)
2021-12-12 01:31:55 +01:00
Wyrserth eeec556f87 DB/Quest: fix breadcrumbs for quest Spirits of the Ice
Closes #23473

(cherry picked from commit d740b38a32722d99f20b546de899c83b68f6d816)
2021-12-12 01:31:19 +01:00
Wyrserth 3a8a1b7929 DB/SAI: Add spell Hoof Strike to Highland Mustang, Frosthorn Ram and Onslaught Destrier
Closes #23472

(cherry picked from commit bfd952bd9fd5fdd5abdd0a4bf4840a9b2af677c2)
2021-12-12 01:30:35 +01:00
Wyrserth d71bb3c525 DB/Quest: Add missing request-items text for The Yeti Next Door and Mastery Of The Charge
Closes #23471

(cherry picked from commit 1efdca0291ea2187e7a576ead47fe238334ec82f)
2021-12-12 01:29:18 +01:00
Wyrserth 241d635c03 DB/Creature: prevent NPC Geezle from being attackable
Closes #23470

(cherry picked from commit 976bc1149969b85697e9d54b852f9b557abbdc5d)
2021-12-12 01:27:04 +01:00
Killyana bec268a235 DB/Creature: Bonechewer Riding Wolf
(cherry picked from commit 6a4c381e865966dcc29b0e457af412883463a002)
2021-12-12 01:27:04 +01:00
Treeston e398bb1664 AI/SmartAI: Move SMART_EVENT_RESPAWN invocation from ::InitializeAI() to ::JustAppeared(). Closes #23313.
(cherry picked from commit 37fc38b91701c3e699b20f3ed8de8da3b5c42063)
2021-12-12 01:27:04 +01:00
Treeston 9f7d3ebd6a Core/AI: Remove EnterEvadeMode calls from Guardian/Summon spell handlers. Add follow logic to CreatureAI::JustAppeared. Closes #23270.
(cherry picked from commit 8499434340919902b5aefe58f812c3f24d37310d)
2021-12-12 01:27:04 +01:00
Treeston f9b8fe686d Entities/Unit: Adjust an overzealous assert to not catch self references, and add the inverse assert too. 396f87c follow-up.
(cherry picked from commit aeed616c22868e2c5759c01d2c0feb52a7c3bc97)
2021-12-12 01:27:04 +01:00
Treeston d10554da14 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application. Closes #23440.
(cherry picked from commit f4b06fd0b7ead843bba8f5215a09abf7976e012c)
2021-12-12 01:27:04 +01:00
Treeston edc7583119 Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers.
(cherry picked from commit 396f87c30dff1b50f1eb0d924778a7fbab7e8d11)
2021-12-12 01:26:41 +01:00
Treeston 06823f19cd Core/Misc: Add static versions of GetGUID and ToX methods to Object. The static versions return Empty/nullptr for null objects.
(cherry picked from commit b3ee407707db01a5bc49f544a56b1db381687f65)
2021-12-12 00:46:03 +01:00
Treeston f29644efd5 some more cleanup, a5f8c0d follow-up
(cherry picked from commit 00728cef1565a78b39541fbaea5923dcfc243743)
2021-12-12 00:33:36 +01:00
Treeston e3411b4740 Core/Creature: Attach out-of-combat health regen to the Engaged system, not the Combat flag. Closes #21571.
(cherry picked from commit a5f8c0d30ca8793a0d1f97a16ab0e0a9f066dab4)
2021-12-12 00:33:23 +01:00
Treeston dabdad3b47 Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers
(cherry picked from commit 632a300dd20aad9663392c2f21a8ed29ffee1ef7)
2021-12-12 00:33:18 +01:00
Treeston 35e55f1089 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). Fixes #17981.
(cherry picked from commit dbe3bbefe734f8824e8f07c302e256f0d446b974)
2021-12-12 00:31:15 +01:00
jackpoz dd22c6fe67 Core/Misc: Code cleanup
(cherry picked from commit eeced9ae158640de67ed0cb59d01ae92570bfa77)
2021-12-11 23:20:05 +01:00
zartech22 1c3c59d7fa Core/Instance : Fix instance resetting exploit (#23263)
* Push offline players out of instance

Push offline players out of instance when reseting dungeon with a raid mode group

* Add SQL request to character

Add a SQL request to update the position of a player in a specified map

* Teleport to graveyard instead

(cherry picked from commit 678e0e606aa38e18fd361c33bc91833fdae76735)
2021-12-11 23:12:27 +01:00
Sorikoff 799fba7fd1 Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind (#23463)
* Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind

* Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind"

This reverts commit a8055960

* Revert "Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind""

This reverts commit a5be792b

* Fix NoPCH

* Clean up

* Clean up

* fixup! Clean up

* Caster -> Target

* Rename 9999_99_99_99_world.sql to 2019_06_22_01_world.sql

(cherry picked from commit ac7c72d63392cc246d2cd4ab64f558f2bf0970bf)
2021-12-11 23:01:46 +01:00
Sorikoff aa407adf3e Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster (#23456)
* Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster

* Fix NoPCH

* Correct header

* fixup! Clean up

* Rename 9999_99_99_99_world.sql to 2019_06_22_00_world.sql

(cherry picked from commit 40b09e3df144304562a63f33d16e25bbde5079fd)
2021-12-11 22:58:16 +01:00
Wyrserth b709ea9a8d Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts (#23459)
* Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts.

* Kill evil spaces.

* Rename 9999_99_99_99_auth.sql to 2019_06_21_00_auth.sql

* Update auth_database.sql

(cherry picked from commit 8163ea60c8d517ebe3a88f595dd8291df8338811)
2021-12-11 22:47:08 +01:00
Sorikoff 8fc52bc5e5 Scripts/Spells: Migrate Teleporting to Script (#23458)
* Scripts/Spells: Migrate Teleporting to Script

* Rename 9999_99_99_99_world.sql to 2019_06_21_02_world.sql

(cherry picked from commit e9d803ccee2fb5d229babbf6c2c4a17b1986edb0)
2021-12-11 22:28:55 +01:00
Shauren 4595e63dd7 Core/Spells: Deleted old script (partial port of a4cd4d8b872bcbd9e28e9ae76f5220b30494a996) 2021-12-11 21:40:30 +01:00
Wyrserth a04d8fc71a DB/Loot: Fix Mighty Protection Potion recipes drop chances
Closes #23461

(cherry picked from commit fc92bd358c83ce0ea6f7c41e124641f41e91858c)
2021-12-11 21:38:29 +01:00
Keader ba606753bd Scripts/Icecrown Citadel: Fixed some bugs on Blood Orb object and trash mobs around him
Followup: 394b119664bc16dc5376f1404925b6d0b5a26876
(cherry picked from commit 3b0743ea67687937a1e6ba75ae9ef5e7fb996355)
(cherry picked from commit f9a366628a17263852634a1095edcdb79a8b383e)
2021-12-11 21:37:53 +01:00
Killyana 5979afd778 DB/Creature: Fix Ick boss Boss Whisper text
(cherry picked from commit 1445b5aa116e0f64880812f44029fc83d27f3f4f)
2021-12-11 21:35:15 +01:00
Killyana 2aca19a079 DB/Quest: "Where Kings Walk" and "Warchief's Blessing"
The script was deleted by https://github.com/Aokromes/TrinityCore/commit/5f928f79490b1d73c32ea962c3c720bd16833010 But it wasn't done properly via the spell_area anyway

(cherry picked from commit 8d6295559d72e4d17bce3c03f56f2a8f67c5109d)
2021-12-11 21:34:48 +01:00
Killyana 0993b491dd DB/Quest: A Visit With The Ancestors
Closes #23284

(cherry picked from commit a3dec9068bda1a3145e526eaa69c1e38fa3f2fe3)
2021-12-11 16:32:05 +01:00
Killyana cf6b2586d8 DB/Loot: Remove wrong loot from Dusty Journal
(cherry picked from commit 872d6a015be41699af237ef9eadeede175214c58)
2021-12-11 16:24:27 +01:00
Wyrserth 07dcb28f80 Spell/Fishing: ensure that the fishing bobber expires when the Fishing channeling ends, and don't allow fish to be hooked in the instant the spell is cast. (#23448)
(cherry picked from commit 9083fc149d61f9f2ee8fe760ece4392b1e8b181e)
2021-12-11 16:18:57 +01:00
Wyrserth bfef73b510 Core/Loot: don't allow to regenerate chest loot inside instances and raids. (#23449)
(cherry picked from commit 4320cd7d375927f1008824d6ddf8cc7d212d4ed2)
2021-12-11 16:18:41 +01:00
Wyrserth 20082ac65a DB/SAI: Add out-of-combat texts to Overlord Bor'gorok
Closes #23445

(cherry picked from commit 276292521572a2ac028068cb0124c6628f26f3ff)
2021-12-11 16:18:26 +01:00
Wyrserth 86eb312494 DB/SAI: Add out-of-combat texts to Sergeant Gorth
Closes #23443

(cherry picked from commit 5eafa03b46e94886189b8fbb41afc6e6dd803826)
2021-12-11 16:18:01 +01:00
Wyrserth 1a9198dc04 DB/Quest: Quest: The Great Hunter's Challenge
Clsoes #23442
Closes #16037

(cherry picked from commit 2525f863e2e706b9213b9268b6ccf7481dabe90d)
2021-12-11 16:17:28 +01:00
Killyana 5e0a9982c2 DB/Quest: Building a Perimeter
(cherry picked from commit 62e44d0e4b61c72489961535a00a0386cfb0ca9f)
2021-12-11 16:16:47 +01:00
Killyana 4afa727661 DB/Creature: Add a cosmetic spawns for "Ar'tor, Son of Oronok"
(cherry picked from commit 0132f13791bddbe8c69b87b7d402f8c0f2df4dbf)
2021-12-11 16:15:35 +01:00
Shauren 3d3d255a47 Core/Conditions: Sync CONDITION_QUEST_OBJECTIVE_PROGRESS implementation with 3.3.5 2021-12-11 16:13:45 +01:00
Wyrserth a032d84cf4 Core/FlightPath: teleport players at destination on floor Z when the flight ends (#23428)
* Core/FlightPath: teleport players at destination on floor Z when the flight ends, instead of having them fall from the air.

Closes #10051.

* Use the path destination's mapheight instead of the player position's.

* Update FlightPathMovementGenerator.cpp

(cherry picked from commit 6a0a800535f6de9f6028a5375abfaf1dae8c7c28)
2021-12-11 16:05:31 +01:00
Wyrserth 5331656785 Core/SAI: allow to start waypoint movement for a creature that is in combat. (#23426)
(cherry picked from commit d6e36601151046d5e99f97fa9594ac2d86fa698c)
2021-12-11 15:29:32 +01:00
Killyana 1f47729ecb DB/Creature: Big Shirl
Closes #23380

(cherry picked from commit 8a174d22957d3f641b4a6750cdc2a4ae88a88402)
2021-12-11 15:28:11 +01:00
DanVS f15bcebdbe Core/Spell: Jump Speed Calculations (#22886)
* Jump Speed Calculations

* Fix

(cherry picked from commit 0197a2f990aa7c7eaf8637a2a5da7f43def9c4bd)
2021-12-11 15:25:57 +01:00
Wyrserth 2bcfc6680c Core/Misc: don't allow FindNearestCreature() and FindNearestGameObject() searches to return the entity that called them. (#23437)
Closes #23334.

(cherry picked from commit 015870bfe1d3ec57c4505072f087b88fe63662b5)
2021-12-11 15:14:43 +01:00
Killyana 468ff09c78 DB/Quest: Destroying the Altars
Closes #23431

(cherry picked from commit 17671c633cd7b6c5066f9595108cb8df5a6626c6)
2021-12-11 14:58:27 +01:00
Keader b3493935b6 Core/Scripts: Fixed a reference error introduced in 394b119664bc16dc5376f1404925b6d0b5a26876
(cherry picked from commit 70cbedd75dff077fa75e25c4c467f0efd4bb6252)
2021-12-11 14:56:14 +01:00
Killyana 253527a6dc DB/SAI: SMART_SCRIPT_TYPE_TIMED_ACTIONLIST don't use event_type
(cherry picked from commit d0bdd06087eaed87c8705c6fad13e3dc08695615)
2021-12-11 14:55:56 +01:00
Keader f749b3a2e9 Scripts/Icecrown Citadel: Fixed Blood Orb Game Object (#23397)
Close #18005 and Update #18529

(cherry picked from commit 394b119664bc16dc5376f1404925b6d0b5a26876)
2021-12-11 14:55:18 +01:00