Commit Graph

39720 Commits

Author SHA1 Message Date
illfated 57e4d7d45c DB/Quest: fix CompletionText for Call of Earth (Part 2) (Draenei version).
Closes #23623.

(cherry picked from commit 9bc8044cb6)
2021-12-17 00:34:27 +01:00
Kelno f3b0325758 Core/OPvP: Remove dangling line after 84b7b2e (PR #23625)
(cherry picked from commit ef3ee63d88)
2021-12-17 00:33:35 +01:00
Wyrserth 273607fba3 DB/SAI: Assault by Ground.
Closes #11591.

(cherry picked from commit 8da2cd6b3f)
2021-12-17 00:32:28 +01:00
Wyrserth f6df334bb6 Script/ScarletEnclave: remove Eye of Acherus control and speed auras from player when the Eye of Acherus is dismissed.
(cherry picked from commit bf8741c53d)
2021-12-17 00:29:59 +01:00
Treeston 4c754de7a8 != and == are not the same thing.
(cherry picked from commit 51cf1c7136)
2021-12-17 00:29:31 +01:00
Treeston c6834a1de6 oops, that wasn't supposed to remain there (0e7c66c follow-up)
(cherry picked from commit 81fcd2e2d5)
2021-12-17 00:29:21 +01:00
Killyana 3a0d7364f2 DB/Misc: Steel Gate area
From https://github.com/cmangos/wotlk-db/commit/17d717a70492840f75ba60abe7713b46a583a8b6 by Grz3s

(cherry picked from commit c8278cddeb)
2021-12-17 00:28:59 +01:00
jackpoz e998a1169d Core/Spline: Fix crash
Fix crash when calling MoveSpline::ToString() on an empty spline

(cherry picked from commit 2bac44c7d0)
2021-12-17 00:27:09 +01:00
Treeston a4c2c0fb1d Core/AI: No longer override chase movement with follow movement if the creature engages before JustAppeared has had a chance to fire.
(cherry picked from commit 49b04c0fdd)
2021-12-17 00:25:59 +01:00
Wyrserth a2b1b3e2aa Core/Instance: remove wrong raid-only restriction in the logic that kicks offline players out of instances when the instance is reset.
(cherry picked from commit e5615402cc)
2021-12-17 00:24:22 +01:00
Treeston c13d83796f Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time.
(cherry picked from commit 0e7c66cb4c)
2021-12-17 00:23:33 +01:00
Killyana f9fe00bf8c DB/Creature: Steel Gate Pack Mule
(cherry picked from commit eba10f309e)
2021-12-16 23:33:19 +01:00
Wyrserth 63a11b1067 DB/Conditions: the spell Flatulate used by Reanimated Abomination involved in the quest That's Abominable! should only hit the Scourge minions required by the quest.
(cherry picked from commit ec34d90aca)
2021-12-16 23:32:02 +01:00
Wyrserth c597bf8f70 DB/Conditions: players can re-obtain the item Torch of Retribution from the questgiver only if they haven't already turned in the quest Set Them Ablaze!
(cherry picked from commit 1d1c551e4c)
2021-12-16 23:28:55 +01:00
Wyrserth a290f49fce DB/Creature: remove deprecated spawns of NPCs Lady Liadrin, Peacekeeper Jadar and Investigator Asric in Shattrath, and move Arcanist Savan to his correct position in the Scryer's Tier.
(cherry picked from commit 3837440f1f)
2021-12-16 23:14:03 +01:00
Wyrserth 3e7f31a3a4 DB/Event: add game_event entry for Operation: Gnomeregan and assign related creatures/gameobjects.
(cherry picked from commit 9695285e66)
2021-12-16 23:12:52 +01:00
Wyrserth 094165dc95 DB/Loot: add conditions for items Draconic for Dummies (Chapter II) and Draconic for Dummies (Chapter III).
Those items aren't marked as "quest item" but are still tied to the quest The Only Prescription.

(cherry picked from commit a295a9f10a)
2021-12-16 23:10:07 +01:00
Wyrserth 3efc2caf96 Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
(cherry picked from commit b8d86bba99)
2021-12-16 22:58:41 +01:00
Wyrserth a8b2a363f2 DB/Quest: small cosmetic fixes for Ammo for Rumbleshot's outro event.
(cherry picked from commit 97c472e913)
2021-12-16 22:42:15 +01:00
Killyana 00e0b8176a DB/Misc: Death Knights starting area
(cherry picked from commit e2f8fb2f82)
2021-12-16 22:39:16 +01:00
Giacomo Pozzoni 493fe066f6 Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf (#23540)
* Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf

* Handle Respawn.RestartQuietTime too

* Handle XP.Boost.Daymask too

* Core/Misc: Code cleanup

* Core/Misc: Code cleanup

* Update Util.cpp

* Update boosted_xp.cpp

(cherry picked from commit aeddd417c4)
2021-12-16 22:35:44 +01:00
Wyrserth 53c41b2821 DB/Quest: fix some cosmetic issues for quest On Nethery Wings.
Ref #6210.

(cherry picked from commit fbd0fe26ee)
2021-12-16 22:18:50 +01:00
Treeston 611ddfee3c build fix after d1dc0e2
(cherry picked from commit c0f8e8535a)
2021-12-16 22:16:07 +01:00
ccrs e94dca132b Core/SmartAI: add missing movement generator type check on SmartAI::SetCombatMove
ref #21562

(cherry picked from commit 0e3e4353a1)
2021-12-16 22:10:54 +01:00
ccrs f1ef2f73a4 Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()
Since ResumeMovement also works on other MOTION_SLOT_DEFAULT generators (like RandomMG)

(cherry picked from commit c8cb866db0)
2021-12-16 22:08:01 +01:00
Killyana 27991ff0ba DB/Pooling: Fix Storm Peaks Ore pool
(cherry picked from commit 28b8c369bb)
2021-12-16 22:07:32 +01:00
Ovah 879e7094b7 Core/Misc: Add new centralized location for generic predicates (PR #23607)
(cherry picked from commit 6e2ca481e5)
2021-12-16 22:05:20 +01:00
jackpoz 17bf908847 Core/Misc: Fix warnings
(cherry picked from commit a9f1dc1da7)
2021-12-16 22:04:25 +01:00
jackpoz 2c3cdf67c2 Core/MovementGenerator: Add more asserts
(cherry picked from commit 9ed35e2108)
2021-12-16 22:04:12 +01:00
jackpoz f65edd1130 Core/MovementGenerator: Add more details to asserts
Include movespline in Unit::GetDebugInfo() and the Player owner in FlightPathMovementGenerator::DoEventIfAny() assert

(cherry picked from commit 560b7e3397)
2021-12-16 22:03:52 +01:00
Ovah a24a5e7778 Core/Movement: add a velocity argument for the spline chain meta table (PR #23575)
(cherry picked from commit 3f7b2252a1)
2021-12-16 22:03:35 +01:00
OcelotGear 65abf9b482 Script/Hunter: fix Snake Trap's snakes' initialization.
Closes #23570.

(cherry picked from commit 085f40a278)
2021-12-16 22:01:40 +01:00
Wyrserth 434ef51c10 Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
Closes #23570.

(cherry picked from commit 55570be661)
2021-12-16 22:01:10 +01:00
Wyrserth 537b425377 Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
Closes #281.

Signed-off-by: Wyrserth <wyrserth@protonmail.com>
(cherry picked from commit 5f5d2028df)
2021-12-16 21:57:19 +01:00
Wyrserth 3e120de7df DB/SAI: add out-of-combat texts to High General Abbendis and nearby NPCs in the Death Knight starting zone.
(cherry picked from commit 50b2c3b34d)
2021-12-16 21:54:10 +01:00
Treeston e270351a16 Scripts/Commands: Adjust .list respawns to use enum iteration. Add enum iteration capability to SpawnObjectTypes.
(cherry picked from commit b64834c3f5)
2021-12-16 21:41:24 +01:00
Wyrserth 39ef3e3e78 DB/Gossip: fix some gossip option texts for guards that give directions.
(cherry picked from commit 31f8218216)
2021-12-16 21:20:39 +01:00
Wyrserth 8b71e65f20 Core/Achievement: don't increase ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM counters for items bought back from vendors.
(cherry picked from commit a58955d88c)
2021-12-16 21:20:39 +01:00
Killyana 4d94c1d78f DB/Creature: Fix K'iru unit flag
(cherry picked from commit 18809a4420)
2021-12-16 21:20:39 +01:00
Wyrserth 6554c227fd DB/SpellArea: add K'iru's Song of Victory to Isle of Quel'Danas and Magister's Terrace.
https://wowwiki.fandom.com/wiki/K'iru's_Song_of_Victory
(cherry picked from commit 1ec8bc628c)
2021-12-16 21:20:39 +01:00
Wyrserth 96bca1fe2b Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit for Death) from ItemScript to SpellScript.
Closes #21890.

(cherry picked from commit e7cf24d263)
2021-12-16 21:20:39 +01:00
Wyrserth 1f8a6bac87 Core/GameObject: do not allow players to interact with gameobjects that use the "Point" icon.
Updates #21890.

(cherry picked from commit c52c0f0b7d)
2021-12-16 21:20:38 +01:00
Killyana 44eb3f9e4e DB/Pooling: Fix Storm Peaks Ore pools
(cherry picked from commit bc3860be79)
2021-12-16 21:20:38 +01:00
Wyrserth cc0a9d1fe9 Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
Fixes cases where people would get strange errors like "You are not high enough level for that quest" when entering WotLK instances.

(cherry picked from commit a4ddb30489)
2021-12-16 21:20:38 +01:00
Treeston 093223d7b4 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
(cherry picked from commit a82bbeb101)
2021-12-16 21:20:38 +01:00
jackpoz 488d59aef3 Core/Misc: Fix no-pch build
(cherry picked from commit 504e452450)
2021-12-16 21:20:38 +01:00
Treeston 8b78f50556 Core/DB: Merge pool_creature, pool_gameobject and pool_pool into a single pool_members table.
(More pooling prep, I really don't want to have any sql update files in that PR if I can help it.)

(cherry picked from commit 45bc91c238)
2021-12-16 21:20:38 +01:00
Treeston 6f6cf975e4 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
(cherry picked from commit 293ba08d21)
2021-12-16 21:20:38 +01:00
Treeston bd7aae928e Core/Chat: Properly reload saved channel settings from DB after 8c16f31.
(cherry picked from commit 2c1b87ca29)
2021-12-16 21:20:38 +01:00
Treeston 9fa5c71409 Core/DB: Add a world state for daily quest reset time to characters. Not used right now, but written to allow easier transition later.
(cherry picked from commit 1277c54263)
2021-12-16 21:20:38 +01:00