Ovahlord
e1d74d4dc6
Core/Misc: added more fallthrough attributes and added some missing breaks reported by CI
2020-07-19 12:24:58 +02:00
Ovahlord
3f6455d9bb
Core/SAI: implement SMART_ACTION_ATTACK_STOP
...
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction
2020-06-15 04:46:10 +02:00
Warpten
0af44ccc01
Core/Spells: implement DoT clipping
...
* Core/Spells: Implementation of DoT clipping.
* Core/Utilities: Backport "EnumFlags v3.0" from master.
* Core/Spells: Switch AURA_REMOVE_MODE to a flag set.
2020-06-04 18:16:03 +02:00
Ovahlord
6dce62f0fd
Core/AI: replaced SMART_ACTION_STOP_MOTION with new functionality called SMART_ACTION_PAUSE_MOVEMENT
2020-02-18 22:13:33 +01:00
Wyrserth
e410c3498b
Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist.
2020-01-27 03:23:38 +01:00
Ovahlord
fcb79fee07
Core/Datastores: updated DBC structure names to generated member format
2020-01-25 12:36:32 +01:00
Aokromes
d6d3f06f06
New year
2020-01-04 18:32:38 +01:00
funjoker
6c56916b29
Misc: Update copyright information
...
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord
15f09fb82b
Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61
2019-11-06 00:51:04 +01:00
Treeston
90540d684b
Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
...
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime
----------
Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single `respawn` table
2019-08-18 12:47:10 +02:00
Wyrserth
4d3e7e2600
Core/SAI: add cooldownMin (event_param2) and cooldownMax (event_param3) to SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST. ( #23422 )
2019-06-18 20:24:09 +02:00
Wyrserth
d339fdc354
Core/SAI: don't allow to start a new SAI actionlist while the entity is already running one. ( #23421 )
2019-06-17 00:36:06 +02:00
Aokromes
d6e6750b67
Core/SmartScripts: Implement SMART_ACTION_PLAY_CINEMATIC
...
By Malcrom
2019-05-27 16:07:55 +02:00
Ovahlord
1c7a520095
Revert "Core/SmartAI: Remove duplicate OnReset() call"
...
This reverts commit 73345b0d7f .
2019-04-27 17:38:06 +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
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
Ovahlord
4f6263e6f3
Core/SAI: merged a smartAI crash fix
2018-09-23 23:53:57 +02:00
Ovahlord
65ff7abd6d
Core/SAI: merge followups to resolve conflicts
2018-09-17 15:47:07 +02:00
Ovahlord
5e380763aa
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/DungeonFinding/LFGMgr.h
# src/server/game/Maps/Map.h
# src/server/scripts/EasternKingdoms/zone_arathi_highlands.cpp
2018-08-28 04:41:18 +02:00
Treeston
af82810be9
AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
2018-08-11 01:30:34 +02:00
Ovahlord
072cc4d043
Core/SAI: added missing changes for SMART_ACTION_FORCE_DESPAWN that was causing broken despawn actions
2018-08-05 21:28:10 +02:00
Ovahlord
78e0328356
Core/Movement: fixed waypoint movement commits up to 2ce9a0a094a3d86a86a9323693c93ed6a2bbcaaf
2018-08-02 16:20:02 +02:00
Ovahlord
c808b981f7
Core/Movement: merged smooth waypoint movement. Followup commits will be merged soon (tm)
2018-08-02 15:38:35 +02:00
Ovahlord
59d169e8e4
Merge branch 'dynamicSpawnMerge' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
...
# Conflicts:
# src/server/game/Entities/Creature/Creature.cpp
# src/server/game/Entities/Object/Object.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Maps/Map.h
2018-07-21 23:13:55 +02:00
Ovahlord
b976bc1187
Core/Spawns: merged Dynamic Spawning
2018-07-21 20:44:41 +02:00
Aokromes
ae1abb63be
Revert "Core/SAI: Fixed crashes when SAI targets pets that use sai if not tamed"
...
This reverts commit 9fd67b7044 .
It's crashing core, it very likely needs to import more commits from 3.3.5a before this can be re-added
2018-05-12 13:17:14 +02:00
Ovahlord
93ca0540aa
Core/SAI: reverted a sai crash fix. was causing crashes
2018-04-26 14:01:32 +02:00
Shauren
9fd67b7044
Core/SAI: Fixed crashes when SAI targets pets that use sai if not tamed
...
Closes #21870
2018-04-25 00:22:02 +02:00
Ovahlord
20314730ad
Core/SAI: fixed a crash
2018-03-28 22:05:25 +02:00
ariel-
925264c000
Misc: build fixes (linux)
2018-03-28 05:54:57 -03:00
ariel-
5ff847159c
Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources
2018-03-28 04:41:59 -03: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
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
Aokromes
8365119235
Core/Battleground: Dropped battleground texts from trinity_string and replaced them with proper BroadcastText
2018-01-27 16:00:38 +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
Aokromes
c2861bf887
Core/SAI: Add a 5th parameter to SAI events
2018-01-14 07:56:47 +01:00
Aokromes
1f95d87e92
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
2018-01-06 06:46:43 +01:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +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
91affef0c6
Misc: Kill trailing white spaces
2017-11-25 01:36:21 +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
1a5c0f5c3b
Core/Grids: Ported cmangos/mangos-wotlk@ea99457
...
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
ariel-
206c82ead4
Core/SmartAI: implemented SMART_EVENT_EVENT_PHASE_CHANGE
...
- Use instead of Update + event_phase_mask when action needs to be synchronized
2017-06-11 17:50:24 +02:00
Aokromes
ac3dbcb880
Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
2017-06-07 09:53:04 +02:00
treeston
2b721ca16c
SAI fixes follow-up: I missed one.
2017-06-06 22:22:01 +02:00