Commit Graph
38843 Commits
Author SHA1 Message Date
Mikhail Redko f258d2443f Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish (#25802)
* Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish

* Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_08_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit a9db8a9b9a2f40ade5038c68321f0e9f4f566dcf)
2022-03-05 22:19:26 +01:00
offl a3f93b2901 DB/Creature: Remove UNIT_FLAG_PVP since no longer used
Ref #25764

(cherry picked from commit 12a3557fb2b881cc0f5c3db5968826ceb45279e3)
2022-03-05 21:52:39 +01:00
offl 7b0ce99b84 DB/Creature: Remove serverside unit flags from creature table
Ref 1f4b5c2f5646c6eaae336b54a762868a71cddb67

(cherry picked from commit 8e8e67f38ce45f496142cfd7749961902337347d)
2022-03-05 21:52:12 +01:00
Cerveciento aa29703438 DB/Locales: Add missing esES & esMX quest locales (Part 86)
Closes #25805

(cherry picked from commit abe8fb01e066a2021fd8b67e1dbaad4759e57f6d)
2022-03-05 21:50:59 +01:00
offl eeac5484be DB/Creature: Update stats of some creatures
(cherry picked from commit 125fb3e5fb4c5887f0adea873a34edb84a1959e4)
2022-03-05 21:50:10 +01:00
offl c0e45e42ba DB/Creature: Replace UNIT_FLAG_CONFUSED by auras
(cherry picked from commit 88f1f193dfc79e31bd51d4e7fb8c4cd7fcd3cdf6)
2022-03-05 21:48:51 +01:00
offl d4af712b3e DB/Creature: Update stats & auras of some creatures
(cherry picked from commit 46fa4c2a96cc4a3dee3a95bc63bcc429ff5c95f2)
2022-03-05 21:48:22 +01:00
offl 920908133f DB/Creature: Replace various unit flags by auras
(cherry picked from commit e088c941d8e0082607cfa12e410da4a329097e41)
2022-03-05 21:47:48 +01:00
Treeston d8de3ac118 Core/Warden: Max packet size 500 -> 450
(cherry picked from commit de33d50c1940512985887f916118014c98b53ecb)
2022-03-05 21:47:08 +01:00
Mikhail Redko 81555a8ea4 Core/Misc: Remove unneeded null-terminator after switch from wchar_t to std::wstring in 309851e. Fixes creation characters with declined russian names (#25797)
Closes #23775

(cherry picked from commit eaa22b8a1722fd362bf5ef2c6944b5c50b121afd)
2022-03-05 21:46:57 +01:00
offl facb6dd9f9 DB/Creature: Remove UNIT_FLAG_REMOVE_CLIENT_CONTROL
Ref #25764

(cherry picked from commit a0da54d66fd91b0a247151ea13db77e227ffc962)
2022-03-05 21:46:48 +01:00
offl bb9b2f1367 DB/Creature: Restore incorrectly removed movement states
Ref 6d3c01732d27daa4507bd93dc8109b0a955b1dc8

(cherry picked from commit 6bbf734f404969b29a5dca03612a08ad58fbf7bf)
2022-03-05 21:46:19 +01:00
Cerveciento 4efc88664b DB/Quest: Remove NULL as string in CompletionText
Closes #25799

(cherry picked from commit 0e3b28c02d8f7a1304e74b160f521e18faf4e466)
2022-03-05 21:45:46 +01:00
Cerveciento 5f150efc1b DB/Locales: Add missing esES & esMX quest locales (Part 85)
Closes #25800

(cherry picked from commit 0852159d24bcd94716ba657279e7856642e81724)
2022-03-05 21:44:45 +01:00
Cerveciento 3b72d4ffb8 DB/Locales: Add missing esES & esMX quest locales (Part 84)
Closes #25798

(cherry picked from commit ce8a74753bf1e1e49fc10cd1f9046ff69e208e74)
2022-03-05 21:43:48 +01:00
Cerveciento adc23dbfcc DB/Locales: Add missing esES & esMX quest locales (Part 83)
Closes #25784

(cherry picked from commit c2ea6c94dcd7955c00e969a13038686de233a2c8)
2022-03-05 21:43:21 +01:00
Cerveciento 80b72d3c27 DB/Locales: Add missing esES & esMX quest locales (Part 82)
Closes #25783

(cherry picked from commit 32c184375dd6b16f3d469cfee3769a78266ae1ed)
2022-03-05 21:42:14 +01:00
Cerveciento 4c2a093b17 DB/Locales: Add missing esES & esMX quest locales (Part 81)
Closes #25780

(cherry picked from commit d053cb260967831a873509fa362d9450ec7c3db1)
2022-03-05 21:41:10 +01:00
Cerveciento 624690ac9f DB/Locales: Add missing esES & esMX quest locales (Part 80)
Closes #25779

(cherry picked from commit 5ca8f1fceee50fcd1d98e079061aa063e41617cf)
2022-03-05 21:40:22 +01:00
offl 87360bd6e6 DB/Creature: Remove serverside unit flags
Ref #25764

(cherry picked from commit 1f4b5c2f5646c6eaae336b54a762868a71cddb67)
2022-03-05 21:39:55 +01:00
offl bb18573f69 DB/Creature: Remove DisableGravity if not really needed & not present as difficulty flag
(cherry picked from commit 6d3c01732d27daa4507bd93dc8109b0a955b1dc8)
2022-03-05 21:39:20 +01:00
offl e64c96d199 DB/Quest: Rework 'Rescuing Evanor' (11681)
(cherry picked from commit 4eafa57adb427841704b9b9b4ea44f0ad767fe95)
2022-03-05 21:38:31 +01:00
offl ed1b3448f0 DB/Creature: Verify & update positions of creatures in Sanctum of the Stars
(cherry picked from commit 14da6e3109e3dfe429dd978085d4bb52f0bf0f77)
2022-03-05 21:37:32 +01:00
offl dc819efeeb DB/Quest: Implement 'The Deadliest Trap Ever Laid' (11097)
Updates #6318

(cherry picked from commit c09bd08f811dc97d94fc8aed5a8179a668ff001b)
2022-03-05 21:37:00 +01:00
offl 128dc00bea DB/Quest: Update 'The Stones of Vekh'nir' (10565)
(cherry picked from commit 6af98634d86f6652cfe876b5f0f55acf33daacd7)
2022-03-05 21:35:47 +01:00
offl e0ccfefb46 DB/Quest: Rework 'Finding the Keymaster' (10256)
(cherry picked from commit 8a66df5a8507d6db19a9f67f0c5359425643aacb)
2022-03-05 21:35:14 +01:00
offl 5e3920d117 DB/Quest: Rework 'The Archmage's Staff' (10173)
(cherry picked from commit 655bb94f8ea9f9c8fa388eb8523dea7e6d372a5b)
2022-03-05 21:34:09 +01:00
jackpoz f32a7ed27d CI/Circle CI: Add codestyle check
Don't leave 2 blank lines, 1 is enough.

(cherry picked from commit ed975ef4c0e614addc069785f23c1b7f522f3b8e)
2022-03-05 21:13:38 +01:00
Shauren 8514164d43 Core/Proto: cleanup double newlines in generated code 2022-03-05 21:13:29 +01:00
Shauren a7c56710f5 Contrib: Adjust protobuf generator to comply with codestyle checks on ci 2022-03-05 21:11:50 +01:00
Kargatum 373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
Aurelio Arcabascio 05a9b2d2cb Core/Player: auto-attacked player stands up from sit or sleep state (#25684)
* Fixed Auto Attack bug on sitting player

* Victim now stands during sleep and stand emotes

(cherry picked from commit 4ea64b515aa952662dce11fd1012c566ae0d2449)
2022-03-05 19:41:18 +01:00
Treeston 5b9fec5f0b Core/Maps: Move some more Map internals to actually be... internals.
(cherry picked from commit 94c03b2107ad6603aaf185d58d63480e79c97e76)
2022-03-05 17:12:51 +01:00
Treeston b5f3a6fd80 Core/Maps: All RespawnInfo* handed to outside code are now RespawnInfo const*, to signify that outside code has zero business changing these.
(cherry picked from commit 803dc789e42ea2298a8bd1822849b6f2df82efe6)
2022-03-05 17:12:23 +01:00
Giacomo Pozzoni da0d9ee283 Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance (and other SMART_ACTION_CAST fixes) (#25778)
* Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance

Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance, always making the action trigger.

* Fix SMART_ACTION_CAST with SMART_EVENT_FLAG_NOT_REPEATABLE not casting the spell at all if rolled chance was successful but creature couldn't cast the spell

* Prevent linked actions if SMART_ACTION_CAST couldn't be completed and will be retried later

(cherry picked from commit 96b289cadbf304e427ddbd281d1a6f592af612a7)
2022-03-05 17:11:58 +01:00
Treeston a8d00ddd69 Core/Maps: move pooling hand-off outside of Map::CheckRespawn (PR#25785)
fixes #25777

(cherry picked from commit f8afcec9f3efc58ce8a38a6c63e2ebfc24d2e01d)
2022-03-05 17:07:46 +01:00
jackpoz abbac041bf Scripts/ICC: Fix teleporter not removing players from Gunship
A more generic solution might be better, maybe depending on spell flags

Ref #25652

(cherry picked from commit 0ad1854d1c6a3b6ff93e71272c919f1f5f11d5ed)
2022-03-05 17:03:54 +01:00
Giacomo Pozzoni 30ebecc0de Core/Maps: Attempt to fix picking the wrong min height (#25771)
Close #25652

(cherry picked from commit aabd2b49e2710e00c39c4b4f22fef08aa029d4db)
2022-03-05 17:03:14 +01:00
jackpoz 90a05037cf Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75
Revert define to constexpr as this also broke some calculations

(cherry picked from commit ed1c0b6ec9232cc638fa242ea839c4645bb4be07)
2022-03-05 17:03:02 +01:00
jackpoz bea8894bce Core/Maps: Partially revert 0c69316714d0558e32462f5401197fe1e803ae75
The development will continue in a PR

(cherry picked from commit 1e3d85e2839c5ee3170223f4d985eecd527c5533)
2022-03-05 17:02:38 +01:00
jackpoz 26962127a5 COre/Misc: Remove whitespace
(cherry picked from commit 01b1f20d3ea1f1dca3d614396634c85646b77ff8)
2022-03-05 17:02:30 +01:00
jackpoz c14f4dc835 Core/Maps: Use the same logic to calculate grid coords to avoid mismatches
Use the same logic of (CENTER_GRID_ID - x / SIZE_OF_GRIDS) in GridMap::getMinHeight() as Map::GetGrid() to avoid coord grid mismatches caused by floating point precision, i.e. getting the wrong grid.
Replace defines with constexpr in grids to make debugging easier.

Closes #25652

(cherry picked from commit 0c69316714d0558e32462f5401197fe1e803ae75)
2022-03-05 17:02:19 +01:00
jackpoz 13bf0e71b9 Scripts/Commands: Include map min height in ".gps" command
(cherry picked from commit 9994459bd197d5555cfa16ab3d35d9c362a563fd)
2022-03-05 17:01:36 +01:00
offl c6df84da70 Core/Scripts: Add missing spells to Black Morass
(cherry picked from commit f62306f52d28f8c16047b27bd741d4356958da75)
2022-03-05 16:59:14 +01:00
offl c7f64a70a0 DB/Spell: Add effects to more spells from Violet Hold
Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged

(cherry picked from commit 8ca575ed52fb4ee8149302ecf33b4bb0c33e5eb5)
2022-03-05 16:58:55 +01:00
Cerveciento 9f6bdd5d25 DB/Locales: Add missing esES & esMX quest locales (Part 79)
Closes #25766

(cherry picked from commit 9f7df813c56f9ec4cd2a0e533d1396c211b29584)
2022-03-05 16:51:13 +01:00
Cerveciento 344be17b58 DB/Quest: Add missing CompletionText to 2 quests
Closes #25752

(cherry picked from commit 06e5dfc6cf68e02b0f8bb0378830523e7591a8fc)
2022-03-05 16:50:27 +01:00
offl fdc2b173b2 DB/Creature: Replace unit flags stun & immune with auras
(cherry picked from commit 290f2c2fbf7b77ba7ff94702aeedd54b37acac1b)
2022-03-05 16:49:41 +01:00
offl eed03fc797 DB/Creature: Add conditions to Steam Tonk's spells & misc fixes
Ref ed8bf7f0e2e67ca1eb65ffa05518fe29df526642 Updates #9373

(cherry picked from commit 15b37ba15aacafd4335e5b0726044acbf4cdf1f4)
2022-03-05 16:48:58 +01:00
Ovah dde5a3e326 Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement (#25623)
SMART_ACTION_SET_HOVER (parameter1: enable/disable)

* added SMART_ACTION_SET_AI_ANIM_KIT as immediately deprecated

(cherry picked from commit b7ba856b63da4fa1b0f916de357ff85624b8b831)
2022-03-05 16:46:42 +01:00