Commit Graph

101 Commits

Author SHA1 Message Date
Jelle Meeus
6e0e5a6939 fix(Scripts/ZulAman): Harrison Jones gong event RP with taskscheduler (#20713) 2024-11-24 11:39:19 -03:00
Andrew
49b0596744 fix(Scripts/ZulAman): Despawn Zuljin spirits shortly after death (#20711) 2024-11-24 08:54:29 -03:00
IntelligentQuantum
065579a6e3 fix(Scripts/ZulAman): Nalorakk in Bearform should not be attacking wi… (#20707) 2024-11-24 08:13:57 -03:00
Andrew
c5876bff6f fix(Scripts/ZulAman): Fix Amani Hatcher behaviour (#20687) 2024-11-24 07:56:18 -03:00
Jelle Meeus
a6f279ccfa fix(Scripts/Zulaman): Halazzi double scheduling of lynx abilties in the first phase 1 (#20708)
double scheduling of enter lynx
2024-11-24 10:34:31 +01:00
Andrew
e15ca6ff51 fix(Scripts/ZulAman): Jan'alai eggs should not respawn during encounter (#20664) 2024-11-21 07:23:01 +01:00
Andrew
d5d6ce39af fix(Scripts/ZulAman): Correct gate ids (#20665) 2024-11-21 07:22:33 +01:00
Andrew
bda74c14b8 fix(Scripts/ZulAman): Hexlord: missing update to last commit (#20663)
* fix(Scripts/ZulAman): Hexlord: missing update to last commit

* Update boss_hexlord.cpp
2024-11-20 22:33:19 +01:00
Andrew
57f9cecbd9 fix(Scripts/ZulAman): Fix Narolakk Mangle timer and Bear phase not la… (#20648)
* fix(Scripts/ZulAman): Fix Narolakk Mangle timer and Bear phase not lasting for full duration

* Update boss_nalorakk.cpp

* Update boss_nalorakk.cpp
2024-11-20 22:29:07 +01:00
Andrew
62a5529fcf fix(Scripts/ZulAman): Fix Halazzi lynx not moving on spawn (#20649) 2024-11-20 22:28:16 +01:00
Andrew
4aca845fab fix(Scripts/ZulAman): Remove Zul'jin Electrical Storm on phase change (#20651) 2024-11-20 22:27:53 +01:00
Andrew
aa847d110a fix(Scripts/ZulAman): Fix Malacrass not casting correct class abilities (#20653)
* fix(Scripts/ZulAman): Fix Malacrass not casting correct class abilities

* Update boss_hexlord.cpp
2024-11-20 22:27:35 +01:00
Andrew
5561445de4 fix(Scripts/ZulAman): Fix Janalai Enrage/Berserk behaviour (#20662)
* fix(Scripts/ZulAman): Fix Janalai Enrage/Berserk behaviour

* Update boss_janalai.cpp
2024-11-20 22:26:45 +01:00
Jelle Meeus
047a21d31a fix(Scripts/ZulAman): Halazzi Phases (#20650) 2024-11-20 09:08:21 -03:00
Andrew
c46fceeea7 fix(Scripts/ZulAman): Restore hatcher side switch (#20633) 2024-11-19 06:25:21 -03:00
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