Commit Graph

15017 Commits

Author SHA1 Message Date
Houston
f8db738e8d Scripts/Icecrown: Small event of the down Nerub'ar Broodkeep (#25410)
Updates #25193
Co-authored-by: Keader
Co-authored-by: Ovahlord (sucker)
2020-09-08 16:52:53 -03:00
Treeston
bb3d3a82d7 Core/Movement: MoveSplineFlag::animId -> animTier, MoveSpline::GetAnimation() -> GetAnimationTier(), dad1876 follow-up 2020-09-08 17:32:35 +02:00
Treeston
3084170123 Core/Authserver: Get rid of a leftover declaration after 70d6aebafc 2020-09-08 17:17:10 +02:00
NoName
dad187615d Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <vertozor@gmail.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Carbenium <carbenium@outlook.com>
2020-09-08 17:12:52 +02:00
Treeston
9e8915eaac remove trailing whitespace 2020-09-07 18:32:33 +02:00
Treeston
0c7f6ac89f Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful. 2020-09-07 18:25:49 +02:00
Keader
141d3d2718 Core/MotionMaster: Do not generate path to MoveLand 2020-09-07 13:22:14 -03:00
Treeston
00dd337b5d Scripts/Commands: .character command conversion 2020-09-07 15:38:23 +02:00
Peter Keresztes Schmidt
68a4085427 Core/ChatCommands: Move ostream operator into Variant class so we don't pollute std:: (PR #25413) 2020-09-07 00:22:37 +02:00
Treeston
b63d655e20 [3.3.5] Scripts/Commands: .arena command conversion (PR #25407) 2020-09-06 23:36:23 +02:00
Treeston
ce3272f54f Core/Game: Add TC_GAME_API to ItemTemplate, fixes dynamic linking build for unit tests 2020-09-06 22:05:57 +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
jackpoz
5498f3be96 Core/PathFinding: Enable pathfinding (MMaps) by default 2020-09-06 21:34:19 +02: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
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
ForesterDev
aedb8b80f3 Scripts/Icecrown Citadel: update Blood Council scripts to new model (#25389) 2020-09-04 11:23:19 +02: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
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
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