UltraNix
7f7a2f5a92
fix(Core/Creatures): Critters should start fleeing upon entering comb… ( #14253 )
2023-01-28 11:01:43 +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
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
Maelthyr
1f472bddd3
refactor(Core/Combat): Code style and improvement of ThreatMgr ( #12992 )
2022-09-25 15:20:34 -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
天鹿
bd7ee56abe
fix(Core/AI): correct Permit level for trigger flagged creatures ( #12614 )
...
partially picked from 1de89579c7
2022-08-05 13:33:17 -03: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
cc52712ac1
refactor(Core/AI): factory functions cleanup ( #11779 )
2022-07-15 16:11:49 +02:00
Maelthyr
dfc6adb081
refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() ( #11824 )
...
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
Maelthyr
c5368816fa
Core/Combat: rename getThreatMgr() to GetThreatMgr() ( #11758 )
2022-05-18 05:36:57 -03:00
Kitzunu
2e13ad75e2
refactor(Core/Spells): make DoCast functions use SpellCastResult ( #11546 )
...
* refactor(Core/Spells): make DoCast use SpellCastResult
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update UnitAI.cpp
* Update UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.h
2022-05-06 00:43:27 -03:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02:00
Kitzunu
535c7451a2
feat(Core/Unit): New helpers for DynamicFlags ( #11230 )
...
* feat(Core/Unit): New helpers for DynamicFlags
* cherry-pick commit (d611925dc7 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* oopsie
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-04-01 07:14:29 -03:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
Skjalf
7377c96cc8
fix(Scripts/BlackwingLair): Razorgore improvements ( #10971 )
...
- Rewrite reset events
- Use proper healing spell on phase transition
- Now uses abilities during phase 1
- Phase transition scripted - mobs now run away
2022-03-23 15:42:34 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kitzunu
13643c969c
refactor(Core/Spell): Use ApplySpellFix with SpellInfo ( #9938 )
2022-02-08 14:09:15 +01:00
Kargatum
3a0a9ba088
feat(Core/Common): move EventMap to separated files, add support chrono ( #10209 )
2022-02-04 15:12:45 +01:00
Kargatum
5969df4e30
refactor(Core/Logging): switch to fmt style for LOG_ ( #10366 )
...
* feat(Core/Common): add support fmt style for ASSERT and ABORT
* correct CheckCompactArrayMaskOverflow
* 1
* Update src/server/game/Spells/Spell.cpp
* rework logging
* add fmt replace logs
* logging
* FMT_LOG_
* settings
* fix startup
* 1
* 2
* 3
* 4
* 5
* fmt::print
* to fmt
2022-01-27 16:44:41 +01:00
UltraNix
144c797dba
fix(Core/PetAI): Combat spells should be casted when pet starts attack. ( #9845 )
...
Fixes #2140
2022-01-20 03:51:36 -03:00
UltraNix
19b68ffb57
fix(Core/Pets): Manual using pet spell should not reset attack command. ( #9635 )
...
Fixes #9632
2022-01-16 14:44:21 -05:00
IntelligentQuantum
002e62d689
feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES ( #9979 )
2022-01-03 08:24:13 -03:00
Kitzunu
ac99eb48e1
refactor(Core/Misc): abs() to std::abs() ( #9789 )
2021-12-31 19:29:39 -03:00
Kargatum
c81891fc11
feat(Core/AI): convert SelectAggroTarget to enum class ( #9893 )
2021-12-28 19:13:12 -03:00
Francesco Borzì
cbc7e5466a
refactor(Core): remove unused imports ( #9767 )
2021-12-19 19:41:14 +01:00
UltraNix
4e93671b3c
fix(Core/Pets): Properly cast spells on friendly target if not in LoS… ( #9570 )
...
* fix(Core/Pets): Properly cast spells on friendly target if not in LoS or out of range.
Fixes #7790
2021-12-12 09:25:10 -03:00
patou01
801a20fce2
refactor(Core): Clean-up after FD ( #8586 )
2021-11-28 03:04:14 -03:00
acidmanifesto
29f49108a5
chore(Core): Remove unnecessary slang Cosmetic ( #9325 )
...
* Remove unnecessary slang
Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.
* Further Clean Up
Removed Profanity
* sensible grammar correction
* More ZOMG! removal
2021-11-25 04:31:54 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Kitzunu
24f9f993cc
refactor(GameObjectAI): Change self-accessor to "me" ( #9041 )
2021-11-08 22:06:04 +01:00
Skjalf
d80f7d467d
feat(Core/Unit): Implement DoCastRandomTarget() helper ( #8876 )
2021-11-05 07:47:08 -03:00
UltraNix
b8345a2f98
fix(Core/DungeonFinder): Seasonal bosses are available only via Dunge… ( #8056 )
...
* fix(Core/DungeonFinder): Seasonal bosses are available only via Dungeon Finder tool.
Fixes #7889
* Update.
* Buildfix.
* Missing.
2021-10-14 13:22:37 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
UltraNix
fd229f75e1
fix(Scripts/BRD): movement of Burning Spirits during Ambassador Flamelash encounter ( #7810 )
...
- Closes #6964
2021-09-16 14:30:58 +02:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr ( #6910 )
...
* Rename MapManager.h to MapMgr.h
* Rename BanManager.h to BanMgr.h
* Rename MapManager.cpp to MapMgr.cpp
* Rename BanManager.cpp to BanMgr.cpp
* Rename MapRefManager.h to MapRefMgr.h
* Rename ThreatManager.h to ThreatMgr.h
* Rename GridRefManager.h to GridRefMgr.h
* Rename ThreatManager.cpp to ThreatMgr.cpp
* Rename GroupRefManager.h to GroupRefMgr.h
* Rename HostileRefManager.h to HostileRefMgr.h
* Rename HostileRefManager.cpp to HostileRefMgr.cpp
* Rename MMapManager.h to MMapMgr.h
* Rename FollowerRefManager.h to FollowerRefMgr.h
* Rename VMapManager2.h to VMapMgr2.h
* Rename IVMapManager.h to IVMapMgr.h
* Rename MMapManager.cpp to MMapMgr.cpp
* Rename VMapManager2.cpp to VMapMgr2.cpp
* Rename RefManager.h to RefMgr.h
* Rename WaypointManager.h to WaypointMgr.h
* Rename WaypointManager.cpp to WaypointMgr.cpp
* Rename MPQManager.h to MPQMgr.h
* Rename MPQManager.cpp to MPQMgr.cpp
* Rename IMMAPManager.h to IMMAPMgr.h
* fix build
* Update Main.cpp
* chore(Core/Misc): Remove toxic language
* Revert "chore(Core/Misc): Remove toxic language"
* fix build
* build
2021-09-15 17:50:28 +02:00
UltraNix
1becd73f09
fix(Core/Movement): Rewritten follow movement generator for pets ( #7324 )
...
- Closes #7296
2021-08-24 11:08:50 +02:00
UltraNix
ed4cfd37f4
fix(Core/Totems): Searing Totem will properly attack neutral targets. ( #7157 )
...
Fixed #6310
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2021-08-05 15:15:12 +02:00
Francesco Borzì
4103fca5a4
fix(Core/ObjectGuid): prevent creating copies when looping objects ( #6852 )
2021-07-10 15:54:16 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
Francesco Borzì
7d9fe22e28
refactor(Core): code cleanup (part 1) ( #6361 )
2021-06-16 12:58:14 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Kargatum
26f2abaaa9
feat(Core/Authserver): TOTP rewrite ( #5620 )
2021-05-12 18:57:10 -06:00
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running ( #5572 )
2021-05-08 12:39:09 -06:00
Kitzunu
752595dccf
fix(Core/TotemAI): Totems should not attack neutral unless owner is in combat ( #5434 )
2021-05-01 19:18:29 +02:00
Kitzunu
5954d9c739
refactor(Core/Misc): Define & Rename Attributes ( #5311 )
2021-04-28 14:55:24 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00