Commit Graph
16572 Commits
Author SHA1 Message Date
Killyana 22e34861bd Core: Restore reset in EscortAI::InitializeAI (#23197)
Closes  #23008
2019-04-26 18:59:11 +02:00
Ovahlord d9c809d828 Core/SAI: more cherrypick followups 2019-04-26 18:58:58 +02:00
Treeston 1f15fe5096 oops, now it builds (and a bonus refactor that annoyed me)
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartAI.cpp
#	src/server/game/AI/SmartScripts/SmartAI.h
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/AI/SmartScripts/SmartScript.h
2019-04-26 18:56:31 +02:00
Ovahlord 28b33663e7 Core/SAI: cherry pick followup 2019-04-26 18:52:38 +02:00
Treeston 99a2c24116 Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.h
2019-04-26 18:51:19 +02:00
Treeston 7c025ee803 Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There are no escort NPCs using compatibility mode anymore, so this is equivalent.
As a result, inheriting scripts calling Start in on-create hooks (like JustSummoned) will now work properly again.

Tagging #20310.

# Conflicts:
#	src/server/game/AI/ScriptedAI/ScriptedEscortAI.h
2019-04-26 18:49:47 +02:00
sirikfoll 73345b0d7f Core/SmartAI: Remove duplicate OnReset() call
It is already called for every creature in SmartAI::InitializeAI(), removing the one from SmartAI::JustAppeared to keep as much as possible of the old behavior, because JustAppeared is called on the next tick after InitializeAI

Closes #20881
Closes #20771
2019-04-26 18:46:55 +02:00
Ovahlord e5d59d5f98 Core/Object: Range check (#23179) (ported commit: 32e1de39a26628dcb64bc21ad415afb2ad938925) 2019-04-26 18:41:31 +02:00
jackpoz 738aa92782 Core/Spells: Adjust range checks to GameObject targets 2019-04-26 18:01:19 +02:00
jackpoz 85bf4daf45 Core/Spells: Adjust range checks to GameObject targets 2019-04-26 18:01:12 +02:00
jackpoz d99de4db33 Core/Spells: Add range checks to GameObject targets
Close #23062
Patch by robinsch
2019-04-26 18:01:05 +02:00
jackpoz 5ef08fa5e8 Core/GameObject: Code cleanup
(cherry picked from commit 16a154c4e87ff1ff89323a8960bf601e6c18589b)
2019-04-26 17:53:43 +02:00
Killyana b7f63b29a0 Core/GameObject: Remove summoned gobs properly from the map without effecting other cases
Ref https://github.com/TrinityCore/TrinityCore/commit/0e8e3828f48120629b642d0de1db704fd0bb86cb
Ref #23115

(cherry picked from commit 9db64666dc30b1f8cad904bf8aeea1c9daf41c95)

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2019-04-26 17:53:36 +02:00
Killyana 00a2de63ad Core/GameObject: Delete summoned gobs and DestroyForNearbyPlayers gobs spawned with negative spawn time once the gob is deactivated
(cherry picked from commit 0e8e3828f48120629b642d0de1db704fd0bb86cb)
2019-04-26 17:51:20 +02:00
Ovahlord ee69943717 Core/Movement: ported time synchronization (commits: 975f1e364a6a68be2beca261a64ea8aecc16f6f6 and 50d32fe49386598c7cd876e51cf02478669cc252) 2019-04-26 16:48:09 +02:00
Ovahlord 433bd5a1bb Scripts/BWD: use sniffed exit coordinate for passenger ejection and initial work on Nefarian's heroic intro 2019-04-22 19:36:16 +02:00
Ovahlord 6af3c166a0 Scripts/ZG: added some passive react states to Shadow of Hakkar, Spirit of Hakkar, Jin'do the Godbreaker and Gurubashi Shadow 2019-04-20 23:21:49 +02:00
Ovahlord 4626c426b9 Core/Spells: fixed remaining Soulburn mechanics 2019-04-18 22:37:07 +02:00
Ovahlord cfe347824f Scripts/MH: corrected the summon destination coordinates for Emerald Flameweaver 2019-04-18 15:15:29 +02:00
Ovahlord c73b56ec5d Core/Spells:
* updated Infusion of Light proc entry to Cataclysm
* fixed Seals of Command proc
2019-04-16 20:25:17 +02:00
Ovahlord f2049d5f0d Core/Spells: updated Beacon of Light to Cataclysm 2019-04-16 19:32:16 +02:00
Ovahlord 3fb3ed2954 Scripts/BWD: fixed Magmaw's health sharing aura stacking and cleaned up some obsolete code 2019-04-16 15:14:18 +02:00
Ovahlord 319b019080 Core/Spells: Holy Power decay timer will now be reset when getting a charge of holy power 2019-04-16 15:05:00 +02:00
Ovahlord 463c2d9045 Core/Spells: fixed two more startup errors 2019-04-14 12:55:23 +02:00
jackpoz 237901719a Core/MMaps: Fix crash added in 386b5a6fd948b4866cbd9a8a9892e8777922e9c9
# Conflicts:
#	src/server/game/Movement/MovementGenerators/ChaseMovementGenerator.cpp

* fixed cherrypick conflicts
2019-04-14 12:27:49 +02:00
Shauren 2fb644344d Core/Dep: Boost 1.70 compatibility
(cherry picked from commit bcda8dd7421cfa1950a3e47081f2f28d032d38ac)

# Conflicts:
#	src/server/authserver/Main.cpp
#	src/server/shared/Realm/RealmList.cpp
#	src/server/shared/Realm/RealmList.h
2019-04-14 12:18:33 +02:00
Ovahlord aa62a9c75f Core/Movement: solve cherrypick conflicts 2019-04-14 12:15:11 +02:00
jackpoz 5cb3e69e1e Core/MMaps: Simplify d182e5f7e73e614185f4470429467befd6e03981 and handle PATHFIND_INCOMPLETE in ChaseMovementGenerator as "cannot reach the target"
# Conflicts:
#	src/server/game/Movement/MovementGenerators/ChaseMovementGenerator.cpp
2019-04-14 12:13:59 +02:00
jackpoz 6552a00208 Core/MMaps: Fallback to shortcut for flying units if Detour returned an incomplete path.
Fallback to shortcut for flying units if Detour returned an incomplete path. This is needed when a flying unit should fly to the floor below to reach the target, but since Recastnavigation doesn't support "jumping down" the unit would not find a path to the target.
2019-04-14 12:12:15 +02:00
Ovahlord fa07b45655 Scripts/BWD: more work on Magmaw encounter 2019-04-13 22:14:14 +02:00
Ovahlord 9d1a0b85f4 Core/Spells: use a more reliable check for personal gnoll summons 2019-04-13 13:20:17 +02:00
Ovahlord 682db83528 Core/Transports: do not teleport players via opcode when the transport is still on the same map. The client handles that on his own 2019-04-11 20:36:34 +02:00
Ovahlord f0204840b2 Scripts/GameObjects: fixed visuals for Firework gameobjects 2019-04-09 20:00:19 +02:00
Ovahlord ba49cac3aa Scripts/Events: implement Whack-a-Gnoll minigame 2019-04-09 19:22:32 +02:00
Ovahlord 9ed6c68809 Scripts: removed a debug message 2019-04-08 16:46:58 +02:00
Ovahlord 02aa503856 Scripts/Events: fixed Darkmoon Deathmatch gate and implement Ring Toss mini event 2019-04-08 16:45:53 +02:00
Ovahlord b636ae9517 Core/Spells: use StartPower field from UnitPowerBarEntry to determine start amount of energy for SPELL_AURA_ENABLE_ALT_POWER 2019-04-08 15:02:36 +02:00
Ovahlord 0dd39d87bb Core/Vehicles: charmed units will now get their idle movement paused to avoid players riding vehicles losing control over it because the idle movement is blocking player movement 2019-04-08 06:34:36 +02:00
Ovahlord e5a8ac4f80 Fixed build 2019-04-06 19:32:31 +02:00
Ovahlord 71f08a3c4a Scripts/MH: scripted Raging Firestorm vs Grove Warden cosmetic event in The Inferno area 2019-04-06 14:20:24 +02:00
Ovahlord 8c80ea70fb Core/Maps: Ensure all child terrain maps are created before doing any thing on parent map such as loading respawn times and corpses (ported commit: f7290509005d3b93bb62149faf3add0bb7f54f51) 2019-04-06 11:16:31 +02:00
Ovahlord 631f684dcf Core/Maps: allow spawns to have ZoneId 0 (transport maps) 2019-04-06 10:49:40 +02:00
Ovahlord bdc0f1433f Core/Maps: Loading respawn times will now used database cached zoneId data to avoid loading unnneeded grids during startup 2019-04-06 09:24:34 +02:00
Ovahlord 5b1ffb98d4 Core/Units: removed critical hit emote hack leftover 2019-04-04 17:37:23 +02:00
Ovahlord 13f7ee4235 Core/Logs: merged path generator log category cleanup 2019-04-04 17:36:26 +02:00
Ovahlord 76c22f5be0 Core/Spells: removed a unneeded spell enum validation from Drain Life spell script 2019-04-01 04:09:30 +02:00
Ovahlord 3f72985dfa Core/Spells: implement SPELL_AURA_MOD_SPELL_POWER_PCT 2019-04-01 04:09:02 +02:00
Ovahlord 2620e02b7d Core/Spells: initial work on Soulburn Mechanics
* todo: finish Soulburn: Seed of Corruption mechanic
2019-03-31 11:12:24 +02:00
Ovahlord ee1a9d4a9c Core/Spells: fixed Marked for Death talent
closes #47
2019-03-31 05:35:19 +02:00
Ovahlord 5bb02f9972 Core/Spells: corrected a enum typo in Camouflage spell script 2019-03-31 05:12:52 +02:00