Commit Graph

39218 Commits

Author SHA1 Message Date
Giacomo Pozzoni
8111f50d03 Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH (#26549)
* Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH

Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH to keep movement generators even after death.

Fixes #23095
Could replace ff26027453

* Core/Movement: reorder new method MotionMaster::StopOnDeath

* Core/Movement: reorder new method MotionMaster::StopOnDeath

* Keep MoveJump movement generator after death

Co-authored-by: ccrs <ccrs@users.noreply.github.com>
(cherry picked from commit 9fe9dc087b)
2022-03-10 23:57:14 +01:00
jackpoz
89ea13ed46 Core/Player: Log more information when Player::StopCastingCharm() fails
(cherry picked from commit af815e991d)
2022-03-10 23:57:13 +01:00
jackpoz
9a17ac108c Scripts/Commands: Fix crashes with ".group revive" and ".group repair"
Close #26575

(cherry picked from commit 105c70802d)
2022-03-10 23:54:25 +01:00
ccrs
791864ef57 Core/Movement: comment unused parameter
/home/runner/work/TrinityCore/TrinityCore/src/server/game/AI/CoreAI/PassiveAI.cpp:82:52: error: unused parameter ‘id’ [-Werror=unused-parameter]
 void CritterAI::MovementInform(uint32 type, uint32 id)
                                             ~~~~~~~^~
compilation terminated due to -Wfatal-errors.

(cherry picked from commit a57bbe0394)
2022-03-10 23:54:11 +01:00
ccrs
0e0deaefd4 Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
6fde051e4e follow up

(cherry picked from commit 303e01c834)
2022-03-10 23:53:54 +01:00
offl
012444ba80 Scripts/Spells: Add comments with id & name of spells part 4
(cherry picked from commit e7e4786606)
2022-03-10 23:53:31 +01:00
offl
0408693646 Scripts/Spells: Add comments with id & name of spells part 3
(cherry picked from commit 03c727326d)
2022-03-10 23:52:03 +01:00
offl
cec9718d22 Scripts/Spells: Add comments with id & name of spells part 2
(cherry picked from commit 0e804c95ac)
2022-03-10 23:13:25 +01:00
offl
2f0623789c DB/GameObject: Add various missing objects to Bloodmyst Isle
(cherry picked from commit df552f790f)
2022-03-10 22:57:06 +01:00
offl
5635625e3a DB/GameObject: Add herbs & veins to Bloodmyst Isle
Closes #21657

Source of some new spawns: CMaNGOS

(cherry picked from commit ab9a0024b1)
2022-03-10 22:56:20 +01:00
Cerveciento
7beaa6c938 DB/Locales: Add missing esES & esMX quest locales (Part 167)
Closes #26559

(cherry picked from commit 3f36dc7343)
2022-03-10 22:53:40 +01:00
Cerveciento
f9ac6e415f DB/Locales: Add missing esES & esMX quest locales (Part 166)
Closes #26556

(cherry picked from commit 39905b7719)
2022-03-10 22:52:48 +01:00
Cerveciento
bcba852697 DB/Locales: Add missing esES & esMX quest locales (Part 165)
Closes #26551

(cherry picked from commit 6669c9fc95)
2022-03-10 22:52:00 +01:00
Jinnaix
3a4b300653 DB/Creature: Remove holy resistance
Ref #26527

(cherry picked from commit 15f66670d6)
2022-03-10 22:43:40 +01:00
offl
b1167318f4 DB/Creature: Add more Riven Widow Cocoon & Nerubian Cocoon & Netherweb Victim
(cherry picked from commit fb0a873d0e)
2022-03-10 22:43:13 +01:00
offl
f2777596a0 Scripts/Spells: Add comments with id & name of spells part 1
(cherry picked from commit 80a4b7f1e2)
2022-03-10 22:41:12 +01:00
offl
09551b663a Scripts/Quest: Rework cocooned creatures (#26554)
(cherry picked from commit 78bd609e8a)
2022-03-10 22:36:09 +01:00
Shauren
86e7789160 Core/Scripts: Allow spell script ValidateSpellInfo to work with any container type
(cherry picked from commit f2f0aeb562)
2022-03-10 21:29:07 +01:00
Cerveciento
b5d46ec5ad DB/Locales: Add missing esES & esMX quest locales (Part 164)
Closes #26545

(cherry picked from commit 302c60d3dd)
2022-03-10 21:26:57 +01:00
Cerveciento
19fb898ef0 DB/Locales: Add missing esES & esMX quest locales (Part 163)
Closes #26542

(cherry picked from commit b4f4eb9618)
2022-03-10 21:25:48 +01:00
illfated
386ea1de09 DB/Texts: Fix wrong text type
Closes #26544

(cherry picked from commit 343da36409)
2022-03-10 21:16:59 +01:00
offl
2b5e15aa08 DB/Loot: Add fishing base level to Underbog
(cherry picked from commit 36dfc86939)
2022-03-10 21:16:33 +01:00
offl
1d5c592fca DB/Creature: Galaen's Corpse
(cherry picked from commit 3e2dd51eed)
2022-03-10 21:15:30 +01:00
offl
8d3957542a DB/SAI: Remove triggered cast flag in more cases
Updates #24245

(cherry picked from commit 67c6e11d78)
2022-03-10 21:06:44 +01:00
offl
50dd7cfca9 DB/SAI: Remove triggered cast flag in multiple cases
Updates #24245

(cherry picked from commit b1242c38cc)
2022-03-10 21:06:10 +01:00
offl
be90166028 DB/GameObject: Make Enchanted Anvil work as forge too
Closes #25746

One object can be spellfocus only for one spell type(cooking fire, forge, anvil). However sometimes object is a cooking fire but you can smelt at it. There are no other objects in sniffs in those cases. My best guess those objects are indeed spawned but somehow hidden from client or objects like Enchanted Anvil somehow works as both anvil and forge at the same time. Objects with invisible model(such as the one I added) are shown in sniffs but not in case of Enchanted Anvil

(cherry picked from commit 46d3c651a5)
2022-03-10 20:44:40 +01:00
offl
12f9ec0994 DB/Quest: Update 'Investigate the Amani Catacombs' (9193)
Closes #18934

Source of some new spawns: CMaNGOS

(cherry picked from commit f692fc6b1d)
2022-03-10 20:37:48 +01:00
offl
e3dbf86d6c DB/Creature: Rework time bombs
Closes #26479

(cherry picked from commit 52333b0e31)
2022-03-10 20:36:20 +01:00
Cerveciento
e44c477f0f DB/Locales: Add missing esES & esMX quest locales (Part 162)
Closes #26535

(cherry picked from commit 98bb3c831a)
2022-03-10 20:35:41 +01:00
Cerveciento
605e8829db DB/Locales: Add missing esES & esMX quest locales (Part 161)
Closes #26533

(cherry picked from commit 26cc8e1e20)
2022-03-10 20:34:31 +01:00
Cerveciento
1ef7fe1c60 DB/Locales: Add missing esES & esMX quest locales (Part 160)
Closes #26526

(cherry picked from commit 5c0b6b524f)
2022-03-10 20:33:22 +01:00
Shauren
1f6497f04e Core/AreaTriggers: Add missing 9.2 changes 2022-03-10 19:59:13 +01:00
offl
dfd72f01e2 DB/Quest: Prevent learning both Gnomish & Goblin Engineering
Closes #25855

(cherry picked from commit 1004a173a1)
2022-03-10 16:51:00 +01:00
offl
a810ae6409 DB/Creature: Irradiated Burrower / Pillager
Closes #25856

(cherry picked from commit 80711f5ea1)
2022-03-10 16:42:50 +01:00
offl
a3ac6f6d1f DB/Quest: Rework 'Iron Rune Constructs and You: The Bluff' (11491)
Closes #26307

(cherry picked from commit 895ec09adf)
2022-03-10 16:31:39 +01:00
offl
0e3d05775e DB/GameObject: Add two more Emerald Acorn
(cherry picked from commit fb7aa7796a)
2022-03-10 16:18:53 +01:00
illfated
477edc6235 DB/Quest: Remove wrong questender of 'Vengeful Souls' (10842)
Closes #26530

(cherry picked from commit bf1ff3f5ea)
2022-03-10 16:10:36 +01:00
offl
89b5a03f9e DB/Quest: Rework 'Freedom for All Creatures' (2969)
Closes #26519

(cherry picked from commit b786d7b9c6)
2022-03-10 16:09:54 +01:00
Shauren
15ff8fff36 Build: Set correct year in VER_LEGALCOPYRIGHT_STR
(cherry picked from commit 68a490923d)
2022-03-10 16:07:54 +01:00
Shauren
db3eb418b8 Core/Creatures: Fixed loading ModExperience from database
Closes #27858
2022-03-09 23:45:53 +01:00
Shauren
a5f107dafc Core/Utilities: Fixed child process console output being incorrectly cut off at first newline 2022-03-09 16:22:04 +01:00
Ovahlord
209b90cfdd Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries
(cherry picked from commit d4f71131f0)

(cherry picked from commit edcaac6c95)
2022-03-09 15:30:23 +01:00
Cerveciento
15b1571767 DB/Locales: Add missing esES & esMX quest locales (Part 159)
Closes #26525

(cherry picked from commit aa070ebf86)
2022-03-09 15:26:19 +01:00
Cerveciento
faac99ebd5 DB/Locales: Add missing esES & esMX quest locales (Part 158)
Closes #26524

(cherry picked from commit e2befec61a)
2022-03-09 15:25:31 +01:00
Cerveciento
444f1fe9f6 DB/Locales: Add missing esES & esMX quest locales (Part 157)
Closes #26520

(cherry picked from commit d7074d1099)
2022-03-09 14:59:24 +01:00
HelloKitty
a67bb1f575 Core/Map: Added Map::SetZoneOverrideLight std::chrono overload (#26486)
* Core/Map: Added Map::SetZoneOverrideLight std::chrono overload

* Scripts: Replace Map::SetZoneOverrideLight usages with new std::chrono overload

* Core/Map: Remove non-chrono Map::SetZoneOverrideLight overload

(cherry picked from commit e33c4b8f7f)
2022-03-09 14:56:04 +01:00
Edder
4dbacb6985 Core/Vehicle: Setting home position of creature passenger on AtEngage (#26482)
Co-authored-by: Edder <d.rosenauer@gmail.com>
(cherry picked from commit fb88a1409f)
2022-03-09 14:55:40 +01:00
Mikhail Redko
9e6def8ae2 Core/Console: Improve ReadWinConsole logic and cosmetic changes (#26402)
* Core/Console: Improve ReadWinConsole logic and cosmetic changes

* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes

* Fix codestyle

* Removed auto

* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console

* Core/Misc: Cast Difficulty to uint32 for output to console

Co-authored-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit 6c12f45f3b)
2022-03-09 14:55:18 +01:00
offl
ba51fb9ccb DB/Creature: Remove few more evil flags
Ref #25764

(cherry picked from commit 7ff98464ad)
2022-03-09 14:41:12 +01:00
offl
3764a439fb DB/Creature: Remove more evil flags
Ref #25764

(cherry picked from commit 5081b0c499)
2022-03-09 14:39:46 +01:00