Commit Graph

86 Commits

Author SHA1 Message Date
Andrew
c4a8fafecb fix(Scripts/ZulAman): Fix Gust of Wind targetting tanks and eagles no… (#20632)
fix(Scripts/ZulAman): Fix Gust of Wind targetting tanks and eagles not spawning
2024-11-19 06:24:36 -03:00
Andrew
17bb56932e fix(Scripts/ZulAman): Fix Janalai berserk (#20612) 2024-11-18 08:24:32 +01:00
Andrew
68f3a59f78 fix(Scripts/ZulAman): Narolakk dont engage after wave dies and attack… (#20615)
* fix(Scripts/ZulAman): Narolakk dont engage after wave dies and attackable

* Update boss_nalorakk.cpp
2024-11-18 08:23:46 +01:00
Andrew
4948197014 refactor(Scripts/ZulAman): Move Amani Hatchling to SAI (#20589) 2024-11-16 12:20:56 -03:00
Andrew
e2a57dbfb2 fix(Scripts/ZulAman): Update Malacrass adds spawn positions (#20580)
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
2024-11-15 09:01:31 -03:00
Andrew
5bbfd21e32 fix(Scripts/ZulAman): Save Massive Gate state to DB (#20568) 2024-11-15 04:38:48 -03:00
Andrew
2c40c299a7 fix(Scripts/ZulAman): Despawn Harisson Jones after he "dies" (#20565) 2024-11-14 18:31:03 -03:00
Andrew
e2020e0886 chore(Scripts/ZulAman): Update Akilzon to new register method (#20556) 2024-11-14 03:29:43 -03:00
Andrew
14980a91bc fix(Scripts/ZulAman): Permbind players when using the gong (#20554) 2024-11-13 23:18:27 -03:00
Andrew
1bea402e5c fix(Scripts/ZulAman): Remove Eletrical Storm hacks (#20553)
* fix(Scripts/ZulAman): Remove Eletrical Storm hacks

* Update boss_akilzon.cpp

* Create rev_1731545993422354000.sql
2024-11-13 22:58:33 -03:00
Jelle Meeus
f011a849dc fix(Scripts/ZulAman): speed up gong event (#20547) 2024-11-13 16:10:36 -03:00
Andrew
e80b0ce8b8 fix(Scripts/ZulAman): Set Akilzon encounter in progress when engaged (#20531) 2024-11-12 11:50:09 -03:00
Andrew
fec7c88b51 fix(Scripts/ZulAman): Amani Hatchers should hatch eggs at increasing … (#20497) 2024-11-11 05:58:44 -03:00
Andrew
8e05cd7e80 refactor(Scripts/ZulAman): Move Spirit of the Lynx to SAI (#20498) 2024-11-10 14:55:04 -03:00
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