Andrew
4da49dd63a
fix(Scripts/ZulAman): Fix crash in Nalorakk script ( #20499 )
2024-11-10 15:33:01 +01:00
Andrew
e2be8fb296
fix(Scripts/ZulAman): Fix Akilzon not spawning eagles and update script ( #20493 )
...
* fix(Scripts/ZulAman): Fix Akilzon not spawning eagles and update script
* Update boss_akilzon.cpp
2024-11-10 08:41:46 -03:00
Andrew
8904a13304
fix(Scripts/ZulAman): Fix Sacrifice timers not updating after latest … ( #20490 )
2024-11-10 08:41:26 -03:00
Andrew
7b8fadaa0c
refactor(Scripts/ZulAman): Move Jan'alai Fire Bomb to SAI ( #20496 )
2024-11-09 20:11:56 -03:00
Andrew
82d43ee52a
fix(Scripts/ZulAman): Move Harrison Jones spawn to DB ( #20491 )
...
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
2024-11-09 19:18:14 -03:00
Andrew
138a2ca974
refactor(Scripts/ZA): Update Zul'jin ( #20456 )
2024-11-08 21:05:30 -03:00
Dan
ce70cf1c13
refactor(Scripts/ZulAman): refactor set data to instance boss states and refactor Hex Lord Malacrass ( #20206 )
...
* load boss data and initialize hexlord
* boundaries and stuff
* Update boss_janalai.cpp
* Update instance_zulaman.cpp
* F
* Update boss_hexlord.cpp
* remove old creature spells
* restore alyson script
* remove instance data sets
* revert
2024-11-05 06:45:53 -03:00
Dan
d9e2773519
refactor(Scripts/ZulAman): refactor Jan'alai ( #20195 )
...
* Janalai (#13 )
* wip
* nullcreature
* wipppp
* first attempt at working state
* hatcherai
* test
* conditions for hatching
* some potential fixes
* some debuggo
* some small fixes
* general fixes
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* more debug
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* fixed?
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* remove dumb bomb count
it is not needed
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* other debug
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* remove script for egg
* F
* Revert "F"
This reverts commit 246c66ccdac52e38c95c63f0ee59f1add97f4d64.
* Revert "remove script for egg"
This reverts commit b85933583fd480f941b839623c7291b6d5887246.
* different spell ids
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* Update boss_janalai.cpp
* restore data sets
changing this in a different PR, but data is still being set here
2024-10-26 00:44:25 +02:00
Andrew
96082065f6
refactor(Scripts/ZulAman): Move Hexlord adds to SAI ( #20185 )
2024-10-13 07:47:05 -03:00
kissingers
0cb6081bc7
fix(Scripts/ZulAman): Nalorakk can't able to trigger instance events when death ( #19895 )
...
* ignore .vs path
* Fix Nalorakk not able to trigger instance events when death
* Revert "ignore .vs path"
This reverts commit 81e949727645d0356eb8bb9490152971dbb9b09b.
* Remove instance null check
* Remove instance null check
* Revert "Remove instance null check"
This reverts commit b97b45284edb3166bc3c253adf1773b031bb1507.
2024-10-11 08:06:28 +02:00
kissingers
cf95c1dfbd
fix(Scripts/ZulAman): Nalorakk sometimes not move when player close ( #19893 )
...
* Fix nalorakk sometimes not move when player close
* init _phase
* Revert "Fix nalorakk sometimes not move when player close"
This reverts commit b42cd4634bb4ffd225eaa7480428c6ba6b4817c6.
2024-09-07 15:39:31 +02:00
Kitzunu
9af86553c5
chore(Core/Misc): update floor and ceil to std ( #19837 )
2024-09-03 08:01:00 -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
Dan
b959d5cc87
refactor(Scripts/ZulAman): Nalorakk refactored ( #19010 )
...
* init
* update movement
* updates and debug
* stuck :/
scheduler doesn't seem to update when at the end of wp movement???
* fix wps and implement fight
* finalise
* unused
* Update boss_nalorakk.cpp
* keep oprientation
* ran_intro
2024-07-04 20:13:41 +02:00
Nathan Handley
df33a57b78
feat(Core/Unit): New helper IsClass and script hook OnPlayerIsClass ( #18243 )
...
* Class Comparison Logic Encapsulation - Parity
* Add Context to IsClass
* Add Unit IsClass script hook
* Replace additional getClass with IsClass
* Update CanUseItem to replace getClass with IsClass
* Add separate context for pet vs ability
* Change Create to Init since not all referenced contexts are creation
* Align spacing in ClassContext
* Drop context on LFGManager max power
* Update IsClass context that wraps around Missle Barrage
* Rename context for swapping weapons
* Be more specific than CLASS_CONTEXT_TALENT
* Remove duplicate context
* Moved IsClass Hook to Player
* Removed unused parameter in virtual base function
* Added maybe_unused to IsClass virtual in order to compile
To match the override signature, the virtual base needs to include the parameter in question, so using [maybe_unused] to signal to the compiler to allow it
* Remove extra blank line
* Add ABILITY_REACTIVE context
* Add context for PET_CHARM
* Remove explicit nullopt check per review
* Code Readability - Change if to if else in pet
Due to the return pattern, this doesn't change functionality in any way
* Add OnPlayer to disambiguate
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-02-10 12:25:00 -03:00
Dan
af880d516f
refactor(Scripts/ZulAman): refactor Halazzi ( #18267 )
...
* initial
* some fixes
* last booboos
* fixes after test
* finale
* actual final
* blegh
2024-02-07 23:43:38 -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
Kitzunu
f757e93da5
refactor(Core/Misc): Make DeathState enum class ( #17607 )
2023-10-28 10:54:03 +02:00
avarishd
e08de5f073
fix(DB/Creature): Hex Lord Malacrass missing weapon ( #17475 )
...
fix(DB/Creature): Hex Lord Malacrass wrong equipment
https: //github.com/TrinityCore/TrinityCore/commit/5856f520bbd8dded42f7742277839587b0645dde
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com >
2023-10-10 10:23:27 -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
UltraNix
dbeffd1466
fix(DB/Texts): Added texts to Halazzi. ( #14124 )
...
* fix(DB/Texts): Added texts to Halazzi.
Fixes #8744
* Update.
2023-01-07 20:30:09 +01:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01: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
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
Nefertumm
396fd35ed5
fix(Core/Spells): Implement SPELL_EFFECT_ACTIVATE_OBJECT ( #11648 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2022-06-13 21:10:31 -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
edb7cac19b
feat(Core/Unit): NPCFlags helpers ( #11286 )
...
* cherry-pick commit (TrinityCore/TrinityCore@d611925 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2022-04-05 13:52:42 +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
ZhengPeiRu21
d7ae312af4
fix(DB/npc_text): Fix Kraz Gossip Text ( #10720 )
...
* fix(DB/npc_text): Fix Kraz Gossip Text
2022-02-18 17:31:55 -05:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03: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
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
acidmanifesto
4330e44ad0
fix (Core/CodeReduction) TC_ removal ( #10162 )
...
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05: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
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01: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
Francesco Borzì
e5f1104849
refactor(Scripts/EasternKingdoms): code cleanup (part 5) - also fix potential crash ( #6923 )
2021-07-19 11:23:27 +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
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
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kargatum
4af4cbd3d9
feat(Core/Logging): rework logging ( #4692 )
...
* feat(Core/Logging): rework logging
* correct level for sql.sql
* del unused config options
* Correct build
* correct after merge
* whitespace
20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)
* 1
* correct logging
* correct affter merge
* 1
* 2
* LOG_LEVEL_WARN
* #include "AppenderDB.h"
* 3
* 4
* 5
* 1. 'WorldSocket.cpp'. Replace (1)
* 6
* 1
2021-04-17 11:20:07 +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