Commit Graph

33283 Commits

Author SHA1 Message Date
Giacomo Pozzoni
ff26027453 Core/Unit: Fix units on vehicles not dismounting on death (#25404)
* Core/Unit: Fix units on vehicles not dismounting on death

Closes #23095
Issue added in 982643cd96

* Remove leftovers from previous tries
2020-09-05 22:07:17 +02:00
jackpoz
cc64762f06 Core/Arena: Fix Arena.ArenaStartPersonalRating setting not having effect if the player didn't do any arena match before next server restart
Ref #16609
2020-09-05 22:03:26 +02:00
Shauren
1e446b021b Core/Players: Directly store PlayerSpell in m_spells, not as pointer
Closes #25402
2020-09-05 18:00:00 +02:00
jackpoz
28921f191d Core/SAI: Do not allow SMART_EVENT_RESET to call SMART_ACTION_CALL_SCRIPT_RESET
There might be cases where this should be allowed (i.e. if the SMART_TARGET_* is another object) but for now we'll just never allow it.
2020-09-05 12:46:09 +02:00
jackpoz
ca2159bf40 Scripts/Obsidian Sanctum: Fix portals not being visible
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned.
Fixes other occurrences where a similar issue exists.
2020-09-04 22:01:25 +02:00
Giacomo Pozzoni
a58aeb41f4 Core/SAI: Reduce the chance of infinite loops/stack overflows (#25398)
Fixes #24092
2020-09-04 21:25:58 +02:00
Shauren
a02d36f18c Core/Misc: Allow all kinds of non-map containers in grid searchers 2020-09-04 18:34:36 +02:00
Shauren
600a6b5f68 Scripts/Icecrown Citadel: Finish script registration refactoring - RegisterSpellScriptWithArgs 2020-09-04 18:33:22 +02:00
Shauren
b63fa9c42f Scripts/Icecrown Citadel: Fix scriptname conflict 2020-09-04 17:50:29 +02:00
ForesterDev
d04bdd0316 Scripts/ICC: update Lich King scripts to new model (#25396)
* Scripts/ICC: update Lich King scripts to new model

* fix build
2020-09-04 17:03:55 +02:00
ForesterDev
deec517239 Scripts/ICC: update Sindragosa scripts to new model (#25395) 2020-09-04 17:01:53 +02:00
ForesterDev
0b0d5e9bea Scripts/ICC: update Professor Putricide scripts to new model (#25394)
* Scripts/ICC: update Professor Putricide scripts to new model

* fix build
2020-09-04 16:59:46 +02:00
ForesterDev
aac3ae40f7 Scripts/ICC: update Lady Deathwhisper scripts to new model (#25393) 2020-09-04 16:58:57 +02:00
ForesterDev
af78f4ffb5 Scripts/ICC: update Rotface scripts to new model (#25392) 2020-09-04 16:58:16 +02:00
ForesterDev
458867a2e1 Scripts/ICC: update Festergut scripts to new model (#25391) 2020-09-04 16:57:26 +02:00
ForesterDev
71f33d5764 Scripts/ICC: update Valithria Dreamwalker scripts to new model (#25390) 2020-09-04 16:55:41 +02:00
offl
a3d0dfd6e7 DB/SAI: Fix SMART_EVENT_FRIENDLY_IS_CC params 2020-09-04 17:15:23 +03:00
ForesterDev
aedb8b80f3 Scripts/Icecrown Citadel: update Blood Council scripts to new model (#25389) 2020-09-04 11:23:19 +02:00
genion18
d66263bd76 DB/Quest: Add correct action type to give quest credit for 'Protect Kaya'
Closes #25377 Ref c29e3b46af
2020-09-04 03:45:33 +03:00
Cerveciento
cc6430bf30 DB/Locales: Add correct esES & esMX locales to achievement 2516
Closes #25381
2020-09-04 03:45:09 +03:00
Cerveciento
7a4123d2e4 DB/Locales: Add missing esES & esMX quest locales (Part 31)
Closes #25382
2020-09-04 03:44:49 +03:00
Cerveciento
5bbbea9219 DB/Locales: Add missing esES & esMX quest locales (Part 30)
Closes #25378
2020-09-04 03:44:34 +03:00
Cerveciento
7d8ce48029 DB/Locales: Add missing esES & esMX quest locales (Part 29)
Closes #25374
2020-09-04 03:44:13 +03:00
offl
2b4800f06d DB/SAI: Convert SMART_EVENT_FRIENDLY_HEALTH to SMART_EVENT_FRIENDLY_HEALTH_PCT 2020-09-04 03:43:52 +03:00
Treeston
88d446dadf Scripts/Commands: Convert argument parsing of .npc commands
(And I snuck some chat command cleanup in there, more de-cluttering!)
2020-09-04 00:58:23 +02:00
Treeston
35b3ba90b0 Scripts/Commands: Convert argument parsing of gameobject commands 2020-09-03 22:16:57 +02:00
Treeston
f45aa5cac1 Common/Util: Trinity::StringTo<double> support (PR #25364) 2020-09-02 22:04:45 +02:00
Treeston
eaf8fa75a1 Core/Misc: Add support for custom link colors. Clean-up hyperlink validation, no more long-ass defines. Remove UI.ShowQuestLevelsInDialogs. 2020-09-02 22:01:51 +02:00
robinsch
6e8284a8da Core/Player: Fixed incorrect prepared statement parameter types in Player::_SaveBGData
Merges #25379
2020-09-02 17:43:48 +02:00
Houston
8d0f52247f Core/Totem: Immune to all positive spells. (#25326)
* Core/Totem: Immune to all positive spells.

* Fix tabs

* Avoid using magic numbers

* Remove whitespace

Co-authored-by: Moki <moki.play@mail.ru>
2020-09-02 16:41:34 +02:00
Treeston
470f45db7a UnitTests: |Hspell and |Htalent unit testing 2020-09-02 12:42:02 +02:00
Treeston
d0b91f6927 Core/Misc: More DBC std::array refactors, stricter |Hitem checks, and more hyperlink unit tests 2020-09-01 22:02:22 +02:00
Treeston
3fbbe7cfbe Core/Misc: DBC std::array refactors, and |Hachievement unit tests 2020-09-01 00:38:46 +02:00
Cerveciento
b2895f31ec DB/Locale/esES+esMX Texts missing in quests (Part 28)
Closes #25371
2020-08-31 23:11:20 +03:00
Cerveciento
35774de000 DB/Locale/esES+esMX Texts missing in quests (Part 27)
Closes #25362
2020-08-31 23:11:00 +03:00
illfated
550be861fd DB/Texts: Restore incorrectly removed page text (Venture Co. Documents)
Closes #25357 Ref #17377
2020-08-31 23:10:44 +03:00
offl
081f962605 DB/Quest: Add support for 'Vent Horizon' (25212)
Closes #2391
2020-08-31 23:10:25 +03:00
offl
16124f00f8 DB/Quest: Add support for 'We Call Him Steelfeather' & outro events
Closes #6859

Based on dr-j's script
2020-08-31 23:10:06 +03:00
Treeston
5394b2ef0f UnitTests: Add a first set of item hyperlink tests 2020-08-31 16:56:56 +02:00
Shauren
1e8cb1ed1f Core/Chat: Fix achievement and enchant link validation
Closes #25367
2020-08-31 12:48:25 +02:00
Kargatum
277b401df4 Core/Mysql: support MariaDB 10.5 (#25359) 2020-08-30 22:47:48 +02:00
Treeston
86e6438008 UnitTests: Add basic hyperlink unit test 2020-08-30 22:40:33 +02:00
Treeston
fdcb1c8b2e Core/Chat: Correct Hyperlink validation for incomplete achievements. 2020-08-30 14:20:20 +02:00
Treeston
944f49d613 Scripts/Commands: Fix a crash in .help - closes #25360 2020-08-30 13:45:04 +02:00
Treeston
2f7d2ef3e9 Core/ChatCommands: C++17 cleanup (again) (PR #25323) 2020-08-30 02:50:25 +02:00
Ovahlord
c08180d9bc Core/AI: SortByDistance will now sort the referenced list instead of a copy of it. This fixes MinDistance and MaxDistance target selection 2020-08-29 22:49:58 +02:00
Shauren
c1e4cfd07e Core/Config: Restore ability to load additional config files for custom scripts 2020-08-29 22:14:17 +02:00
Treeston
8ce3635d39 UnitTests: Cleanup + StringConvert/ChatCommand tests (PR #25353) 2020-08-29 22:03:22 +02:00
Cerveciento
2c3d3c31b2 DB/Locale/esES+esMX achievement_reward_locale
Closes #25355
2020-08-29 20:46:00 +03:00
offl
b1f22b3070 DB/Quest: Rework support for 'Blueleaf Tubers' (1221)
Closes #25356
2020-08-29 20:45:43 +03:00