Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Andrew
0db39f76de
fix(Core/Creature): Creatures should skip confused targets ( #21410 )
2025-02-13 13:22:02 -03:00
Andrew
b17d69b33c
feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook ( #21411 )
2025-02-12 12:16:02 +01:00
Andrew
d2c28681aa
refactor(Scripts/ZulGurub): Modernize Gahzranka script ( #20603 )
2024-11-17 02:19:46 -03:00
avarishd
cce96d05fc
fix(Scripts/ZG): Poisonous Blood not being removed after Blood Siphon ( #20463 )
...
* fix(Scripts/ZG): Poisonous blood not being removed at the end of siphon
* don't use doforall
* wrong spell -.-
* AURA_STATE_IMMUNITY
* was modified in SpellInfoCorrections
* drop toplayer
2024-11-06 11:09:55 -03:00
Jelle Meeus
7410175a08
refactor(Scripts/EasternKingdoms): spell scripts use registry macros ( #20399 )
2024-11-01 16:54:41 -03: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
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -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ì
e8bd391505
refactor(Scripts/EasternKingdoms): remove unused imports ( #19457 )
2024-07-23 08:56:46 -03:00
avarishd
e92a5829a0
fix(Scripts/ZG): Jin'do using wrong hex spell ( #19389 )
2024-07-14 13:24:23 -03:00
Andrew
9e122a0cad
fix(Core/AI): Fix bosses being stuck IN_PROGRESS if despawnonevade fl… ( #19070 )
...
fix(Core/AI): Fix bosses being stuck IN_PROGRESS if despawnonevade flag is used
2024-06-16 18:57:51 +02:00
Andrew
6df652a8dd
fix(Core/Creature): Prevent combat movement disabled creatures from r… ( #18428 )
...
* fix(Core/Creature): Prevent combat movement disabled creatures from repositioning if target moves within model boundary
* fixbuild
* Apply suggestions from code review
2024-02-27 10:11:39 -03:00
IntelligentQuantum
6a6cefb512
chore(Scripts/EK): remove useless includes ( #18075 )
...
* chore(Scripts/Kalimdor): remove useless includes
* chore(Scripts/EK): remove useless includes
2023-12-28 16:15:16 -03: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
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
KJack
05e530317a
refactor(Scripts/AI) ZG20: Venoxis (Snake Boss) modernization ( #17699 )
...
* npc_razzashi_cobra_venoxis: modernize
* ZG/Venoxis : npc_razzashi_cobra_venoxis
* ZG20/Venoxis - modernize AI
* Reimplement cobras with SAI and DB edits
2023-11-16 21:42:11 +01:00
KJack
bc18526ee7
refactor(Scripts/AI) ZG20: Mar'li (Spider Boss) modernization ( #17715 )
...
ZG/Marli modernized
2023-11-16 19:24:11 +01:00
KJack
4fabaee597
fix(Scripts/ZulGurub): Jeklik (Bat Boss) - fix double-run scheduler ( #17693 )
...
* Don't double-run scheduler. Only run out of combat when needed.
* Comment clarification
* Rename variable
* Replace janky scheduling with `DespawnOnEvade()`
2023-11-13 03:42:16 -03:00
KJack
3c8adc71cd
(Scripts/AI) ZG20: Jeklik (Bat Boss) - Implement Bat Riders, other fixes and improvements ( #17573 )
...
---------
Co-authored-by: AG <43139552+AGandrup@users.noreply.github.com >
2023-11-12 09:35:35 +01:00
KJack
896e7c5656
(Scripts/AI) ZG20: Improvements to Thekal (Tiger Boss) ( #17603 )
...
Co-authored-by: AG <43139552+AGandrup@users.noreply.github.com >
2023-11-11 08:13:43 +01:00
Anton Popovichenko
f4658a1df2
fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries. ( #17070 )
...
* fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries.
* Fix build
2023-08-25 09:15:07 -03:00
KJack
7945e11557
fix(Scripts/ZulGurub): fix timing regression for Venoxis cobras ( #16309 )
...
Fixes timing regression caused by conversion miss in #14876
2023-05-18 15:34:50 -03:00
天鹿
df77b5f4f7
chore(core): cleanup code p3 ( #16073 )
...
* Update MMapMgr.cpp
* Update UpdateFetcher.cpp
* Update AuctionHouseMgr.cpp
* Update AuctionHouseMgr.h
* Update BattlegroundAV.cpp
* Update ChannelMgr.cpp
* Update ThreatMgr.h
* Update Player.h
* Update PlayerSettings.cpp
* Update ObjectMgr.cpp
* Update Guild.cpp
* Update Guild.h
* Update Map.cpp
* Update World.cpp
* Update boss_nefarian.cpp
* Update boss_prince_malchezaar.cpp
* Update boss_venoxis.cpp
* Update zone_elwynn_forest.cpp
* Update zulfarrak.cpp
* Update boss_novos.cpp
2023-04-24 08:13:07 -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
Maelthyr
afb071bb04
refactor(Scripts): Update vanilla scripts to std::chrono ( #14876 )
...
Co-authored-by: Maelthyrr <AmanThul-Project@proton.me >
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2023-02-05 12:35:48 -03: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
UltraNix
08ff2f277b
fix(Scripts/BlackwingLair): Razorgore the Untamed should not reset enco… ( #13782 )
...
* fix(Raids/BlackwingLair): Razorgore the Untamed should not reset encounter upon casting Conflagrate when soloing.
Fixes #13761
* Update.
2022-12-06 09:47:08 -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
5cf7d3d198
fix(Core/Scripts): Renataki crash ( #13811 )
2022-11-13 18:41:10 -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
e4ecb086e7
fix(DB/Spells): Spell Axe Flurry should target only one player. ( #13208 )
...
* fix(DB/Spells): Spell Axe Flurry should target only one player.
Fixes #12525
* Update.
* Update.
2022-10-25 15:26:48 -03:00
Maelthyr
1f472bddd3
refactor(Core/Combat): Code style and improvement of ThreatMgr ( #12992 )
2022-09-25 15:20:34 -03:00
Eddy Vega
2f5e976ce9
fix(Scripts/ZulGurub): Mandokir engage combat after Speaker's death ( #12771 )
...
init
Co-authored-by: Si1ker <Si1ker@users.noreply.github.com >
2022-08-21 10:59:18 -03:00
Eddy Vega
61a2f3b5d3
fix(Scripts/ZulGurub): Set timer for Ohgan's Thrash ( #12772 )
...
init
Co-authored-by: Si1ker <Si1ker@users.noreply.github.com >
2022-08-21 10:58:49 -03:00
Skjalf
c1257b3628
fix(Scripts/Zul'Gurub): Prevent multiple spawns of Gazhranka ( #12663 )
2022-08-08 14:12:02 -03:00
Nefertumm
cee21c022a
fix(Core): Crash on Mandokir gaze ( #12611 )
2022-08-03 09:06:28 -03:00
UltraNix
775172c5dc
fix(Core): Crashfix. ( #12594 )
2022-07-31 12:26:38 -03:00
Nefertumm
35194434d7
chore(Scripts): remove double method calling for ZG script ( #12517 )
2022-07-25 01:13:18 -03: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
Maelthyr
b77fbf61da
fix(Scripts/ZulGurub): Adjust Arlokk timers ( #12458 )
...
follow up 9aeb236368
2022-07-20 10:45:41 -03:00
UltraNix
1078ad720c
fix(Scripts/ZulGurub): Improvements to Jindo the Hexxer ( #12395 )
2022-07-19 12:11:44 -03:00
UltraNix
700dfde2af
fix(Scripts/ZulGurub): Threat caused by SPELL_AURA_DAMAGE_SHIELD au… ( #12398 )
...
...ras should not count to Threating Gaze Charge mechanic.
Fixes #12379
2022-07-19 11:59:02 -03:00
UltraNix
9aeb236368
fix(Scripts/ZulGurub): Corrected timers on Arlokk. ( #12397 )
...
Fixes #12366
Co-authored-by: Maelthyr <maelthyrr@users.noreply.github.com >
2022-07-19 11:52:49 -03:00
Skjalf
6b2361312c
fix(Scripts/ZulGurub): fix Thekal not dying in phase 2 ( #12353 )
2022-07-10 18:08:48 -03:00
Nefertumm
9c09857b19
fix(Core/ZulGurub): Jin'do the Hexxer rewrite ( #12233 )
...
Co-authored-by: UltraNix <ultranix@users.noreply.github.com >
2022-07-09 18:36:51 -03:00
Nefertumm
bafac46639
fix(Core/ZulGurub): Hakkar hardmode ( #12333 )
2022-07-09 16:49:35 -03:00
UltraNix
dfe28a75a6
fix(Scripts/ZulGurub): Added more missing areatrigger whispers ( #12326 )
2022-07-09 13:56:25 -03:00
UltraNix
a9e872bd64
fix(Scripts/ZulGurub): Prevent from summoning multiple Edge of Madnes… ( #12331 )
...
...s bosses.
2022-07-09 12:58:14 -03:00