Commit Graph

5363 Commits

Author SHA1 Message Date
Stefano Borzì
83b8bf7288 ci: fix codestyle and cppcheck reports (#20962) 2024-12-18 10:34:42 +01:00
Rocco Silipo
2e13eac041 fix(Script/ZulAman): Nalorakk abilities. (#20937)
* Update boss_nalorakk.cpp

* Update boss_nalorakk.cpp
2024-12-18 09:00:20 +01:00
Exitare
325c208b7c feat(Scripts/Command): Update gm fly to behave like a toggle (#20925) 2024-12-18 05:50:33 +01:00
Andrew
2923a4aa43 fix(Scripts/ZulAman): Fix Electric Storm shouldnt hit safe players (#20897)
* fix(Scripts/ZulAman): Fix Electric Storm shouldnt hit safe players

* increase cloud duration by 500ms

Co-Authored-By: killerwife <killerwife@users.noreply.github.com>

---------

Co-authored-by: killerwife <killerwife@users.noreply.github.com>
2024-12-17 12:28:46 -03:00
Jelle Meeus
88eb6fbb2b fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (#20944)
fix: typo StartRecoveryCategory

should be category
2024-12-17 10:38:24 -03:00
Exitare
7fd8b04a56 feat(Core/Motd): Allow localized motd (#20542)
* Initial commit for localized motd

* Rename function that created world packages

* Update to satisfy code check

* Update code to accomodate localized motd

* Update command to support multiple optionales & adjusted db

* Code cleanup

* Update sql name

* Fix codestyle issues

* Remove hardcoded schema

* Add check for valid player in reload command

* Update to better code style

* Add missing include

* Fix redundant code usage

* Add missing include

* Remove sql files and create new rev sql files

* Address minor code reviews

* Fix code style

* Update code to address code revisions.

- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant

* Fix code style

* Add check for base motd and update locale to DEFAULT_LOCALE

* Code docs

* Removed some docs, readd defaultd motd formatting

* Fix oversight in variable declaration

* Code style fix

* Update code based on code review

* ready for merge

* Fix set motd command due to changes to DEFAULT_LOCALE

* Fix CI

* Fix trailing whitespace

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-12-15 19:50:02 +01:00
Exitare
98b426bf3a feat(Core/Player) Option to adjust max rest bonus via config (#20836) 2024-12-14 20:51:28 +01:00
Jelle Meeus
94f1176cd0 fix(Scripts/TheEye): Kaelthas reduce time until all advisors phase (#20914) 2024-12-14 11:20:41 +01:00
Exitare
6f65f5f22b feat(Core/Player)Add quest failure sound when inventory is full or quest failed (#20917) 2024-12-14 09:46:41 +01:00
Grimdhex
a4e2b1d743 feat(Core/WorldObjects): implement Heartbeat timers (#20872) 2024-12-13 08:50:45 +01:00
Jelle Meeus
993bdcb84e feat(Core/Player): implement Spell Queue (#20797) 2024-12-12 11:59:52 +01:00
Jelle Meeus
80e6a3a412 fix(Scripts/TrialOfChampion): fail and send custom spell error when trying to mount without lance equipped (#19932) 2024-12-12 06:54:40 +01:00
IntelligentQuantum
9f37794f5c Fix(Core/Player): Energy regen rate bonuses (#20321) 2024-12-12 06:53:39 +01:00
Andrew
d94dda9d93 feat(Core/SAI): Implement SMART_ACTION_DISMOUNT (206) (#20899) 2024-12-12 06:11:42 +01:00
Andrew
a4c30ad720 fix(DB/Creature): Fix ZA bosses not despawning on evade (#20900) 2024-12-12 06:09:59 +01:00
blinkysc
cef1b781d7 fix(Scripts/IcecrownCitadel): Vengeful Shade unroot timer fix (#20902)
Vengeful Shade unroot timer fix

Co-authored-by: Nicholas Lee <nicholaslee@Nicholass-MacBook-Air.local>
2024-12-12 00:03:29 -03:00
Andrew
60667e75c3 fix(Scripts/ZulAman): Malacrass adds shouldnt change on wipes (#20894) 2024-12-11 00:59:59 +01:00
Andrew
7a66008429 fix(Scripts/ZulAman): Dont update Hexlord timers while casting (#20876) 2024-12-10 18:27:22 -03:00
Andrew
951d395dca fix(Scripts/ZulAman): Zuljin abilities shouldnt overlap (#20875) 2024-12-09 12:50:04 +01:00
Andrew
7530423f6b fix(Scripts/SunwellPlateau): Fix Entropius despawning (#20874) 2024-12-09 07:38:25 -03:00
Benjamin Jackson
2654ec83cd fix(Core/AI): Increase movement leash extension interval. (#20867)
Init.
2024-12-08 21:04:41 +01:00
Jelle Meeus
00eeb0051a fix(Core/SpellAuraEffects): use caster's level to scale amount to break crowd control auras (#20153) 2024-12-06 12:19:03 +01:00
Andrew
00c0e202ef fix(Scripts/ZulAman): Akil'zon storm damage should multiply per tick (#20842) 2024-12-05 09:46:07 -03:00
Andrew
0d0e3a6ce1 fix(Scripts/ZulAman): Zul'jin gate should be unlocked instead auto open (#20841) 2024-12-05 05:17:18 -03:00
Jelle Meeus
3f5ac98bdb fix(Scripts/Karazhan): Nightbane Speed (#20838)
fix(Scripts/Karazhan)NightbaneSpeed

revert speed to before 7e0dff5839
2024-12-04 16:14:39 -03:00
DuckBone
26518b3790 Fix(DB/Script): Halls of Stone, Brann escort (#20312)
* Fix(DB/Script): Halls of Stone, Brann escort

- escort, tribunal, bjonnir code completion

Closes issue #13079

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Fix(DB/Script): Halls of Stone, Brann escort

* Update rev_1729968739299017200.sql

* Fix(DB/Script): Halls of Stone, Brann escort fix

* Fix(DB/Script): Halls of Stone, Brann escort fix 2

* Fix(DB/Script): Halls of Stone, Brann escort brackets format

* Fix(DB/Script): Halls of Stone, Brann escort remove whitespace

* Fix(DB/Script): Halls of Stone, Brann escort remove last whitespace

---------

Co-authored-by: zalazoltan86 <zalazoltan86@gmail.com>
2024-12-03 20:57:11 +01:00
Andrew
69c85ca8a2 fix(Scripts/ZulAman): Overpower spell cooldown (#20828) 2024-12-03 13:57:14 -03:00
Andrew
02cacd2341 feat(Core/Unit): Implement GetCompanionPet() helper (#20819) 2024-12-02 16:34:24 -03:00
Nathan Handley
a704556ae8 fix(Tools/MapExtractor) Update MPQ patch iterator to also load patch files 4 through 9 (#20815) 2024-12-02 15:40:13 +01:00
Andrew
8c387fa2b8 refactor(Scripts/UtgardeKeep): Modernize Prince Keleseth script (#20806) 2024-12-02 08:17:16 -03:00
Andrew
0f1618faf5 feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable aut… (#20805)
* feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable autoattacks

* Update ScriptedCreature.cpp
2024-12-02 08:11:18 -03:00
Tereneckla
8e080f1e60 fix(Core/Pet): Remove unnecessary Pet Class reassignments (#20614)
remove unnecessary class assignment
2024-12-01 17:16:13 -03:00
Jelle Meeus
2d616ce0e8 fix(Core/Vmaps): Do not ignore model rotation when calculating liquid level (#20760)
cherry-picked from:
53b4501ce9

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-12-01 17:09:47 -03:00
gontrannopier
cf7959238a fix(Core/Players): don't set full heath/mana/rage while Dead (#20723)
fix level up while dead -> check if player is not dead, then update health/mana/rage/..

Co-authored-by: gontrannopier <gontrannopier@gontrannopier.com>
2024-12-01 17:09:26 -03:00
Andrew
ffe7d42831 chore(Scripts/Karazhan): Remove unused variables (#20810) 2024-12-01 16:57:06 -03:00
Andrew
af3ded6889 fix(Scripts/ZulAman): Fix Zuljin targetting players during eagle phase (#20808) 2024-12-01 14:08:11 -03:00
Andrew
4ef0a02fc4 fix(Scripts/ZulAman): Delay static disruption by 3s after storm (#20809) 2024-12-01 14:07:53 -03:00
Kitzunu
490c90bdd7 feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY (#20804)
* feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/15755

* mb
2024-12-01 13:57:39 -03:00
Jelle Meeus
81d1fcad65 fix(Scripts/ZulAman): eagle gauntlet (#20719)
* sql

* add script handling

4b890a4096

Co-authored-by: MantisLord <sabinprosper@gmail.com>

* set Akilzon call for help

boss should pull trash

* style: remove blank lines

* add passiveAI header and sort

* Revert "set Akilzon call for help"

This reverts commit 99143339a9f00f048d9bc707d5b8d348e8f6bbd4.

line of sight blocks call for help

---------

Co-authored-by: MantisLord <sabinprosper@gmail.com>
2024-12-01 08:52:44 -03:00
Kitzunu
ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Andrew
938c637c9a refactor(Scripts/VioletHold): Move all spells to spelldifficul… (#20796)
refactor(Scripts/VioletHold): Move all spell scripts to spelldifficultydbc
2024-12-01 08:47:52 -03:00
Kitzunu
10a79441b6 fix(Core/Spells): Logic misstake for spells that can be cast on dead … (#20800) 2024-12-01 11:11:33 +01:00
Tereneckla
ae4e673713 fix(Scripts/Commands) fix formatting in server debug (#20801) 2024-12-01 11:11:23 +01:00
Andrew
a4a278a0e7 refactor(Scripts/UtgardeKeep): Upgrade scripts to new register method (#20795) 2024-11-30 20:25:27 -03:00
Kitzunu
5e4f6ac576 fix(Script/Commands): tele add should only check exact match (#20785)
* fix(Script/Commands): tele add should only check exact match

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268

* better describe the variable
2024-11-30 20:06:26 -03:00
Andrew
bef9e46e9b refactor(Scripts/TheNexus): Update Command Kolurg script (#20783) 2024-11-30 16:52:57 -03:00
Andrew
4a8247824e fix(Scripts/ZulAman): Hex Lord Malacrass shouldn't use previous class… (#20784)
fix(Scripts/ZulAman): Hex Lord Malacrass shouldn't use previous class abilities after siphon
2024-11-30 16:52:10 -03:00
Riley S.
e9137d4d4d fix(Core/Spells): Resolve invalid spell casts on dead players when the cast is valid. (#20712)
* Initial fix for #20509

* small revert

* Two way visibility between ghosts.

* clean up temporary changes.

* clean up debug code.

* small typo

* revert .gitignore

* fix codestyle

* Add missing flag, resolve issue where cast was failing while alive.

* Update SpellInfo.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-11-30 20:18:32 +01:00
Andrew
00109faa86 fix(Scripts/ZulAman): Reset threat after Zuljin does his phase transi… (#20782)
fix(Scripts/ZulAman): Reset threat after Zuljin does his phase transition transformation
2024-11-30 15:13:25 -03:00
Andrew
afc81098f2 fix(Scripts/ZulAman): Fix Vortex not following players and also spell… (#20780)
* fix(Scripts/ZulAman): Fix Vortex not following players and also spell missing

* Update boss_zuljin.cpp
2024-11-30 12:28:19 -03:00