jackpoz
a46c835ed1
Core/LFG: Restore ".lfg queue" command argument handling
2020-09-11 23:39:11 +02:00
Giacomo Pozzoni
9f0b5526f0
Core/Maps: Fixed map min height calculation ( #25449 )
...
(cherry picked from commit f31d907112 )
# Conflicts:
# src/server/game/Maps/Map.h
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-09-11 23:01:24 +02:00
ForesterDev
1c41c5285a
Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model ( #25436 )
2020-09-11 21:20:18 +02:00
ForesterDev
def58965e8
Scripts/ICC: update Blood Queen Lana'thel scripts to new model ( #25434 )
2020-09-11 21:19:03 +02:00
Rushor
02fca032e1
Game/AI: Implement option to move a creature back to Homeposition on Evade. ( #24492 )
...
* Game/AI: Implement option to move a creature back to Homeposition on Evade.
* If ToHomePosition (action param 1) is 1 > Move to last stored position
* If ToHomePosition (action param 1) is 0 > Move to homeposition
* Ref: https://github.com/TrinityCore/TrinityCore/issues/24226
* Add parameter for walkmode
* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition and store point from GetRespawnPosition.
* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition
* Remove broken bits, simplify the code
* Update comments
* Code cleanup
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2020-09-11 21:16:35 +02:00
Winfidonarleyan
9d96e4852a
Dep/fmt: update fmt library to 7.0.3
2020-09-11 19:25:35 +02:00
Maks Szokalski
41188eb535
Add "On" to some gossip methods in AI ( #25415 )
...
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
Treeston
feaaa595ca
Core/ChatCommands: make ExactSequence more readable
2020-09-10 15:19:17 +02:00
Treeston
5189f134ca
Core/Chat: Permissible quest level for hyperlinks, [-1, 127] -> [-1, 32767]. 08064f0 follow-up.
2020-09-10 14:26:50 +02:00
Peter Keresztes Schmidt
8985fc4046
Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431 )
2020-09-10 13:10:01 +02:00
Peter Keresztes Schmidt
0769d77269
Scripts/Commands: Convert argument parsing of lfg commands to new system (PR #25430 )
2020-09-10 12:54:30 +02:00
Treeston
08064f0487
Core/Chat: Fix quest hyperlinks for quest level -1. Closes #25432 .
2020-09-10 12:52:33 +02:00
Peter Keresztes Schmidt
062c55f1ab
Scripts/Commands: Convert remaining debug commands (PR #25429 )
2020-09-10 01:05:44 +02:00
Shauren
f3b7f9ed5c
Core/Spells: Reserve custom attribute value for master branch
2020-09-10 00:09:05 +02:00
Treeston
6b8f3d0f94
Core/Misc: Convert leftover DatabaseTransactions-by-reference (pass them by value!)
2020-09-09 23:25:26 +02:00
Treeston
cd28423a4e
[3.3.5] Core/Guilds: Guild cleanup (PR #25422 )
2020-09-09 20:38:04 +02:00
Treeston
4f636b80e4
Chat/Commands: Eradicate ChatHandler::extractOptFirstArg
2020-09-09 18:33:18 +02:00
HelloKitty
c0d62fe0b3
Core/Addon: Correct Banned Addon length in SMSG_ADDON_INFO packet ( #25424 )
2020-09-09 10:29:28 +02:00
Maks Szokalski
99f9c26b2d
Core/AI: CombatAI refactor (PR #25416 )
2020-09-08 23:56:13 +02:00
Houston
ca9c746767
DB/Misc: Move & update some VoA scripts to SAI, add waypoints ( #25419 )
...
Co-authored-by: Houston <houston@gmail.com >
Co-authored-by: offl <11556157+offl@users.noreply.github.com >
2020-09-08 23:37:28 +03:00
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