Commit Graph
32841 Commits
Author SHA1 Message Date
ariel- 1e294f753e DB/Schema: add unsigned to some guid fields in characters
(cherry picked from commit 0c698b4567044f67eb52f6459308fb6edf693966)
2020-04-27 12:25:52 +02:00
Keader 14cf4c0692 Core/Scripts: Fixing Carbonion/Travis
(cherry picked from commit 270a6396783ccb2b8dff181fca2760adb47d2110)
2020-04-27 12:25:52 +02:00
Keader 287ed04c8b Core/Scripts: Fixed Baltharus the Warborn clones
*Clones not working after wipe
*Changed Clone Action for a event (to check casting)

(cherry picked from commit 6b8c4fb74feb2210d2fb9ea60ec23ab407ffeb39)
2020-04-27 12:25:52 +02:00
Dr-J 2ff501d15f DB/Misc: Fix error in my last commit
(cherry picked from commit 650a2d3d5062badb58c806901f4db6217a81e05e)
2020-04-27 12:25:52 +02:00
Keader 410585361a Core/Scripts: Typo in last commit
(cherry picked from commit a2a8ffe72328590b43481b430b9a6f281ccdd4be)
2020-04-27 12:25:52 +02:00
Keader fc2872e16c Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor Putricide
Closes #18925

(cherry picked from commit 8d198cb36050e63811f8f7f81a3daf2a3c961950)
2020-04-27 12:25:52 +02:00
Dr-J d74a21a1b8 DB/SAI: Underbog
*  Rescript underbog  lord has regrowth is not linked to hp as was previously scripted infact you don't even have to damage npc for it to use this abilitie and it should stack 10 times increasing damage by 150% not only cast once hp is below 50%, also cast knock-away on range instead of ic so it only uses this abilitie If there is a target in range rather than ic even if there is no target in range
* Naturalist bite - make gossip and option available in heroic mode too not only normal mode

(cherry picked from commit 7bfc62639a8d6d378900c7878a0d1763e62344ee)
2020-04-27 12:25:52 +02:00
Keader 7edc9246b8 DB/LinkedRespawn: Fixed evade issue in Ruby Sanctum mini-bosses
(cherry picked from commit 43c19f17abcf58a7edf3a17e419f4991e1ad100e)
2020-04-27 12:25:52 +02:00
xinef1 e36497aef5 Core/Misc: Always reward all necessary reputations on creature kill (#19106)
(cherry picked from commit fb2aebe46be7439a8f9b99067edb27fd844c1a28)
2020-04-27 12:25:52 +02:00
ariel- 76dde4e3e9 DB/Spell: fix some enchants proc chances and reduced effects for levels > 60
- Deathfrost:  Slow effect should not work on targets 73 or higher.
- Icy Weapon: proc chance reduced, made to a %-per-hit, should only proc on white hits
- Unholy Weapon: proc chance increased to 3 PPM (based on comments data)
- Battlemaster: should only proc on white hits
- Crusader: effect reduced for players above 60

Closes #7789

(cherry picked from commit e0376d56444f3fa895d321e88b98848a9c9074c7)
2020-04-27 12:25:52 +02:00
xinef1 8df577ebfe Corrected points per level calculation for some spells (#19105)
(cherry picked from commit 9142c778dd861eda188ba868433af05038c4e13c)
2020-04-27 12:25:52 +02:00
Xinef 6f7ff9a3ef Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Closes #18905

(cherry picked from commit 7c7b877c3fc0292f33f54f4e8b514be3bf8514a6)
2020-04-26 22:58:51 +02:00
Shauren 0763844fb6 Core/Misc: Improve enum flags with type safe operators 2020-04-26 15:27:48 +02:00
Ujp8LfXBJ6wCPR d994707ba1 Core/Misc: Remove redundant copy constructor for Position and WorldLocation (#24151)
* Default compiler generated ones do the same

(cherry picked from commit b92e4af460e72f8e6180cd5e6aac0250d64800e0)
2020-04-26 11:42:47 +02:00
Shauren 7fdeb259ba Build system: Set -Wno-deprecated-copy only for clang 10 2020-04-26 01:48:41 +02:00
Shauren 7272508cb4 Core: Fix clang 10 warnings 2020-04-26 01:25:50 +02:00
jackpoz 70c2b4e5ba Scripts/GruulsLair: Fix indentation
(cherry picked from commit 9d77b2be3b72810db1f12b6fde5e39583d521bc9)
2020-04-26 00:51:55 +02:00
Ovah 030d942efe Scripts/Antorus: implement Garothi Worldbreaker encounter for normal and heroic difficulty
* added base script support for the encounter for normal and heroic difficulty
* added instance script for Antorus the Burning Throne
* added sniffed template data for involved gameobjects
* added encounter related spawns to Antorus the Burning Throne
* added instance encounter entry for Garothi Worldbreaker
2020-04-25 19:04:31 +02:00
Shauren af76dc6b88 Core/DataStores: Speedup loading hotfix database and change hotfix database character set to utf8mb4 2020-04-25 17:01:26 +02:00
Shauren 96ec1f16d4 Core/Misc: Fixed wrong db field accessor functions use 2020-04-25 00:30:45 +02:00
Shauren d6d67a9766 Core/DBLayer: Fix build using TRINITY_DEBUG 2020-04-25 00:15:26 +02:00
Shauren ac671cc7ec Core/Items: Updated heart of azeroth level cap and knowledge starting date for 8.3 2020-04-24 22:16:25 +02:00
Giacomo Pozzoni 60b338881d Core/Grid: Code cleanup
Remove unused method that should not be used anyway
2020-04-24 19:40:26 +02:00
Ovah fb0d2ed2b9 Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases (#24404) 2020-04-24 19:00:19 +02:00
Shauren 1a415147b9 Merge pull request #24433 from funjoker/cherry-picks 2020-04-24 18:45:56 +02:00
Shauren 72ffe65dac Core/Units: Fixed bug in source of cherry-picked commit 2020-04-24 18:44:06 +02:00
ariel- 04b94544ec DB/Creature: fix regenerating health for vehicles in Wintergrasp and BGs
Closes #950

(cherry picked from commit b9d456fad1e39943502218b3fe065be36810e139)
2020-04-24 17:18:51 +02:00
ariel- 3d79b5bdea Revert "Core/Battlegrounds: disable health regen for battleground vehicles (#19183)"
This reverts commit 85af0a06305e6f771482da973244737e47bcf34c.

(cherry picked from commit 006e90339ec27b7d487c9a58dc8a212058a8174c)
2020-04-24 17:18:51 +02:00
ariel- 6490095520 Core/Scripts: Fix a logic fail that overriden the script of an entity that changed entry
Closes #19389

(cherry picked from commit dafa7267737ac11b7abb4dcf9943c24ab1e71a8a)
2020-04-24 17:18:51 +02:00
Killyana 8e624be747 DB/SAI: Restore some deleted SAI scripts
Closes #19381
By @Vyrsenth

(cherry picked from commit ae624c7d8189e7964a69425a9edde05724d51f72)
2020-04-24 17:18:51 +02:00
Aokromes 75fa2f5eab Rename 2017_04_27_01_world.sql to 2017_03_27_01_world.sql
(cherry picked from commit d0a1a5de0bd438e3bf491b688de203ff183931d4)
2020-04-24 17:18:51 +02:00
Gustavo 53f79acda9 Core/Battlegrounds: disable health regen for battleground vehicles (#19183)
Updates issue #950

(cherry picked from commit 85af0a06305e6f771482da973244737e47bcf34c)
2020-04-24 17:18:51 +02:00
tkrokli b259614778 Scripts: minimize duplicated enum names in header files (#19377)
* Scripts: Minimize duplicated enum names in header files

This reduces the number of cache resets with the Zapcc compiler

- Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
- Partial cherry-pick of master commit 7eb4512eee
- Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)

(cherry picked from commit f6f36be004c3b8c7d09e0f320d5aabb8a9129109)
2020-04-24 17:18:51 +02:00
ariel- cbcc4601ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope

(cherry picked from commit 83162fafa453c1d34fe23ddd86a43c3dff058300)
2020-04-24 17:18:51 +02:00
ariel- 3f79c9f696 Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same

(cherry picked from commit 2f99fa09c9bacbad376d7a296c3311f94ec8a552)
2020-04-24 17:18:51 +02:00
Killyana 124b014f40 DB: Fix Some DB errors
Ref #18542

(cherry picked from commit 97e54fe4582e59c268bd77020c59f467d0b20327)
2020-04-24 17:18:51 +02:00
ariel- ea0bb7c65e Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
- Cleaned up the mask to be a much nicer enum definition

(cherry picked from commit 66a70088f4ccdeab207a547ae019d4d2692d9f2b)
2020-04-24 17:18:51 +02:00
ariel- 4ec50b35ea Core/Global: reserve storage for script names vector
(cherry picked from commit c8bf1ab5f7e2e44e37c5affbf69c64917dc45c9e)
2020-04-24 17:18:50 +02:00
Aokromes c5869e9087 Rename 2017_99_99_99_world_335.sql to 2017_03_27_00_world_335.sql
(cherry picked from commit 05cbe86455e34b9c8039f692dfa43c6801e3e6de)
2020-04-24 17:18:50 +02:00
xinef1 70d5775d3f Added new creature extra flag which makes npc visible only to dead units
closes #19333

* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql

- file affects creature removed in patch 4.0.3a

* Update Creature.cpp

(cherry picked from commit e72b380b9374c92e5688002bf3a15065419a2ea0)
2020-04-24 17:18:50 +02:00
ariel- 5348db2200 Core/Gameobject: remove virtual from GetScriptId, it's not overriden
(cherry picked from commit 00b547146d5486cb82b30199b3c145c8b5f2f3bc)
2020-04-24 17:18:50 +02:00
tkrokli a0feff65be Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location (#19029)
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.

The changes in this PR makes the action work as intended.

Closes #18760

(cherry picked from commit 6e08051825d3d05ea2bccbe43c0823a40ee08057)
2020-04-24 17:18:50 +02:00
Aokromes 7be8b9cb7d DB/Quest: Challenge Overlord Mok'Morokk
By Fearless18, closes #5208

(cherry picked from commit de4043097e31d7ba968425f0a2ec55a9a1e5b117)
2020-04-24 17:18:50 +02:00
Aokromes 4aa19b20ff DB/Item: Improved Land Mines
By Rushor, closes #10205

(cherry picked from commit ff816f404dea49773678090f20923e25d0565ee0)
2020-04-24 17:18:50 +02:00
Aokromes 4ee1d4b44b DB/Creature: Fix Verifonix faction and reputation
By offl, Closes #19323

(cherry picked from commit 5b3819424706ae34a787ba3e8112ff181a744011)
2020-04-24 17:18:50 +02:00
Aokromes be0de1ce70 DB/Creature: Fix Guardian of Icecrown creature_text typo
By TecDian
Closes #19226

(cherry picked from commit e4492dd0bdda6e9f778993c24889c8aea10f79ab)
2020-04-24 17:18:50 +02:00
ariel- da12320937 Core/Auras: fix a deleted memory access crash
Closes #19319

(cherry picked from commit 01aaafb0834d22ff41d7d9904e59d82a4a7f5381)
2020-04-24 17:18:50 +02:00
Aokromes 054a6a9e2e Rename 2017_03_25_00_world.sql to 2017_03_25_01_world.sql
(cherry picked from commit 9d6902331b4d70152623154964ca0308408ada72)
2020-04-24 17:18:50 +02:00
ccrs 953cdbf205 Fix warning
field '_top' will be initialized after field '_owner'

(cherry picked from commit 2b5c765bcdd57e55b62db70527d85723f5a021eb)
2020-04-24 17:18:50 +02:00
ccrs f135b7aea1 Core/Movement: 96f4c7c followup
(cherry picked from commit 9be7f5f57b897888983a9ca6f441479f3571513c)
2020-04-24 17:18:50 +02:00