Commit Graph

36424 Commits

Author SHA1 Message Date
jackpoz
2d7ec53330 Core/Player: Fix teleporting FlyPath dismounting the player
Issue added in 72fc79a9e6

(cherry picked from commit 4019cae375)
2021-12-11 14:12:53 +01:00
Wyrserth
ef4d4e3d98 Core/Loot: make Loot::AddItem() honor LootItem::AllowedForPlayer() so that items that cannot be looted don't prevent skinning. (#23408)
(cherry picked from commit a1b2aa97fc)
2021-12-11 14:12:53 +01:00
Wyrserth
1c8f94a14f Core/Loot: implement automatic pass in group loot for items that cannot be looted. (#23413)
(cherry picked from commit 00fdf6e99a)
2021-12-11 14:12:52 +01:00
Wyrserth
59da957165 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory (#23404)
* Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory,

* Move GetFreeInventorySpace() to a better place, thanks ccrs!

(cherry picked from commit 218055280a)
2021-12-11 13:29:39 +01:00
Wyrserth
264373bb65 Core/Creature: prevent dead creatures from setting a focus target, so they won't turn when hit by certain spells. (#23367)
(cherry picked from commit 0a24a6571b)
2021-12-11 13:06:44 +01:00
Giacomo Pozzoni
7a8d15d63b Core/CreatureTemplate: Outsourced resistances and spells into creatur… (#23343)
* Core/CreatureTemplate: Outsourced resistances and spells into creature_template_spell and creature_template_resistance

* Rename 2019_99_99_00_world.sql to 2019_06_15_01_world.sql

(cherry picked from commit d5fb0a30ec)
2021-12-11 13:06:25 +01:00
Wyrserth
cc141e9bad Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes (#23398)
* Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes.

* Add #23396 to make testing easier.

* Prioritize assistants in raids.

* Fix dumb mistake and apply suggested change, thanks VincentVanclef and jackpoz!

(cherry picked from commit e906a2fe7d)
2021-12-11 13:06:25 +01:00
Wyrserth
7b346bcf8d Core/Loot: fix some issues with master loot and don't allow players to see soulbound recipes that they already learned in the loot window. (#23410)
(cherry picked from commit e6ad9b10cf)
2021-12-11 13:06:25 +01:00
Giacomo Pozzoni
4e7727d575 3.3.5 game event respawn (#23391)
* Core/GameEvent: Remove respawn times of Creature and GameObjects when starting/stopping an event

* Add checks for pool

* Remove the check for pools

(cherry picked from commit 678f3dd687)
2021-12-11 13:06:13 +01:00
Wyrserth
6b7bc82641 Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast. (#23401)
Also prevent double skill-up because of duplicate UpdateCraftSkill() calls.

(cherry picked from commit 2315d43b2c)
2021-12-11 12:06:54 +01:00
Wyrserth
3ba08283ba DB/Loot: Fix Mighty Protection Potion recipe drops
Closes #23405

(cherry picked from commit 99684dcb0c)
2021-12-11 12:06:24 +01:00
Wyrserth
d88b2eaaa7 DB/Quest: Fix some issues with Alterac Valley-related quests
Closes #23402

(cherry picked from commit 8b7a9b3a19)
2021-12-11 12:05:17 +01:00
Giacomo Pozzoni
920a18c062 Core/Misc: Fix static analysis issues reported by Coverity Scan
(cherry picked from commit df92ceb9bc)
2021-12-11 12:03:43 +01:00
Wyrserth
81a8366ce5 Core/Player: allow AutoStoreLoot to specify if the looted item should be shown as if created by the player. (#23400)
(cherry picked from commit 8d53d16d16)
2021-12-11 12:03:31 +01:00
Killyana
2d0775b86d DB/Quest: AQ40 set quests must be repeatable
(cherry picked from commit 1b3754cd2f)
2021-12-11 12:01:32 +01:00
Keader
42ad1b86a1 Core/Misc: Implemented Icecrown Citadel buff disable (#23394)
Closes #8576
Closes #7940

(cherry picked from commit 94b60ff0ef)
2021-12-11 11:59:54 +01:00
Killyana
7071d0e2fd DB/Creature: Add some equipments
(cherry picked from commit 69fd5d0d8f)
2021-12-11 11:43:19 +01:00
Killyana
d99eb9cbcb DB/Quest: Protect Kanati Greycloud
Closes #7501

(cherry picked from commit d7375ad33f)
2021-12-11 11:40:02 +01:00
jackpoz
ab3edebb5d Core/Player: Remove all Motion Masters when teleporting
Fix #22859

(cherry picked from commit 72fc79a9e6)
2021-12-11 11:38:24 +01:00
Killyana
d01906b76c DB/Quest: The Iron Colossus
Closes #4974

(cherry picked from commit d0de3081a3)
2021-12-11 11:37:36 +01:00
jackpoz
1b6dee9990 Core/SmartAI: Rename SMART_EVENT_HEALT_PCT to SMART_EVENT_HEALTH_PCT
(cherry picked from commit 50ed1bb5b3)
2021-12-11 11:35:07 +01:00
Killyana
a34ba9aca4 DB: L70ETC event in Grim Guzzler
Closes #18919
This will not work until spawns linked to a game events are able to be added to instanced map.

(cherry picked from commit 234674f166)
2021-12-11 11:33:34 +01:00
Killyana
7306bd2c56 DB/Creature: Hexxer Corpse
(cherry picked from commit f62b99a524)
2021-12-11 01:31:05 +01:00
Keader
79d4a0f8aa Scripts/Icecrown Citadel: Fixed Heroic Attempts logic (#23379)
(cherry picked from commit 136964769d)
2021-12-11 01:27:48 +01:00
Killyana
98935d4412 DB/Creature: Fjord Penguin
(cherry picked from commit 7bbecf12cd)
2021-12-10 23:19:15 +01:00
Killyana
e8ca2778c4 DB/Creature: Netherwing Ray
(cherry picked from commit 7301c5fdf7)
2021-12-10 23:18:22 +01:00
jackpoz
db0058964f DB: Add new view vw_log_history to show database logs in a better way
(cherry picked from commit 9fc4ff9dd2)
2021-12-10 23:01:13 +01:00
Killyana
ab539b0b7d DB/Creature: Akama Event Trigger
(cherry picked from commit a45f26ef2d)
2021-12-10 22:57:47 +01:00
Killyana
e5bd17c9dc DB/Creature: Ethereal Ring Target Bunny, Lightning
(cherry picked from commit 15932004a9)
2021-12-10 22:56:39 +01:00
Sorikoff
941f6e4175 DB/SAI: Howling Fjord
Closes #23376

(cherry picked from commit 4051d4c61e)
2021-12-10 22:55:42 +01:00
Sorikoff
c300cc8942 DB/SAI: Nerub'ar
Closes #23374

(cherry picked from commit 16d512c574)
2021-12-10 22:55:18 +01:00
Wyrserth
044636e25d Loot/Item: fix drop chance for Moonrest Gardens Plans
Closes #23372

(cherry picked from commit 442288a760)
2021-12-10 22:54:51 +01:00
Wyrserth
5848d495dc DB/Gossip: add Death Knight-only gossip text for NPC The Ebon Watcher
Closes #23371

(cherry picked from commit 3c89f1325f)
2021-12-10 22:54:11 +01:00
Wyrserth
eb13377bae DB/SAI: out of combat dialog for NPCs Crusade Engineer Spitzpatrick and Crusade Architect Silas
Closes #23370

(cherry picked from commit 8d3a3024d8)
2021-12-10 22:53:18 +01:00
Wyrserth
ca6fe70745 DB/Item: Add gold loot to item Chest of Spoils
Closes #23369

(cherry picked from commit b4a2d18b9e)
2021-12-10 22:52:44 +01:00
jackpoz
6303c7bcb1 Core/Logs: Allow to log startup logs into Database appender
(cherry picked from commit dbd8b3fc63)
2021-12-10 22:49:10 +01:00
Wyrserth
88d5b91c05 Script/Dalaran: don't allow Dalaran faction guards to teleport a player that has the Trespasser! debuff. (#23373)
(cherry picked from commit 5016f588d5)
2021-12-10 22:47:33 +01:00
ccrs
fb3b94dfe5 Core/Log: 1f85348 followup
add missing logger entries

(cherry picked from commit fb28cee6ee)
2021-12-10 22:46:25 +01:00
ccrs
41dba7c456 Scripts/ZulGurub: general instance related refactoring/updating
plus couple event-spells-ai related corrections
plus codestyle cleanup

(cherry picked from commit 7b2defe5a0)
2021-12-10 22:45:42 +01:00
Killyana
31747b4f86 DB/QuestGreeting: More Quest Greeting
Closes #23340

(cherry picked from commit 91028d98a3)
2021-12-10 22:35:46 +01:00
Sorikoff
d2896f1161 DB/Quest: Apothecary Zelana
Closes #23361

(cherry picked from commit c425e2d851)
2021-12-10 21:49:35 +01:00
Wyrserth
49840048bf DB/Quest: A Lesson in Fear
Closes #23366

(cherry picked from commit e8c3533977)
2021-12-10 21:48:55 +01:00
Killyana
e0b65d8e4c DB/Misc: Arcatraz entrance event
Closes#21107

(cherry picked from commit 97a056ce97)
2021-12-10 21:48:01 +01:00
ForesterDev
dd4da6ce5b Core/Logging: Split logs for unknown and zero triggered spells (#23180)
* Core/Conditions: implement CONDITION_GAMEMASTER

* Split logs for unknown and zero triggered spells

* Update SpellAuraEffects.cpp

* Update SpellAuraEffects.cpp

* Update SpellAuraEffects.cpp

* Update SpellEffects.cpp

* Update SpellAuraEffects.cpp

* Update SpellAuraEffects.cpp

* Update SpellEffects.cpp

* Update SpellEffects.cpp

(cherry picked from commit 1f853480ee)
2021-12-10 21:41:50 +01:00
Wyrserth
db6fdef3d7 Script/Quest: implement event for the quest Orabus the Helmsman (#23346)
* Script/Quest: implement event for the quest Orabus the Helmsman.

Thanks Wyreth for the original script.

* Fix coordinates that I inverted by mistake.

* Rename 9999_99_99_99_world.sql to 2019_06_04_04_world.sql

(cherry picked from commit b5e04c8920)
2021-12-10 21:38:27 +01:00
Killyana
adb5535483 Spell/Script: Stasis Field
Closes #23355

(cherry picked from commit 7dd87e3df4)
2021-12-10 21:37:45 +01:00
Killyana
55c3e1f9dd DB/Creature: Remove some wrong waypoint actions
(cherry picked from commit bb60122f2c)
2021-12-10 21:36:41 +01:00
Killyana
ad0bc1794f DB/Creature: Seer Nakha
(cherry picked from commit 9e167dd9cb)
2021-12-10 21:18:17 +01:00
Killyana
c5eebd9ebe DB/Creature: Or'kaos the Insane
Originally Toranaku was supposed to give a quest to kill Or'kaos upon a player reaching Exalted with Netherwing in order for him or her obtain a netherdrake mount; but the idea was replaced with : Lord Illidan Stormrage quest.
Currently serves no useful purpose, including lacks loot.

(cherry picked from commit 26e859051e)
2021-12-10 21:17:25 +01:00
Wyrserth
b6d28b5497 Script/GunDrak: fix order for yell and altar texts on death for two bosses (#23357)
(cherry picked from commit 65aea13c25)
2021-12-10 21:16:10 +01:00