Benjamin Jackson
52799d76f6
refactor(Core): Add definition file for area table entries. ( #22054 )
2025-05-09 15:48:02 +02:00
Tereneckla
a8b982dca8
refactor(Core/AI) don't add currentTarget to the front of the SelectTargetList for MaxThreat/Random ( #21965 )
2025-05-05 20:17:10 +01:00
Jelle Meeus
7eb1b64a6f
refactor(Scripts/Northrend): spell scripts use registry macros ( #20401 )
2024-11-01 16:11:14 -03:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Grimdhex
61f3a631c3
fix(Server): remove double blank lines at the end of several files ( #19735 )
2024-08-25 07:21:14 -03:00
Francesco Borzì
af769c6c7e
refactor(Scripts/Northrend): remove unused imports ( #19460 )
...
* refactor(Scripts/Northrend): remove unused imports
* chore: wip
2024-07-26 19:56:33 -03:00
Kitzunu
f96d4c8670
Revert "Add (core\db): Support for Homebind Orientation ( #13389 )" ( #19257 )
...
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
This reverts commit 2e6f6e26da .
Changes to be committed:
modified: src/server/database/Database/Implementation/CharacterDatabase.cpp
modified: src/server/game/DungeonFinding/LFGScripts.cpp
modified: src/server/game/Entities/Player/Player.cpp
modified: src/server/game/Entities/Player/Player.h
modified: src/server/game/Entities/Player/PlayerStorage.cpp
modified: src/server/game/Entities/Player/PlayerUpdates.cpp
modified: src/server/game/Handlers/CharacterHandler.cpp
modified: src/server/game/Handlers/MiscHandler.cpp
modified: src/server/game/Handlers/MovementHandler.cpp
modified: src/server/game/Maps/Map.cpp
modified: src/server/game/Spells/Spell.cpp
modified: src/server/scripts/Commands/cs_misc.cpp
modified: src/server/scripts/Commands/cs_tele.cpp
modified: src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp
Untracked files:
data/sql/updates/pending_db_world/rev_1719945200692175000.sql
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
* whoops
2024-07-02 22:02:15 +02:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files ( #17860 )
...
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
2023-12-02 21:13:20 +01:00
Maelthyr
0200a288cd
refactor(Scripts/Northrend): conversion to std::chrono ( #15269 )
...
Co-authored-by: Maelthyrr <maelthyrr@users.noreply.github.com >
2023-03-07 09:23:33 -03:00
Kitzunu
bd6034e1a9
refactor(Core/AI): Some more refactoring prep for Comat Threat system… ( #15026 )
...
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
2023-02-13 21:39:40 +01:00
Skjalf
0dbb8c814c
refactor(Core/InstanceScript): refactored load and save methods ( #14977 )
...
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com >
2023-02-12 15:53:48 -03:00
M'Dic
437d93926f
fix (core): macos12 depreciation workflow error / security CWE-120 ( #14746 )
...
* fix (core): macos12 depreciation workflow error
Fix workflow error message:
azerothcore-wotlk/src/common/Utilities/Util.cpp:558:9: fatal error: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%02X", bytes[i]);
* Update BattlegroundAV.cpp
* more macos12 fixit
* Update spell_generic.cpp
2023-01-23 06:13:27 -05:00
M'Dic
2e6f6e26da
Add (core\db): Support for Homebind Orientation ( #13389 )
...
Add (core\db) Support for Homebind Orientation
2022-10-12 14:39:02 -04:00
Maelthyr
c5368816fa
Core/Combat: rename getThreatMgr() to GetThreatMgr() ( #11758 )
2022-05-18 05:36:57 -03:00
Maelthyr
5ede1177c5
refactor(Core/Combat): implement compatiblity layer for ResetAllThreat() ( #11778 )
...
* implement ResetAllThreat()
* .
2022-05-17 12:01:25 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
Kitzunu
ac99eb48e1
refactor(Core/Misc): abs() to std::abs() ( #9789 )
2021-12-31 19:29:39 -03:00
Kitzunu
69683a3472
chore(Scripts/Misc): Cleanup some more JustDied hooks ( #9768 )
2021-12-31 12:00:40 -03:00
Kargatum
c81891fc11
feat(Core/AI): convert SelectAggroTarget to enum class ( #9893 )
2021-12-28 19:13:12 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +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
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
Francesco Borzì
0dfab5d69b
refactor(Scripts/Northrend): code cleanup (part 11) ( #7103 )
2021-08-07 17:48:57 +02:00
francovilla
fb8cfe394a
fix(Scripts/VoA): Toravon Orbs bug ( #6082 )
...
Toravon The Ice Watchter in Archavon when dead the Orbs not despawn
2021-06-02 13:56:37 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kitzunu
f9d708b450
feat(Core/Instance): Add instance validation for creature scripts ( #4596 )
2021-04-05 15:34:26 +02:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
UltraNix
de2c57f6cc
fix(scripts/VoA): Vault of Archavon ( #4853 )
2021-03-17 09:06:24 -06:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Kitzunu
0d52b4ca4a
feat(Core/Spell): Implement ValidateSpellInfo ( #4323 )
...
* feat(Core/Spell): Implement ValidateSpellInfo
* cherry-pick from 2b5d7eef3a & a0a158b5b8
* sLog->outError
* cleanup
* convert to ValidateSpellInfo
* fix error log
* improve sLog->outError
* remove non related spells stuff from Validate
* remove the last
* build
* build x2
2021-02-01 18:57:25 +01:00
Kitzunu
da4edd547d
chore(core): remove malformed whitespaces ( #4244 )
...
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00
Kargatum
ea93a5c1a1
feat(CI/Codestyle): added codestyle check ( #3668 )
2021-01-09 11:59:50 +01:00
Francesco Borzì
d4a58700d4
refactor(Core): apply clang-tidy modernize-use-override ( #3817 )
2020-12-06 18:04:55 +01:00
Goatform
37d1f2be47
fix(Scripts/VOA): code-style improvements + bandwidth consumptio ( #3632 )
2020-11-27 12:50:50 +01:00
Andrius Peleckas
ab5933effa
fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call ( #3426 )
2020-10-17 14:59:22 +02:00
Kargatum
5e20b46812
refactor(Core/Scripts): restyle scripts lib with astyle ( #3467 )
2020-10-11 10:35:34 +02:00
Arthas Wow
22f8195c14
fix(Core/Boss): Toravon Script Mechanics ( #2868 )
2020-10-07 12:17:36 +02:00
Kitzunu
1f89282b22
refactor(Core): NULL -> nullptr ( #3275 )
...
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-08-31 11:55:09 +02:00
Poszer
1ab83feb76
fix(Core/Raid): Vault of Archavon stomp ( #1871 )
...
- Archavon will stomp the ground, dealing approximately 4,000 unmitigable damage to everyone and stunning them for 2 seconds. At the same time, he'll Impale his highest aggro target, removing it from the fight for 8 seconds.
2019-05-26 15:04:23 +02:00
Nefertumm
c15206fc15
Revert "feat(core): Ensure that all actions are compared to fixed point in time ( #1236 ) ( #1458 )" ( #1471 )
...
This reverts commit 51b8773528 .
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528
feat(core): Ensure that all actions are compared to fixed point in time ( #1236 ) ( #1458 )
...
i.e. world update start
2019-02-14 19:22:17 +01:00
Stoabrogga
7a9f09341f
chore(PCH): remove "ScriptPCH.h" from cpp scripts ( #1423 )
...
remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
2019-02-10 14:50:44 +01:00
Kartselyanski
02f0b4c942
Fixed Archavon's Stone Breath knockback on tank.
2018-06-25 17:55:36 +02:00
Nefertumm
dd300003e2
Update license links ( #783 )
2018-03-12 10:54:57 +01:00
Yehonal
17332304fd
Using TC structure allowing easier patches importing
2017-12-21 00:20:29 +01:00