Commit Graph

12703 Commits

Author SHA1 Message Date
kasvati
0c95ddf285 fix(DB/Spell): Valentine event buffs grouping (#18319)
* fix(DB/Spell): Valentine event buffs grouping
fixes AzerothCore issue #18285

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query
added back the column names

* fix(DB/Spell): Valentine event buffs grouping

fixes AzerothCore issue #18285
compacted the original query
added back the column names
added deletion before insert
moved id from 2 to 1035
2024-02-13 20:20:19 +01:00
Mike Delago
e282f6caaa Fix(Docker): Add missing dollar sign (#18314) 2024-02-13 10:34:29 -05:00
github-actions[bot]
c71531ee0d chore(DB): import pending files
Referenced commit(s): 95085a55ef
2024-02-13 12:26:09 +00:00
Billy Jones
95085a55ef Fix(DB) Heart of Acherus seeable daemons (#18199)
* fix(DB): Triggers visible in Archerus

-Added trigger flag to npc_unworthy_initiate_anchor

Closes AzerothCore issue #18196

* fix(DB): Triggers visible in Archerus

-Uses UPDATE instead of DELETE/INSERT

Closes AzerothCore issue #18196

* Update rev_1705766635914320261.sql

Add flag instead of overriding

---------

Co-authored-by: Billy Jones <billy@billyjones.uk>
2024-02-13 13:25:10 +01:00
github-actions[bot]
d7d2153ce9 chore(DB): import pending files
Referenced commit(s): ce095bd802
2024-02-12 22:29:09 +00:00
Walter Pagani
ce095bd802 feat(SQL/creature_text) Assign missing BroadcastTextId (#18294)
* feat(SQL/creature_text) Assign missing ids

* Sorted by CreatureID

* Add the GroupID to the query

* Eliminating repeated queries

* Add some more records

* Delete questionable records
2024-02-12 23:28:17 +01:00
Andrew
5e7e5ce417 fix(Scripts/TheEye): A'lar stop casting flame buffet when any valid t… (#18313)
fix(Scripts/TheEye): A'lar stop casting flame buffet when any valid target is in range
2024-02-12 16:04:35 +01:00
github-actions[bot]
cbb1defb8e chore(DB): import pending files
Referenced commit(s): 025602ac8a
2024-02-12 11:18:12 +00:00
Anton Popovichenko
72e75982be fix(Core/Taxi): Fixes crash when player logins and continues flight (#18270)
* fix(Core/Taxi): Fixes crash when player logins and continue flight

* Update WaypointMovementGenerator.cpp
2024-02-12 08:18:05 -03:00
Dan
a4dc083b42 fix(Scripts/Hyjal): move Hyjal boss waypoints to DB (#18299)
* put anetheron movement in wps

* move all wps to db for bosses
2024-02-12 08:17:39 -03:00
Dan
fb49062a56 fix(Scripts/TheEye): make sure Solarian always get reset to REACT STATE aggressive on reset (#18302)
initial
2024-02-12 08:17:24 -03:00
github-actions[bot]
025602ac8a chore(DB): import pending files
Referenced commit(s): 723dda74d9
2024-02-12 11:17:16 +00:00
Dan
15af4f4d24 fix(DB/Creature): Astromancer and Star Scryer MC immunity (#18303)
initial
2024-02-12 08:17:06 -03:00
Dan
bf71d8e7f1 fix(Scripts/TheEye): some Al'ar fixes (#18305) 2024-02-12 08:16:46 -03:00
github-actions[bot]
0d2cc7d767 chore(DB): import pending files
Referenced commit(s): 6c841df6d1
2024-02-12 11:16:29 +00:00
Dan
723dda74d9 fix(DB/SAI): add abilities to Nether Scryer (#18308)
* initial

* unix EOL
2024-02-12 08:16:24 -03:00
Dan
c494f2ff70 fix(DB/SAI): change the way Phoenix Hawk targets players with its abilities (#18309)
* initial

* update conditions
2024-02-12 08:16:03 -03:00
sudlud
6c841df6d1 fix(DB/Gameobject): Sniffed Values for 201716 'Chemical Wagon' (#18311) 2024-02-12 08:15:35 -03:00
Walter Pagani
f18145ca12 feat(fix/build) ignore mariadb in the conditional (#18310)
* feat(fix/build) ignore mariadb in the conditional

* Parentheses in the second condition
2024-02-11 14:28:43 +01:00
AnchyDev
1d8c4056b3 feat(Core/Hooks): Add the KillRewarder reference to the OnRewardKillRewarder hook. (#18290)
* Another hackfix attempt at warden payload forcechecks ban fix.

* Revert last commit, interrupt all forcechecks instead of just _dataSent ones.

* Add rewarder parameter to OnRewardKillRewarder hook.

* Undo old warden changes.

* Removed too much!
2024-02-10 21:58:49 +01:00
Walter Pagani
6b1dd7e19e fix(Core/Database) mysql_stmt_bind_param deprecated in MySQL 8.3 (#18295)
* feat(fix/build) Test on MacOS

* Syntax error

* Syntax error

* Adding missing parameters

* typo

* deprecated

* Check MySQL version
2024-02-10 21:31:17 +01:00
stoudtlr
04266cc18d fix(Deps): Fixed finding openssl 3.2 on windows (#18284)
* Cherry-pick commit (94aed68968)

Co-authored-by: github.com/Shauren <shauren.trinity@gmail.com>
2024-02-10 18:49:40 +01: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
sudlud
c47c945aa4 fix(Conf): disable LeaveGroupOnLogout by default (#18245) 2024-02-09 13:24:57 -03:00
Nathan Handley
425a490a7b feat(Core/Unit): New helper HasActivePowerType and script hook OnPlayerHasActivePowerType (#18293)
* Create HasActivePower for script intercept

* Replace relevant player-related getPowerType() comparators with HasActivePowerType

* Change OnPlayerHasActivePowerType to regular bool instead of optional

---------

Co-authored-by: NathanHandley <nathanhandley@protonmail.com>
2024-02-09 06:27:02 -03:00
Walter Pagani
ed53ac2feb chore(deps/boost): Update cmake file compatible with new policies (#18283) 2024-02-08 06:07:14 -03:00
Dan
d42e04097c fix(Scripts/TheEye): Solarian movement (#18268)
* first implementation

* better implementation

* don't move before first spell

* chase in p2 again

* Update boss_astromancer.cpp

* oops
2024-02-08 06:05:38 -03:00
github-actions[bot]
51c414b9d5 chore(DB): import pending files
Referenced commit(s): 65d6bd0472
2024-02-08 06:42:14 +00:00
Kalimist
65d6bd0472 fix(Core/Creature): hardcoded gossip in zone_azshara (#18289)
* Changing hardcoded text in #define to enum member

- Changing #define to new enum member for AddGossipItemFor method

* Adding SQL Query File

* Forgot to add ';' in DELETE FROM
2024-02-08 07:41:23 +01:00
github-actions[bot]
c841ec5b74 chore(DB): import pending files
Referenced commit(s): bc25ade498
2024-02-08 02:44:15 +00: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
Dan
bc25ade498 fix(Scripts/TheEye): refactor Al'ar (#18264)
* initial

* restore quill event

* with ismoving and debug

* final before timers

* clear all debuffs

* remove justreachedhome bossai

* huh?

* some fixes

* more fixes

* add 2 extra platforms for p1

* fix coords

* finalise

* change melt armor timer so it is not delayed

indefinitely - this is because we have a dive after 30 secs
that delays all timers. So at 30 secs we will have melt armor at
33 seconds, which then gets an extra 15 seconds from the delay all and another dive
after 30 so it gets pushed back even more before being able to be cast
2024-02-07 23:43:19 -03:00
Dan
b8118fa06b fix(Scripts/TheEye): Re-factor Kael'thas (#18272)
* restructuring base files and instance files

* small fix

* some fixes

* fix

* some fixes

* up until kael phase

* weapon despawn fix

* final for now

* some minor details

* fix weapon despawn

* fix by clearing validator

still has debug statements to check how far we get

* finalise with stop casting

* codestyle

* remove redundant delay
2024-02-07 23:42:20 -03:00
github-actions[bot]
e2f1648941 chore(DB): import pending files
Referenced commit(s): c513da85c8
2024-02-06 16:48:31 +00:00
Dan
c513da85c8 fix(Scripts/SSC): some Vashj fixes (#18276)
* initial

* script tainted elemental

* sql

* codestyle
2024-02-06 17:47:37 +01:00
github-actions[bot]
401c0e045a chore(DB): import pending files
Referenced commit(s): 71557b4274
2024-02-05 23:19:46 +00:00
Dan
71557b4274 fix(DB/Karazhan): remove smart_script linking so Mana Warps properly die even when stunned (#18255)
initial
2024-02-06 00:18:52 +01:00
github-actions[bot]
e87ab150d3 chore(DB): import pending files
Referenced commit(s): 4d695b61c2
2024-02-05 21:59:30 +00:00
sudlud
4d695b61c2 fix(DB/Creature): 'Shaman Bonfire Bunny' spawns with sniffed values (#18275) 2024-02-05 22:58:41 +01:00
github-actions[bot]
62a5d607ac chore(DB): import pending files
Referenced commit(s): af8d960277
2024-02-05 17:39:25 +00:00
sudlud
af8d960277 fix(DB/Gameobject): Update 'Campfire' spawns with sniffed values (#18235)
* fix(DB/Gameobject): Update 'Campfire' spawns with sniffed values

* reorder sql comments
2024-02-05 18:38:31 +01:00
github-actions[bot]
083f50703e chore(DB): import pending files
Referenced commit(s): 74222d364f
2024-02-05 16:08:07 +00:00
sudlud
74222d364f fix(DB/Creature): Sniffed Values for 25924 'Twilight Speaker Viktor' (#18273) 2024-02-05 17:07:17 +01:00
github-actions[bot]
9ad39d8e21 chore(DB): import pending files
Referenced commit(s): 6b9d98b2c9
2024-02-05 16:06:18 +00:00
sudlud
6b9d98b2c9 fix(DB/Creature): reassign equipment_id to creatures 25949, 26221 (#18274) 2024-02-05 17:05:02 +01:00
github-actions[bot]
f72174c622 chore(DB): import pending files
Referenced commit(s): 1ec72ae6dc
2024-02-04 14:12:06 +00:00
Dan
26d0c137a9 fix(DB/ShadowmoonValley): add Arcane Explosion to Arcane Bursts and make them despawn (#18271)
arcane burst
2024-02-04 11:11:31 -03:00
Dan
1ec72ae6dc fix(Scripts/TheEye): add Kael adds to the cpp script (#18257)
* initial

* add sql file to change to script

* make sure scheduler runs

* fix focus gaze mechanic

* leftover tabs

* remove comment
2024-02-04 11:11:12 -03:00
github-actions[bot]
4a9289e14c chore(DB): import pending files
Referenced commit(s): 186cb58a0f
2024-02-03 14:12:32 +00:00
sudlud
186cb58a0f fix(Scripts/Dalaran): Update Toy Shop Toy Plane behaviour based on sniffs (#18239)
* fix(Scripts/Dalaran): Update Toy Shop Toy Plane behaviour based on sniffs

* update comments and waypoints for smoother movement

* move initalization to Reset() function
2024-02-03 15:11:36 +01:00