Commit Graph

38813 Commits

Author SHA1 Message Date
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
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 4ea64b515a)
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 94c03b2107)
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 803dc789e4)
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 96b289cadb)
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 f8afcec9f3)
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 0ad1854d1c)
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 aabd2b49e2)
2022-03-05 17:03:14 +01:00
jackpoz
90a05037cf Core/Maps: Partially revert 0c69316714
Revert define to constexpr as this also broke some calculations

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

(cherry picked from commit 1e3d85e283)
2022-03-05 17:02:38 +01:00
jackpoz
26962127a5 COre/Misc: Remove whitespace
(cherry picked from commit 01b1f20d3e)
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 0c69316714)
2022-03-05 17:02:19 +01:00
jackpoz
13bf0e71b9 Scripts/Commands: Include map min height in ".gps" command
(cherry picked from commit 9994459bd1)
2022-03-05 17:01:36 +01:00
offl
c6df84da70 Core/Scripts: Add missing spells to Black Morass
(cherry picked from commit f62306f52d)
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 8ca575ed52)
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 9f7df813c5)
2022-03-05 16:51:13 +01:00
Cerveciento
344be17b58 DB/Quest: Add missing CompletionText to 2 quests
Closes #25752

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

(cherry picked from commit 15b37ba15a)
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 b7ba856b63)
2022-03-05 16:46:42 +01:00
Gildor
6b681ebc8a Core/Visibility: Split BG/Arena visibility settings (#25690)
(cherry picked from commit 8217519ea2)
2022-03-05 16:25:30 +01:00
offl
2e7277ada4 Core/Scripts: Add missing spells to Violet Hold
(cherry picked from commit bb94aec975)
2022-03-05 16:21:22 +01:00
offl
1fb79cf50a DB/Spell: Add effects to all summoning spells from Violet Hold
(cherry picked from commit 85d614fe8d)
2022-03-05 16:20:49 +01:00
offl
8c1db35455 DB/Creature: Use serverside spells to activate taxi at Wyrmrest Temple
(cherry picked from commit d9785294fe)
2022-03-05 15:55:08 +01:00
offl
185363d6e1 DB/Creature: Wyrmrest Protector & Warden of the Chamber
(cherry picked from commit 0801351285)
2022-03-05 15:52:04 +01:00
offl
5cd99df03c DB/Spell: Add effects to some serverside spells
(cherry picked from commit d58ac3a10a)
2022-03-05 15:48:57 +01:00
offl
5189ed5e86 DB/Quest: Update 'Cycle of Life' (12454)
(cherry picked from commit 5efb29c66f)
2022-03-05 15:38:01 +01:00
offl
e2b780db44 DB/Quest: Rework 'The Honored Ancestors' (11605)
(cherry picked from commit be615b28d0)
2022-03-05 15:34:46 +01:00
offl
14c7344251 DB/Quest: Update 'Ebon Blade Prisoners' (12982)
(cherry picked from commit 2094bc5380)
2022-03-05 15:28:47 +01:00
Cerveciento
9ca9baa0d1 DB/Locales: Add missing esES & esMX quest locales (Part 78)
Closes #25753

(cherry picked from commit 95c4fcdeaf)
2022-03-05 15:23:57 +01:00
Cerveciento
d72e96c2d5 DB/Locales: Add missing esES & esMX quest locales (Part 77)
Closes #25751

(cherry picked from commit 588755cf1f)
2022-03-05 15:23:28 +01:00
Cerveciento
999d9ae4e7 DB/Locales: Add missing esES & esMX quest locales (Part 76)
Closes #25747

(cherry picked from commit 323ba8f0f8)
2022-03-05 15:22:41 +01:00
offl
1a20bb2c71 DB/Creature: Update stats & auras of some creatures
(cherry picked from commit cce23a2d4b)
2022-03-05 15:21:49 +01:00
offl
7bf7fdb510 DB/Quest: Update 'The Seer's Crystal' & 'Corki's Gone Missing Again!'
(cherry picked from commit a145b95e1d)
2022-03-05 15:19:44 +01:00
offl
96691386fd DB/Instance/Sunwell Plateau: Overhaul part 3
(cherry picked from commit e372375ef1)
2022-03-05 15:19:17 +01:00
offl
fc450f7458 DB/Creature: Root Ironwork Cannon & fix model
(cherry picked from commit 9cff30b37f)
2022-03-05 15:18:46 +01:00
Cerveciento
cd6e944d17 DB/Locales: Add missing esES & esMX quest locales (Part 75)
Closes #25739

(cherry picked from commit 9ae23ef2fd)
2022-03-05 15:17:59 +01:00
Cerveciento
67f9e76522 DB/Locales: Add missing esES & esMX quest locales (Part 74)
Closes #25737

(cherry picked from commit ef1e44928f)
2022-03-05 15:17:35 +01:00
Cerveciento
b57d8b1115 DB/Locales: Add missing esES & esMX quest locales (Part 73)
Closes #25728

(cherry picked from commit 41dd519520)
2022-03-05 15:16:49 +01:00
Cerveciento
d996e5cd13 DB/Locales: Add missing esES & esMX quest locales (Part 72)
Closes #25725

(cherry picked from commit 34cf096106)
2022-03-05 15:15:51 +01:00
offl
75506fd21c DB/Creature: Apprentice Osterkilgr
(cherry picked from commit b40d708021)
2022-03-05 15:15:23 +01:00
offl
46ef68c45f DB/Instance/Sunwell Plateau: Overhaul part 2
(cherry picked from commit f8e2a9faae)
2022-03-05 15:14:44 +01:00
offl
8e80d7156d DB/Instance/Sunwell Plateau: Overhaul part 1
(cherry picked from commit 382f612444)
2022-03-05 15:12:37 +01:00
offl
0ecd84eb83 DB/Spell: Isle of Quel'Danas & Sunwell Plateau area spells
(cherry picked from commit 0d8792a830)
2022-03-05 15:12:02 +01:00
offl
9b6a493ffc DB/Quest: Conditions for 'Winter's Presents' & 'New Year Celebrations!'
Closes #25733

Closes #25734

(cherry picked from commit e51db5cb24)
2022-03-05 15:10:14 +01:00
Cerveciento
0cb2e30c4d DB/Locales: Add missing esES & esMX quest locales (Part 71)
Closes #25713

(cherry picked from commit 8b2fd345e7)
2022-03-05 01:05:09 +01:00
Cerveciento
0d30a5148d DB/Locales: Add missing esES & esMX quest locales (Part 70)
Closes #25703

(cherry picked from commit dd0fbc8661)
2022-03-05 01:04:21 +01:00
Cerveciento
706fe325f1 DB/Locales: Add missing esES & esMX quest locales (Part 69)
Closes #25700

(cherry picked from commit 7eb148e0cb)
2022-03-05 01:03:38 +01:00
Treeston
57f382d91c Game/ChatCommands: Make sure ChatHandler::extractPlayerTarget populates the strtok buffer for non-nullptr returns. Closes #25692, supersedes #25698.
(cherry picked from commit c8c572d980)
2022-03-05 01:02:18 +01:00
Cerveciento
8e4eaae954 DB/Locales: Add missing esES & esMX quest locales (Part 68)
Closes #25695

(cherry picked from commit 0ab9f6bbca)
2022-03-05 01:01:41 +01:00