Ovahlord
53e989dcd3
Revert "Core/Movement: merged smooth waypoints (commit: 05fb27dae4e8af859e01e5b9e52b082cba217657)"
...
This reverts commit 6dddfc812c .
2018-03-27 22:04:30 +02:00
Ovahlord
617b3a8a11
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Maps/Map.h
2018-03-14 08:22:00 +01:00
jackpoz
19ce97eae4
Core/SmartScripts: Code cleanup
2018-03-12 12:40:23 +01:00
Killyana
81698da80d
Core/SAI: Add event_parm5 "player only" for EVENT_OOC_LOS and EVENT_IC_LOS
...
Closes #21497
2018-03-12 12:40:14 +01:00
Ovahlord
e44bb5f387
Core/Entities: Phase Rework (main commit)
2018-03-08 22:58:50 +01:00
Ovalord
c9b5bf9534
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2018-02-18 20:55:31 +01:00
Aokromes
ca5e3445b8
Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
...
0 - For despawn when creature dies or time runs out
1 - For despawn after time
2018-02-16 04:05:47 +01:00
Aokromes
74b7ac101a
Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will n…
...
…ow log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.
Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker.
(We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.)
2018-02-16 02:08:56 +01:00
Ovalord
6dddfc812c
Core/Movement: merged smooth waypoints (commit: 05fb27dae4e8af859e01e5b9e52b082cba217657)
2018-02-15 13:28:36 +01:00
Treeston
6363bc77b8
Game/AI: InvalidAIException internal cleanup
2018-02-10 12:08:24 +01:00
jackpoz
8e5c1d012d
Core/Misc: Fix no-pch build
2018-02-10 11:34:26 +01:00
jackpoz
57314740da
Core/AI: Fix assertion triggered with PetAI derived scripts ( #21254 )
...
* Core/AI: Fix assertion triggered with PetAI derived scripts
Fix an assertion triggered when spawning through ".npc add" or from SQL db table a Creature with AI set to a custom AI inheriting from PetAI.
2018-02-10 11:33:51 +01:00
Ovalord
0d3daf1120
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2018-02-08 22:28:13 +01:00
Aokromes
8365119235
Core/Battleground: Dropped battleground texts from trinity_string and replaced them with proper BroadcastText
2018-01-27 16:00:38 +01:00
Ovalord
315ccb4f9f
Core/Spells: fixed mage Flame Orb summon and Frostfire orb summon
...
*todo: the core has a bug that prevents the orb from slowing down
*frostfire orb handling
2018-01-26 01:00:18 +01:00
Ovalord
716bd18135
Core/Creature: dropped advance movement until it is moved to ChaseMovementGenerator
2018-01-23 17:52:04 +01:00
Ovalord
4b6c4033c9
Core/Creatures: tempoarily disable creature replacements until it has been ported to a movement generator
2018-01-22 11:26:53 +01:00
Aokromes
13295bb200
Core/CombatAI: Npcs with TurretAI will be able to attack again
2018-01-21 12:54:46 +01:00
Aokromes
079f2002ac
Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying
...
seat mask instead of single seat index (can now target all passengers)
2018-01-21 12:34:54 +01:00
Ovalord
9fdbbe851a
Core/Creature: moved reposition function to unit.cpp
2018-01-21 00:21:33 +01:00
Ovalord
2deecabc17
Core/Creatures: creatures will now reposition themself if they are too close to their victim
2018-01-19 20:32:02 +01:00
Ovalord
683a74f3ea
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2018-01-14 19:20:08 +01:00
Aokromes
c2861bf887
Core/SAI: Add a 5th parameter to SAI events
2018-01-14 07:56:47 +01:00
Ovalord
b7c15093a6
Core/Pets: merged funjoker's new Pet Slot system
...
* fixed packets and handling for stable master
* fixed Control Pet / Demon handling
* corrected wrong trainer spell for the Control spells
* Added base support for Assist behaivior
* corrected action bar layout
* Hunter Pets will now have the same level as their tamer (patch 4.1 change)
* corrected health stats for pets
2018-01-07 02:00:31 +01:00
Aokromes
1f95d87e92
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
2018-01-06 06:46:43 +01:00
Treeston
0aa1c50b41
travis fix
2018-01-01 16:02:44 +01:00
Aokromes
46366373ab
Core/AI: Some more refactoring prep for #19930 . CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
2018-01-01 16:02:22 +01:00
Aokromes
bf6ff1b2b4
Core/AI: restore old check forcing PetAI on Pets using SmartAI
...
includes more template love
2018-01-01 15:12:08 +01:00
Aokromes
aeeb1c9341
Core/AI: Added a way to specify if certain AI types mustn't be allowed on DB
2018-01-01 15:01:48 +01:00
Aokromes
f2ab43568a
Core/AI: Making guid const& in SetGUID method
2018-01-01 14:55:20 +01:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +01:00
Aokromes
ac8f436541
Build Fix
2017-12-26 17:44:08 +01:00
Keader
115c6c56c0
Core/AI: Changing uint64 to ObjectGuid in GameObjectAI
2017-12-26 17:30:47 +01:00
jackpoz
ff26ce4f97
Core/CreatureAI: Disable PetAI from database
2017-12-26 17:28:29 +01:00
Krudor
c8aeadc949
Remove reportUse parameter on GameObjectAI::GossipHello and give it its own event.
...
Ported from 3.3.5
2017-12-10 13:59:13 +01:00
Erik Strandberg
a3b16c040b
Port https://github.com/TrinityCore/TrinityCore/commit/f913f3bb8977c127d200d5d4a608ab434b21bbcd
2017-12-10 00:37:21 +00:00
Ovalord
01d62f0ca0
Core/AI: fixed a small logic mistake for SAI directAdd == 0. 1 is suposed to add the quest directly.
2017-11-28 09:53:18 +01:00
Ovalord
05250fe4ad
Core/Quests: Implemented quest popups
2017-11-28 08:30:58 +01:00
Aokromes
a18293833e
Misc: More cleanup
2017-11-25 03:02:18 +01:00
Aokromes
b93430ee08
Misc: More cleanup
2017-11-25 02:25:18 +01:00
Aokromes
91affef0c6
Misc: Kill trailing white spaces
2017-11-25 01:36:21 +01:00
Aokromes
7817610b07
Core/SAI: Disable incorrect flag change
2017-11-24 16:42:47 +01:00
Aokromes
0a71d36af5
Core/SAI: Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND
2017-10-26 12:33:57 +02:00
Aokromes
aa24608bed
Core/SAI: allow to pause/resume waypoint for non-escorting NPCs
2017-10-23 09:19:45 +02:00
Ovah
87bb6d04f5
Core/AI: implemented AI hook for interrupting spells ( #20610 )
2017-10-13 22:19:39 +02:00
Aokromes
f3b5ad8c8a
Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit
2017-09-10 15:42:35 +02:00
ccrs
622736286f
Core/SmatAI: correct MoveInLineOfSight
...
mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits
2017-08-13 03:47:01 +02:00
ccrs
a8be511491
Core/AI: correct Permit level for trigger flagged creatures
...
This broke several mechanics such as LK hc Frostmourne Room or Rotface's slime, how come no one noticed it? Like really, no one?
ref ce3787f190d28c1e981598eef2cd24c622a2cbae
2017-07-27 16:46:33 +02:00
treeston
af36d491a1
Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature.
2017-06-20 03:55:07 +02:00
Aokromes
1a5c0f5c3b
Core/Grids: Ported cmangos/mangos-wotlk@ea99457
...
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00