Commit Graph

65 Commits

Author SHA1 Message Date
Andrew
98a8a1306a fix(Scripts/SunwellPlateau): Fix Felmyst death event (#21425) 2025-02-13 11:38:47 +01:00
Andrew
d3296f6462 refactor(Scripts/MagisterTerrace): Clean up Vexallus instance script … (#21303) 2025-02-01 08:50:21 +01:00
blinkysc
9c214f0de0 fix(Scripts/MagisterTerrace/DB) Vexallus Boss Complete Overhaul (#21266) 2025-01-31 17:22:25 +01:00
Andrew
2809f70dc1 fix(Scripts/MagisterTerrace): Fix Kael's outro and close door during … (#21289) 2025-01-29 06:27:30 -03:00
Andrew
ed99f050fa fix(Scripts/MagisterTerrace): Rescript Kael's intro (#21278) 2025-01-27 11:34:59 +01:00
Andrew
c08a1eefff fix(Scripts/MagisterTerrace): Fix Phoenixes and eggs not despawning (#21260) 2025-01-24 19:44:54 +01:00
Andrew
d99285ed26 fix(DB/Creature): Fix Flamestrike inhabit types (#21249) 2025-01-23 18:29:29 +01:00
Andrew
a38da4ba69 fix(Scripts/MagisterTerrace): Implement missing Kaelthas text line (#21247) 2025-01-23 08:44:18 +01:00
blinkysc
53f8e306e8 fix(Scripts/MagistersTerrace) Add 5s Vexallus Pure Energy (#21239)
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2025-01-23 01:25:14 -03:00
blinkysc
67c1f13f4a fix(Scripts/MagistersTerrace): Pheonix will now reset after death (#21240) 2025-01-23 00:03:13 -03:00
Rocco Silipo
4927d20d48 fix(DB/Creature) Fel Crystals no longer follow players. (#21227) 2025-01-22 15:18:02 +01:00
Andrew
78dc29371c fix(Scripts/MagisterTerrace): Fix Selin's crystal drain being interru… (#20727)
fix(Scripts/MagisterTerrace): Fix Selin's crystal drain being interrupted
2024-11-24 19:38:52 -03:00
Dan
8c3c751221 refactor(Scripts/MagistersTerrace): Felblood Kael'thas (#20642)
* Felblood kael (#14)

* init

* initial ready version

* make scheduler repeatable and correct intro sequence

* some debug and OOC scheduler

* Update boss_felblood_kaelthas.cpp

* finale

* Update boss_felblood_kaelthas.cpp

* Update boss_felblood_kaelthas.cpp

* Update boss_felblood_kaelthas.cpp

* Update boss_felblood_kaelthas.cpp

* simplify target selection
2024-11-20 23:19:03 +01:00
Dan
8c763f6612 refactor(Scripts/MagistersTerrace): refactor Selin Fireheart (#20604)
* init

* Update boss_selin_fireheart.cpp

* rectification

* whitespace
2024-11-18 16:37:03 -03:00
Andrew
7a5b7efc42 refactor(Scripts/MagisterTerrace): Update Priestess Delrissa (#20611) 2024-11-17 21:21:06 -03:00
Andrew
7f558f4e38 refactor(Scripts/MagisterTerrace): Move Kalecgos script to SAI (#20495)
* refactor(Scripts/MagisterTerrace): Move Kalecgos script to SAI

* Update instance_magisters_terrace.cpp
2024-11-11 00:58:51 +01:00
Andrew
4470891310 fix(Scripts/MagisterTerrace): Add all spells to SpellDifficulty dbc (#20502) 2024-11-10 15:51:28 -03:00
IntelligentQuantum
21cb6fbf4f fix(Scripts/MagisterTerrace): Kael'thas' Arcane Spheres & Phoenix should despawn (#20481)
* Fix(Core/Scripts): Kael'thas' Arcane Spheres & Phoenix

* it's better xD
2024-11-08 11:30:55 -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
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
Andrew
4552e89bfd refactor(Scripts/MagisterTerrace): Update Vexallus script (#17892)
* refactor(Scripts/MagisterTerrace): Update Vexallus script

* Update src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
2023-11-29 20:34:11 +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
Andrew
8fbed6c30e refactor(Scripts/MagistersTerrace): Update scripts to new register model (#17725) 2023-11-15 21:04:14 -03:00
Skjalf
f0c4ab3c95 refactor(Scripts/MagistersTerrace): Clean up instance script (#17346) 2023-09-25 06:11:12 -03:00
Skjalf
9ac71a4e2a fix(Scripts/MagistersTerrace): Script Kalecgos' appearance after usin… (#17286) 2023-09-17 19:00:09 -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
Skjalf
b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -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
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Maelthyr
d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

* refactor(Core/Unit): PC & NPC Immunities

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* fix builds error

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* Fix nef combat, and replace SetFlag by SetUnitFlag

* fix combat with jedoga

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-18 08:16:45 -04:00
Maelthyr
32334f5f14 refactor(Core/Unit): minor changes for the combat system (#11904)
Cherry-pick from TC: https://github.com/TrinityCore/TrinityCore/pull/19966

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-13 19:40:29 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
Kitzunu
b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +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
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -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
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
UltraNix
1b7d3708a6 fix(Core/Loot): (#7452)
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104.
2021-08-24 23:48:22 +02:00
Francesco Borzì
e5f1104849 refactor(Scripts/EasternKingdoms): code cleanup (part 5) - also fix potential crash (#6923) 2021-07-19 11:23:27 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02: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
UltraNix
f4c226423d feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00