Commit Graph

33295 Commits

Author SHA1 Message Date
Carbenium
697fb48747 Tests: Use .empty() to test for empty string instead of == "" 2020-09-06 22:03:09 +02:00
Giacomo Pozzoni
c68faf108e Core/Maps: Always update the grid of player summons even if far away (#25406)
* Core/Maps: Always update the grid of player summons even if far away

* Code cleanup

* Use a vector instead of unordered_set
2020-09-06 21:38:12 +02:00
Ovahlord
5810699ee0 DB/Items: corrected proc flag and cooldown for The Black Heart trinket 2020-09-06 21:37:15 +02:00
jackpoz
5498f3be96 Core/PathFinding: Enable pathfinding (MMaps) by default 2020-09-06 21:34:19 +02:00
Keader
ff5c2653af DB/Spells: Fixed Unchained Magic proc from item cast
Like: Maghia's Misguided Quill
2020-09-06 16:26:30 -03:00
Keader
8a53e7e1c3 Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST 2020-09-06 16:02:11 -03:00
Treeston
fc3feebee9 Scripts/IcecrownCitadel: correct Rimefang's script name 2020-09-06 21:00:38 +02:00
Treeston
c9356190b7 Core/Scripts: Remove now-unused WaypointPathStarted hook. WaypointStarted does everything it used to do, anyway. b3694bf follow-up. 2020-09-06 19:44:47 +02:00
jackpoz
b3694bf47b Core/SAI: Fix SMART_EVENT_WAYPOINT_START not being called at every waypoint checking wrong path id parameter
Remove multiple calls to SMART_EVENT_WAYPOINT_START for the 1st waypoint.
Closes #24760
2020-09-06 17:37:26 +02:00
Treeston
bcdbdd6f23 Core/Authserver: Removal of sha_pass_hash, compatibility fields, and everything that uses them (PR #25156) 2020-09-06 16:04:10 +02:00
Treeston
3b1e911da3 Scripts/Commands: trinity_string updates 2020-09-06 01:40:00 +02:00
Treeston
47c7910036 Core/Combat: When entering a vehicle, transfer any current threat to that vehicle. Closes #1340. 2020-09-06 01:22:19 +02:00
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