Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Skjalf
1e17eaae0b
fix(Core/SAI): Set minions in combat with their master's victim ( #14959 )
2023-02-12 08:28:18 -03:00
Skjalf
b0decf9ce4
feat(Core/AI): Update the BossAI scheduler in the parent class ( #14952 )
2023-02-11 19:17:01 -03:00
Skjalf
76c9eb9159
feat(Core/AI): Implement delay option to the Talk() function ( #14950 )
2023-02-11 17:23:57 -03:00
UltraNix
f496535cc8
fix(Core/AI): Fixed mobs attacking in defensive state. ( #14947 )
2023-02-11 12:06:17 -03:00
Maelthyr
32587b7659
feat(Core/Unit): Combat pulse ( #14792 )
...
Co-authored-by: Treeston <treeston@users.noreply.github.com >
2023-02-05 17:19:10 -03:00
Skjalf
dba8c49bce
chore(Core/Object): Rename GetGOData() to GetGameObjectData() ( #14875 )
2023-02-05 08:35:52 -03:00
Skjalf
8aa331b432
fix(Core/Creature): Fix bosses with hard reset flag not respawning an… ( #14862 )
2023-02-04 15:35:53 -03:00
Skjalf
1fc1e1d5b7
feat(Core/SmartAI): Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVE… ( #14811 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2023-01-31 22:50:34 +01:00
Skjalf
bf30c66ba4
feat(Core/GameObject): Expand IsSummonedBy() to GameObjects ( #14789 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2023-01-29 09:44:33 -03:00
Skjalf
f59ee4ef7c
feat(Core/Creature): Actually despawn creatures on evade with Despawn… ( #14786 )
2023-01-28 18:47:15 -03:00
Skjalf
b4e3f1310b
feat(Core/Unit): Add KillSelf overload ( #14785 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2023-01-28 17:57:23 -03:00
UltraNix
7f7a2f5a92
fix(Core/Creatures): Critters should start fleeing upon entering comb… ( #14253 )
2023-01-28 11:01:43 +01:00
Skjalf
aeed96f3b7
feat(Core/AI): Move TaskScheduler to BossAI class ( #14757 )
2023-01-26 13:46:30 -03:00
UltraNix
0022b3a964
fix(Core): Crashfix. ( #14660 )
2023-01-14 10:41:40 +01:00
UltraNix
14f3b444ae
fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SU… ( #14054 )
...
* fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SUMMONER` summon flag.
Fixes #6674
* Update.
2023-01-06 00:52:05 +01:00
Skjalf
50b85220a0
fix(Core/AI): Fix target selectors logic when accounting for tanks ( #14368 )
2022-12-27 15:05:08 -03:00
UltraNix
c7f9f9bc27
fix(Core/Pets): Taunt should work on pets. ( #14255 )
...
Fixes #14217
2022-12-25 13:46:01 +01:00
Skjalf
968bb3fa7e
chore(Core/SAI): Align SAI headers with TrinityCore ( #14261 )
2022-12-17 17:23:22 -03:00
UltraNix
b615ccd9e9
fix(Core/SmartScripts): Added new parameter onlyInCombat to `SMART_… ( #13947 )
...
* fix(Core/SmartScripts): Added new parameter `onlyInCombat` to `SMART_EVENT_FRIENDLY_MISSING_BUFF` event.
Coilfang Scale-Healer should cast Power Word: Shield only in combat.
Fixes #13838
* missing sql.
2022-12-11 11:35:28 -03:00
UltraNix
95652e14d5
fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUM… ( #13880 )
...
* fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUMMONED_CREATURES.
Fixes #13787
* Update.
* Update.
2022-12-06 09:41:05 -03:00
Maelthyr
3024bee3ba
refactor(Core/UnitAI): Update target selector ( #13169 )
...
* refactor(Core/UnitAI): Update TargetSelector.
Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930
Co-authored-by: Treeston <treeston@users.noreply.github.com >
* fix GGC/CLang errors in scripts
* .
* missing a file and fix a script error
* .
* fix path changes dude to a miss click in the second commit
* .
Co-authored-by: Maelthyrr <lynethris@protonmail.ch >
Co-authored-by: Treeston <treeston@users.noreply.github.com >
2022-12-06 09:27:13 -03:00
Angelo Venturini
e0803fb0cb
fix(Core): Crash on random movement SAI ( #13862 )
2022-11-19 15:26:53 -03:00
Maelthyr
c1c9dc6105
refactor(Core/ScriptedAI): few improvements with threat methods ( #13146 )
...
improve threat scripts
Co-authored-by: Maelthyrr <lynethris@protonmail.ch >
2022-11-12 13:29:28 +01:00
UltraNix
3c8a148b1e
fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10… ( #13492 )
...
* fix(Scripts/Temple of AhnQiraj): Slime Toxin clouds should despawn 10 sec after Viscidus death.
Fixes #13420
* Update.
2022-10-25 10:43:39 -03:00
Maelthyr
1f472bddd3
refactor(Core/Combat): Code style and improvement of ThreatMgr ( #12992 )
2022-09-25 15:20:34 -03:00
Angelo Venturini
337c308dd3
fix(Core/TempleOfAhnQiraj): Viscidus ( #12956 )
2022-09-21 15:19:21 -03:00
天鹿
d5f839a4be
fix(Core): SMART_EVENT_RANGE ( #13064 )
...
* Update SmartScriptMgr.h
* Update SmartScript.cpp
2022-09-19 21:00:10 -04:00
Malcrom
972bcc3113
Feature(Smart Scripts/SMART_EVENT_RANGE): Proper fix to prevent Initial timer ( #13059 )
...
* Feature(Smart Scripts/SMART_EVENT_RANGE): Proper fix to prevent Initial timer
* Update SmartScript.cpp
2022-09-19 15:35:34 -04:00
Tony Konzel
dc0c6e0498
fix(Core): Creatures should finish casting any current spells before fleeing ( #12964 )
2022-09-19 00:07:32 -03:00
Malcrom
f06f5a1334
fix(Core/Smart Scripts): Add param5 flag for range event ( #13049 )
...
* fix(Core/Smart Scripts): Add param5 flag for range event to prevent cast on entering combat.
2022-09-18 09:36:15 -04:00
UltraNix
ba4911142b
fix(Core/SmartAI): Mind-controlled creatures can auto-attack its vict… ( #12863 )
...
fix(Core/SmartAI): Mind-controlled creatures can auto-attack its victims.
Fixes #12624
2022-08-31 23:42:36 -03:00
UltraNix
93ae148a75
fix(Core/TotemAI): Active totems should interrupt its spell casting i… ( #12864 )
...
...f current victim is dead.
2022-08-27 20:17:26 -03:00
Angelo Venturini
cb887bbc22
fix(Core/TempleOfAhnQiraj): Ouro rewrite ( #12683 )
2022-08-15 17:51:20 -03:00
Maelthyr
d0d1671745
feat(Core/Debug): GetDebugInfo implementation ( #12705 )
...
Cherry-pick: 9a924fb9d5
Co-authored-by: jackpoz <giacomopoz@gmail.com >
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2022-08-15 09:43:41 -03:00
UltraNix
2a0737b557
fix(Core/SmartScripts): Fixed SMART_TARGET_OWNER_OR_SUMMONER target. ( #12644 )
2022-08-07 14:00:00 -03:00
Angelo Venturini
1e77b9575f
fix(Core/SAI): Unused parameters warnings ( #12620 )
2022-08-05 14:45:03 -03:00
天鹿
bd7ee56abe
fix(Core/AI): correct Permit level for trigger flagged creatures ( #12614 )
...
partially picked from 1de89579c7
2022-08-05 13:33:17 -03:00
UltraNix
f13854cd5e
fix(Core/SmartScripts): Fixed SMART_ACTION_START_FOLLOW not complet… ( #12580 )
...
…ing quests.
2022-08-01 17:53:03 -03:00
Skjalf
cd3151df40
fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves ( #12513 )
2022-07-25 12:12:08 -03:00
UltraNix
d0f70b6cbf
fix(DB/SAI): Fixed completing quest "Into The Realm of Shadows" ( #12515 )
2022-07-25 17:24:51 +07:00
UltraNix
801e68b1dd
fix(Core/Creatures): Added new AI function OnTeleportUnreacheablePlayer to teleport all unreachable players. ( #12193 )
...
* fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_TELEPORT_UNREACHABLE_PLAYERS.
Fixed #11750
* Update.
* Update.
* Update.
2022-07-24 13:10:41 -03:00
Nefertumm
5b0896577f
fix(Core): Crash on smart event: near players ( #12479 )
2022-07-24 13:06:36 -03:00
Nefertumm
f0777d1fd3
fix(Core/AI): validate stored targets ( #12489 )
...
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-07-24 13:06:11 -03:00
ZhengPeiRu21
2d4e93dc3e
fix(Core): SMART_ACTION_SET_HOME_POS should accept a parameter ( #12468 )
2022-07-22 21:20:14 -04:00
Nefertumm
9b6da94510
fix(Core/AI): more AI factory checks ( #12402 )
...
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
Co-authored-by: Treeston <treeston@users.noreply.github.com >
Co-authored-by: Aokromes <aokromes@users.noreply.github.com >
2022-07-19 14:31:03 -03:00
IntelligentQuantum
6ac7dfa26f
refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* ( #11950 )
2022-07-18 11:15:57 +02:00
IntelligentQuantum
cc52712ac1
refactor(Core/AI): factory functions cleanup ( #11779 )
2022-07-15 16:11:49 +02:00
Skjalf
9920e01b2b
feat(Core/Scripting): Add several UnitHooks ( #12365 )
2022-07-11 14:57:38 -03:00
UltraNix
65e02d9422
fix(Core/SmartScripts): Added option to override current running time… ( #12298 )
...
fix(Core/SmartScripts): Added option to override current running timed actionlist.
Fixes #12227
2022-07-03 11:22:25 -04:00