95 Commits
Author SHA1 Message Date
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
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
Wyrserth eeec03557e DB/SAI: script out-of-combat event for Sorely Twitchblade.
(cherry picked from commit 654a725ec501214db4398673f1fc85e6a9366cfe)
2021-12-18 00:12:38 +01:00
Wyrserth 75114dd820 Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.

(cherry picked from commit 9da5e850f63fef2ae44739350a4771930e98cfda)
2021-12-18 00:11:44 +01:00
Wyrserth 2f2de26311 Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not. (#23579)
Fixes #23387 and #22818.

(cherry picked from commit 0b87dffc3543c6953118d89b04a06fb19a1ab1dd)
2021-12-18 00:09:49 +01:00
Wyrserth 9fcbf9a571 DB/SAI: add on-aggro text for Wyrmcaller Vile.
(cherry picked from commit 08490b14877bbb59ae5c255eefa5efc1b7ab3ff7)
2021-12-17 22:39:35 +01:00
Wyrserth 59f95b7572 DB/Quest: fix item rewards for the following quests:
- Nolkai's Words
- Ally of the Netherwing
- He Will Walk The Earth...
- Hero of the Mag'har

(cherry picked from commit 48091257d325f55889d120fdb4967e7c4bcb8c09)
2021-12-17 21:50:19 +01:00
Wyrserth ec28e754ff DB/Quest: add item Crudely Wrapped Gift as reward for the Smash the Pumpkin quests.
(cherry picked from commit eb0336468c2b5f3a12b6ecd98bfd5f654f1087fc)
2021-12-17 21:46:12 +01:00
Wyrserth f1fbe23bd6 DB/SAI: fix mistakes in Bloodscalp Mystic's script.
Should cast Lightning Bolt instead of Thrown, and shouldn't run away in fear.

(cherry picked from commit c7be2b1dff089a0321b2de60e9f743c7dfbde2c2)
2021-12-17 21:11:29 +01:00
Wyrserth 15f6056bac Script/CullingOfStratholme: add out-of-combat texts to Postmaster Malown and fix Arthas' attack animation when he kills the two civilians for the RP event.
(cherry picked from commit 2cb1e7b18dcafa3f2ad72fd196d9332e9a551b15)
2021-12-17 20:50:03 +01:00
Wyrserth 0b39d2a3c7 DB/Loot: separate Normal and Heroic Mark of Sanctification loot references for end-wing bosses in Icecrown Citadel.
Closes #23310.

(cherry picked from commit 044fba0a25b91e451692e284b140150e66aee63c)
2021-12-17 00:35:06 +01:00
Wyrserth 273607fba3 DB/SAI: Assault by Ground.
Closes #11591.

(cherry picked from commit 8da2cd6b3f26d8bd53e1e3503246d00b7161eb5e)
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 bf8741c53d299a1d167354a174f5e40ae1981551)
2021-12-17 00:29: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 e5615402cc2dbc8cea6ffada0d759a7feeacb4b7)
2021-12-17 00:24:22 +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 ec34d90aca1d7d8206878d4523179380ad91953c)
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 1d1c551e4c82399ab1cf7511a7b6992721f1bd6c)
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 3837440f1fa4c40056760d72639b4e00bb36a639)
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 9695285e662644b479d825f5f5819b71b8a8a7b2)
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 a295a9f10adf5e0ff70bf7c81381aa3fd9978833)
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 b8d86bba999684998da59f4765d7982cba30ec21)
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 97c472e9139d00df5b6eb023209fdaf10949b497)
2021-12-16 22:42:15 +01:00
Wyrserth 53c41b2821 DB/Quest: fix some cosmetic issues for quest On Nethery Wings.
Ref #6210.

(cherry picked from commit fbd0fe26ee239f7cf80004d771b96df3f9ae1274)
2021-12-16 22:18:50 +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 55570be6610483da129e40291e49090a8bc0f30c)
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 <[email protected]>
(cherry picked from commit 5f5d2028df70e82d5cd70837953acd059f2ac7fb)
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 50b2c3b34d5ffc9539e3f3954ec6b4e5f8a87efc)
2021-12-16 21:54:10 +01:00
Wyrserth 39ef3e3e78 DB/Gossip: fix some gossip option texts for guards that give directions.
(cherry picked from commit 31f82182167070f326d71b2c1ff1c396df09e44b)
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 a58955d88cb1f426f0af5db16e388f7f2b999349)
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 1ec8bc628cb531a04a23c500ad0680f048d7e347)
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 e7cf24d2630058128e556b7d5bbb36f4a810695f)
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 c52c0f0b7dbab9ff5f97426f1f742cb7cbe0732b)
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 a4ddb30489d3c4cd96817232b28393c2f4e50595)
2021-12-16 21:20:38 +01:00
Wyrserth 1b7a1c51ae Core/Player: prevent trade system from getting stuck in an invalid state when the LevelReq.Trade config is used.
(cherry picked from commit a54af39e29f87735ce2bc9774e664b543c9dff02)
2021-12-16 00:14:52 +01:00
Wyrserth 3bb61af113 Script/ScarletEnclave: use spline movement for the lauch phase of the Eye of Acherus.
Closes #22802.

(cherry picked from commit 4ee84bbecbccee2adb093d4c30172edc22ef8499)
2021-12-15 23:39:51 +01:00
Wyrserth ee4388a651 DB/SAI: fix issue with quest "A Suitable Disguise".
Closes #23584.

(cherry picked from commit 446f8b0b71b1756a32e817375b79fa8d025d6c74)
2021-12-15 21:49:51 +01:00
Wyrserth c77f57edbc DB/Quest: restore ExclusiveGroup data for breadcrumb quests, as they're mutually exclusive.
Also restore PrevQuestId/NextQuestId error logs involving breadcrumb quests. Special cases must be handled via conditions.

(cherry picked from commit 7f63c504d5cf5a9ad2f3d77ff2c67ca9d7586dd5)
2021-12-15 00:17:32 +01:00
Wyrserth a24de1378f DB/Quest: fix some more breadcrumbs and some offer_reward emotes.
(cherry picked from commit 4dbdc22b3b5770ff8252ea057bf7a7a92dcb31cb)
2021-12-15 00:17:32 +01:00
Wyrserth 755a83f634 Core/Quest: remove arbitrary error logs related to breadcrumb quest chaining.
There are complex cases where breadcrumb quests are mutually exclusive with other breadcrumbs leading to other quests, chaining them shouldn't generate log errors.

(cherry picked from commit e6080116f9acb41b1c3d26468a679ff7e4b7c106)
2021-12-15 00:17:32 +01:00
Wyrserth a878e843d7 DB/Quest: fix some breadcrumb quests.
(cherry picked from commit 2a9c038fc8bf87b968a94b23bd0ddb79fecf8b17)
2021-12-15 00:17:32 +01:00
Wyrserth 6f45e88396 DB/Creature: add out of combat events and fix pathing for Conjurer Tyren.
(cherry picked from commit b9d1e665075ffbd94f3ec96a3e8819615bd3d24a)
2021-12-15 00:17:32 +01:00
Wyrserth 89a1954602 DB/Quest: improvements for quest Hampering Their Escape:
- Add missing flames on item use.
- Prevent trigger creatures from wandering around and falling off the platform
- Add conditions to the item Gnomish Grenade

(cherry picked from commit 76beda3768ebbcbf42f96e2f8596c95b24327dfe)
2021-12-15 00:17:32 +01:00
Wyrserth f2245d602f DB/SAI: add waypoints and out-of-combat texts for Ambassador Kelemar, Dela Runetotem, Cheneta, Kristine Denny and Tatai.
Closes #14485.

(cherry picked from commit 90a04adb408726c66d115b0053aad54e51d934d1)
2021-12-15 00:17:32 +01:00
Wyrserth 24c07367f1 Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Closes #21731 and #22368.

(cherry picked from commit f869c4969ebd573da2742dcee0dfbe688e7896e0)
2021-12-14 22:19:01 +01:00
Wyrserth 004602f3e4 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Closes #23572.

(cherry picked from commit 9f6d3e93f95ea126512e5eb52e46dbaefccf54d6)
2021-12-14 22:17:47 +01:00
Wyrserth 57cfc4bbc0 DB/Creature: prevent floating Gjalerbron Prisoners from falling to the ground.
Also fix mistake in DELETE query for previously committed SQL file.

(cherry picked from commit d18b7572f40360d6f47d48faa306665b008e7dd8)
2021-12-14 22:16:22 +01:00
Wyrserth 569660a933 Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet.
Closes #19452.

(cherry picked from commit 37862942ce61ceffe5440d67efe7db553fa22f9b)
2021-12-14 22:13:56 +01:00
Wyrserth 2efb6b6187 Core/Spell: don't send duration for auras caused by dynobjects.
(cherry picked from commit 1d1b77c3f0c7625228f328cf894610c14a54c308)
2021-12-14 22:03:20 +01:00
Wyrserth 756325bc84 Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout of Flame.
(cherry picked from commit 6ef1b3e6c6d51635dc4ba4cf4f9fb9565d390807)
2021-12-14 22:02:52 +01:00
Wyrserth 55611104be Core/Spell: do not allow auras from dynamic objects to stack if they come from the same spell cast by the same caster.
(cherry picked from commit b87350807db65e8e819cfc562749c22441eeb5ab)
2021-12-14 22:02:25 +01:00
Wyrserth 2c55730a01 Misc/Config: set decay timer for unlooted normal creatures to 5 minutes.
Now that respawns do not care about the previous corpse's state, there's no reason to force a very frustrating faster despawn.

(cherry picked from commit 1bdbede7e0e24ed3c55787a63c8d67db539cee35)
2021-12-14 22:00:53 +01:00
Wyrserth 3b72b43937 DB/SAI: remove useless actions from Regthar Deathgate's script.
Fixes #23543.

(cherry picked from commit a8d232a92158bb9782e0895e6788692ee4729eb7)
2021-12-14 21:17:23 +01:00
Wyrserth f31d8f7ffb Script/Acherus: script out of combat event for Frost Death Knight trainer Amal'thazad.
(cherry picked from commit 8fcc82138fee2bbea7b7f82d4b0475e4f53f100c)
2021-12-14 21:11:10 +01:00
Wyrserth edf12fd6a1 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove (#23527)
(cherry picked from commit 12e545f7e2247f91db3fd1e8e2f961982422a147)
2021-12-14 20:52:13 +01:00
Wyrserth 832409e512 DB/SAI: add emotestate and OOC text for creature Zeh'gehn and improve end event for quest A Carver and a Croaker.
(cherry picked from commit 9530c33af0847ac13826d20f21d2447f0817bfa5)
2021-12-14 00:18:59 +01:00
Wyrserth 0d9a7f626d DB/Creature: remove wrong repairer npcflag from NPC Perascamin.
(cherry picked from commit cc5088369b43f25f68443e1018e994694158c2c2)
2021-12-14 00:06:37 +01:00
Wyrserth fdd5063ba2 DB/SAI: add some missing RP events to Culling of Stratholme.
Scripted RP events involving NPCs Stephanie Sindree, Brandon Eiredeck and Patricia O'Reilly.

(cherry picked from commit c63bbb97b4850abfd60917bd9b668f276f9ecedb)
2021-12-14 00:01:42 +01:00
Wyrserth 13519dc043 DB/Vendor: rework Griftah's inventory.
Remove deprecated items and fix slot ordering.

(cherry picked from commit f05891405ab40502cfa67fdcff0edb1391ff8719)
2021-12-13 23:51:44 +01:00
Wyrserth 9cfa2ed71e Script/HallsOfLightning: fix mistake related to Shattering Stomp in Volkhan's script, introduced in 3bb0abcd525218c0423421979177675004787707.
Closes #23337.

(cherry picked from commit a8b8a43b8d86f0039f4b4ac2c251d55ba3b6a4ed)
2021-12-13 00:42:20 +01:00
Wyrserth 1005389b14 DB/SAI: remove delay between clicking gossip and creature text/change faction for NPC Victorious Challenger involved in quest Taking on All Challengers.
(cherry picked from commit 5a9516cd9c27fc9f4f444d8658d9bd6ac3afc027)
2021-12-13 00:42:20 +01:00
Wyrserth a117beb1b3 DB/Creature: Hyldsmeet Warbear shouldn't have random movement.
(cherry picked from commit 4a875ec392b41030ea8f394335edc2860079fbb9)
2021-12-13 00:42:20 +01:00
Wyrserth c9cb12afc3 DB/Creature: add emote state and out of combat emote for NPC Brunnhildar Challenger.
(cherry picked from commit dd870a141fd521d1e760f984bc93db6101d8e733)
2021-12-13 00:42:20 +01:00
Wyrserth 04675c2322 DB/Conditions: allow gossip option for NPC Agnetta Tyrsdottar to show only if the quest Is That Your Goblin? is taken but not completed.
(cherry picked from commit e621d40ddcb7b8d70012ea27aa78baf81d0a7902)
2021-12-13 00:42:20 +01:00
Wyrserth 819f8b1a2d Script/DarkmoonFaire: fix logical error in go_darkmoon_faire_music.
Closes #23548.

(cherry picked from commit 028d16a812bd3ff56f19da919ca1a35e7523fe8c)
2021-12-13 00:42:19 +01:00
Wyrserth ecce30a807 Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
Allows the gossip window to close after the client receives a quest failed error (for example: not enough inventory space to store the reward).

(cherry picked from commit c8289ada7f7d31a5e608c932db71ee6ec7fce0e6)
2021-12-13 00:42:19 +01:00
Wyrserth 0476ee41e1 DB/SAI: implement out-of-combat event for NPC Ranger Sareyn.
Closes #23538.

(cherry picked from commit ce3820031d4185d4124fa062baa99619e483a84c)
2021-12-13 00:42:19 +01:00
Wyrserth 5c2a9364a4 DB/SAI: implement out-of-combat event for NPC Ranger Jaela.
Closes #23535.

(cherry picked from commit fa0fc13fd06e1af3dc6cb2ea611c4012660bfbdb)
2021-12-13 00:42:19 +01:00
Wyrserth 1a65c72939 DB/SAI: add out-of-combat texts to Instructor Hroegar
(cherry picked from commit 45a2388bc0c8c0825f2f59c277da8d77f3b74942)
2021-12-13 00:42:19 +01:00
Wyrserth 04b02f3672 Core/Spell: Challenge Flag should only hit one target.
(cherry picked from commit 39aa91f9824ce3b3f574931d287753dd8d49581f)
2021-12-13 00:42:19 +01:00
Wyrserth 866a079600 DB/SAI: script creature Mjordin Combatant involved in the quest Honor Challenge.
(cherry picked from commit e803ba77326fd5a274ee1fb54a9e9c32e01b39c6)
2021-12-13 00:42:19 +01:00
Wyrserth 41df87d7aa DB/Creature: fix spawns and emote state for Mjordin Combatants in Icecrown.
(cherry picked from commit e1787b883e1dc4cd67d6b30c8a1ca6db4abb2660)
2021-12-13 00:42:19 +01:00
Wyrserth 94599bd323 DB/Quest: remove quest requirements from the Consortium monthly quests.
Only one is available each month, based on reputation standing. They're not chained.

(cherry picked from commit 5aedc4a5102858f4bab35721fd5ff8e2234f3181)
2021-12-13 00:42:19 +01:00
Wyrserth 9d861a51c2 DB/SAI: improvements for quest Powering our Defenses:
- There are two waves of three Enraged Wraith each
- The quest does not fail when the Infused Crystal is killed, as the quest item is not consumable so the player can try again straight away

(cherry picked from commit d213970719bfcfeba16dd400217aa722e63b2615)
2021-12-13 00:42:19 +01:00
Wyrserth 5ca9f51033 Core/Loot: fix issue that prevented players from rolling for an unique-category item while an equipped item shares the same unique-category.
(cherry picked from commit eb7a6391aafa5e618b2a565f0c2cfc2516dcee7e)
2021-12-13 00:42:18 +01:00
Wyrserth 2fea2a1e81 Core/GameObject: do not allow consumable chests to restock while partially looted.
(cherry picked from commit cd73664f53db3daad6c7e17edbcd0212ab383c0d)
2021-12-13 00:42:18 +01:00
Wyrserth f136d3cfe0 Core/GameObject: fix some cases where summoned gameobjects of a type different than chest or goober would behave wrongly.
(cherry picked from commit 9f0ac0c24376ec70b8227a8fb0a1e0e686cb3256)
2021-12-13 00:42:18 +01:00
Wyrserth 575f42089e Core/Spell: fix some issues with taunt spells (#23425)
(cherry picked from commit 5dc2dfd60c4ecd243729e86496d926976e383156)
2021-12-13 00:42:18 +01:00
Wyrserth 9d40a105e6 Core/Mail: include 100g in the mail sent after turning in the quest The Wrath of Neptulon (#23500)
(cherry picked from commit cf223370f3345a7cfa39f8bfb23835391603f985)
2021-12-13 00:42:18 +01:00
Wyrserth 5c5bcba65a Script/ZulGurub: rewrite High Priest Thekal's encounter script (#23429)
(cherry picked from commit 365e2f191efa5576c0045a9ebdffe63e1ea3bac7)
2021-12-13 00:42:18 +01:00
Wyrserth c637260a37 Core/GameObject: implement restock mechanic for non-consumable gameobjects (#23526)
(cherry picked from commit e77c2d55c40bc9d4a15de471de754376f4ec1c49)
2021-12-13 00:42:17 +01:00
Wyrserth 739d6fc420 DB/SAI: fix issue with quest "Still At It" introduced in 2b1cde25.
Closes #23525.

(cherry picked from commit 6aa3ec8fb10e6916fd00368af40471ef8dbeb5d6)
2021-12-13 00:42:17 +01:00
Wyrserth d197a7ce9b Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist.
(cherry picked from commit eeba12778b330f799eab1530da14bcd8a01b8269)
2021-12-13 00:42:17 +01:00
Wyrserth 7c7bb95da5 Core/GameObject: restore old behavior for non-consumable chests with restock timer (make them despawn).
(cherry picked from commit 50c5d30d13fe12af2a2028baf845fb6eab329a57)
2021-12-13 00:42:17 +01:00
Wyrserth 836a1bc622 Core/GameObject: don't allow non-consumable goobers to despawn on use (#23469)
Closes #15730.

(cherry picked from commit 2b1e8d135bd3f3a3ddf7f29471cf6116da223175)
2021-12-13 00:42:17 +01:00
Wyrserth 09e849bb69 Core/Spell: allow damage from binary spells to go through elemental resistance's damage reduction. (#23479)
(cherry picked from commit efc999227d87398b25e04a3fba881c27de8135f3)
2021-12-13 00:42:17 +01:00
Wyrserth bf9af53e06 DB/SAI: script event for quest Rescuing the Rescuers.
Closes #23444

Co-authored-by: Killyana <[email protected]>
(cherry picked from commit afbd4bbe59f57e0d4ed8e400bc35efc95c54dd8a)
2021-12-13 00:42:17 +01:00
Wyrserth 83a9222c39 Core/SAI: allow creatures to handle gameobject spellhit SAI events. (#23492)
(cherry picked from commit 7a71127da92bd833caf4188aee2d5e88c61ae772)
2021-12-13 00:42:17 +01:00
Wyrserth 62f5d9b46b Core/SAI: do not pass old creatureData to UpdateEntry() and keep current health when changing a NPC's entry. (#23493)
(cherry picked from commit 8967cc96df4c1c5c7465e9fd1fa66400f3e992b3)
2021-12-13 00:42:17 +01:00
Wyrserth 4441702d5a DB/Waypoint: add pathing for Nishera the Garden Keeper.
(cherry picked from commit fcae8b1bff2ba109a9aad6dade0d61a84caa2e99)
2021-12-13 00:42:17 +01:00
Wyrserth 902a6f17dc Script/CoS: fix DB error and remove wrong on-death text for Chrono-Lord Epoch.
(cherry picked from commit 22b222b44e2f26900568af2ebdb92bf19185cfb9)
2021-12-13 00:42:17 +01:00
Wyrserth e8c1adcf8f Core/SAI: silence wrong SAI error when using SMART_ACTION_SET_DATA on a creature using CreatureAI.
This behavior is fully allowed and should not report any kind of error.

(cherry picked from commit c95531595e666c64829499d2bc920cf5b848bbe2)
2021-12-13 00:42: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
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 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
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