Commit Graph

33662 Commits

Author SHA1 Message Date
offl
655bb94f8e DB/Quest: Rework 'The Archmage's Staff' (10173) 2021-01-04 03:59:13 +02:00
jackpoz
435d50bf2e SQL: Fix world update script 2021-01-04 00:06:07 +01:00
jackpoz
b13d431ba2 SQL: Fix auth db db structure 2021-01-03 23:03:27 +01:00
Shauren
8d450f3f07 Core/Commands: Add .reload vehicle_template
(cherry picked from commit 4ca15ec065)

# Conflicts:
#	sql/base/auth_database.sql
#	src/server/game/Accounts/RBAC.h
2021-01-03 22:51:53 +01:00
Sevi
6392d9ac48 Core/Vehicles: add a way to delay the Vehicle despawn Time if its needed.
* New database table `vehicle_template` holds info for despawn delay with option to extend it in the future

(cherry picked from commit c7b10d3c5f)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Vehicle/Vehicle.cpp
#	src/server/game/Globals/ObjectMgr.cpp
#	src/server/game/Globals/ObjectMgr.h
2021-01-03 22:10:55 +01:00
jackpoz
ed975ef4c0 CI/Circle CI: Add codestyle check
Don't leave 2 blank lines, 1 is enough.
2021-01-03 11:50:56 +01:00
Kargatum
a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
Aurelio Arcabascio
4ea64b515a 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
2021-01-02 19:10:26 +01:00
Treeston
94c03b2107 Core/Maps: Move some more Map internals to actually be... internals. 2021-01-01 04:03:52 +01:00
Aokromes
b8ac98dd1a New year 2021-01-01 00:19:17 +01:00
jackpoz
1cafd4ef74 Core/Misc: Fix Windows 32 bits build
Close #25789
2020-12-31 19:55:55 +01:00
Treeston
803dc789e4 Core/Maps: All RespawnInfo* handed to outside code are now RespawnInfo const*, to signify that outside code has zero business changing these. 2020-12-31 18:57:18 +01:00
Shauren
7d70fbc64c Core/RBAC: Reserve permission id 2020-12-31 12:52:31 +01:00
Giacomo Pozzoni
96b289cadb 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
2020-12-30 21:18:00 +01:00
Treeston
f8afcec9f3 Core/Maps: move pooling hand-off outside of Map::CheckRespawn (PR#25785)
fixes #25777
2020-12-30 21:08:22 +01:00
jackpoz
0ad1854d1c Scripts/ICC: Fix teleporter not removing players from Gunship
A more generic solution might be better, maybe depending on spell flags

Ref #25652
2020-12-28 12:38:34 +01:00
Giacomo Pozzoni
aabd2b49e2 Core/Maps: Attempt to fix picking the wrong min height (#25771)
Close #25652
2020-12-28 12:36:52 +01:00
Sevi
a843d8b10c Core/Vehicles: Add missing caster guid check
Merges #25773

(cherry picked from commit e26122dc54)
2020-12-28 11:55:55 +01:00
Shauren
7817f18c24 Core/Vehicles: Treat entering other vehicles mounted on main vehicle as swapping seats
(cherry picked from commit 110564e757)
2020-12-28 11:55:55 +01:00
Shauren
fe89e835fb Core/SmartAI: Reserve a param for SMART_ACTION_SOUND master branch specific functionality, for compatibility reasons 2020-12-27 22:28:27 +01:00
jackpoz
ed1c0b6ec9 Core/Maps: Partially revert 0c69316714
Revert define to constexpr as this also broke some calculations
2020-12-27 20:22:35 +01:00
jackpoz
1e3d85e283 Core/Maps: Partially revert 0c69316714
The development will continue in a PR
2020-12-27 19:33:52 +01:00
jackpoz
01b1f20d3e COre/Misc: Remove whitespace 2020-12-27 19:28:31 +01:00
jackpoz
0c69316714 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
2020-12-27 18:24:53 +01:00
jackpoz
9994459bd1 Scripts/Commands: Include map min height in ".gps" command 2020-12-27 17:14:22 +01:00
offl
f62306f52d Core/Scripts: Add missing spells to Black Morass 2020-12-27 03:13:40 +02:00
offl
8ca575ed52 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
2020-12-27 03:06:31 +02:00
Cerveciento
9f7df813c5 DB/Locales: Add missing esES & esMX quest locales (Part 79)
Closes #25766
2020-12-27 03:03:40 +02:00
Cerveciento
06e5dfc6cf DB/Quest: Add missing CompletionText to 2 quests
Closes #25752
2020-12-27 03:03:23 +02:00
offl
290f2c2fbf DB/Creature: Replace unit flags stun & immune with auras 2020-12-27 03:02:56 +02:00
offl
15b37ba15a DB/Creature: Add conditions to Steam Tonk's spells & misc fixes
Ref ed8bf7f0e2 Updates #9373
2020-12-27 03:02:19 +02:00
Ovah
527db2170b Core/Units: do not send power update packets when gaining power via energize spell effects to match retail behavior (#25599)
This fixes possible clientside visual issues where power is being added twice until the next update_object packet is being sent
2020-12-27 00:05:37 +01:00
Ovah
b7ba856b63 Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement (#25623)
* Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement for units

SMART_ACTION_SET_AI_ANIM_KIT (parameter 1: animKitId)
SMART_ACTION_SET_HOVER (parameter1: enable/disable)

* Update SmartScriptMgr.cpp

* Update SmartScript.cpp

* removed SMART_ACTION_SET_AI_ANIM_KIT since it's reserved for master
2020-12-26 23:31:25 +01:00
Gildor
8217519ea2 Core/Visibility: Split BG/Arena visibility settings (#25690) 2020-12-26 23:30:16 +01:00
Giacomo Pozzoni
3b2c878dd0 Core/Spells: Implemented personal summons (#19231) (#25765)
* Core/Spells: Implemented personal summons (#19231)

* By default determined by summon property flag SUMMON_PROP_FLAG_PERSONAL_SPAWN

Closes #18254

(cherry picked from commit b7bb5e6a98)

# Conflicts:
#	src/server/game/Combat/ThreatManager.cpp
#	src/server/game/DataStores/DBCEnums.h
#	src/server/game/Entities/Creature/TemporarySummon.cpp
#	src/server/game/Entities/Creature/TemporarySummon.h
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/Entities/Object/Object.h
#	src/server/game/Maps/Map.h
#	src/server/game/Spells/SpellEffects.cpp

* Build fix

* Implement feedback

* Fix parameters passed in wrong order
2020-12-26 22:32:01 +01:00
jackpoz
e8b78acbee CI/GitHub: Apply branch label to PRs when they are opened
Apply branch label to PRs when they are opened instead of having a cron job that runs every 5 minutes. This uses the "new" github action type "pull_request_target"

(cherry picked from commit 89cfced1b5)

# Conflicts:
#	.github/workflows/pr-labeler.yml
2020-12-26 14:04:20 +01:00
offl
bb94aec975 Core/Scripts: Add missing spells to Violet Hold 2020-12-26 02:12:39 +02:00
offl
85d614fe8d DB/Spell: Add effects to all summoning spells from Violet Hold 2020-12-26 00:38:27 +02:00
offl
d9785294fe DB/Creature: Use serverside spells to activate taxi at Wyrmrest Temple 2020-12-26 00:38:10 +02:00
offl
0801351285 DB/Creature: Wyrmrest Protector & Warden of the Chamber 2020-12-26 00:37:51 +02:00
offl
d58ac3a10a DB/Spell: Add effects to some serverside spells 2020-12-25 00:42:12 +02:00
offl
5efb29c66f DB/Quest: Update 'Cycle of Life' (12454) 2020-12-25 00:41:56 +02:00
offl
be615b28d0 DB/Quest: Rework 'The Honored Ancestors' (11605) 2020-12-25 00:41:36 +02:00
offl
2094bc5380 DB/Quest: Update 'Ebon Blade Prisoners' (12982) 2020-12-25 00:41:16 +02:00
Cerveciento
95c4fcdeaf DB/Locales: Add missing esES & esMX quest locales (Part 78)
Closes #25753
2020-12-23 21:44:44 +02:00
Cerveciento
588755cf1f DB/Locales: Add missing esES & esMX quest locales (Part 77)
Closes #25751
2020-12-23 21:44:25 +02:00
Cerveciento
323ba8f0f8 DB/Locales: Add missing esES & esMX quest locales (Part 76)
Closes #25747
2020-12-23 21:44:05 +02:00
offl
cce23a2d4b DB/Creature: Update stats & auras of some creatures 2020-12-23 21:43:43 +02:00
offl
a145b95e1d DB/Quest: Update 'The Seer's Crystal' & 'Corki's Gone Missing Again!' 2020-12-23 21:43:06 +02:00
offl
e372375ef1 DB/Instance/Sunwell Plateau: Overhaul part 3 2020-12-23 21:42:49 +02:00