Commit Graph

3622 Commits

Author SHA1 Message Date
Dan
45d6009cb7 fix(Scripts/Darkshore): ensure Kerlonian Evershade is always in bear form (#17062)
initial
2023-09-17 09:42:07 -03:00
Dan
d15d72c812 fix(Scripts/BlackwingLair): Orb of Domination can no longer be used when you are controlling a pet (#16880)
initial
2023-09-17 07:50:43 -03:00
Dan
a0a06a6d18 refactor(Scripts/SSC): Hydross the Unstable boss script updated (#17081)
* initial

* fix timers

Water tomb and vile sludge timers homogenised. I did this because the sniffs turn him into the pure form quite quickly. So I am assuming the initial timer is the same for both, and then taking some kind of average for the water tomb and also using that for vile sludge. We may need testing where we keep him in the first form for a bit just to look at the timers
2023-09-17 07:43:30 -03:00
Angelo Venturini
be5db26d24 fix(Scripts/MagtheridonLair): Magtheridon Debris (#17249)
* fix(Core/Scripts): Magtheridon Debris

* unhack

* cleanup

* eof line

* unused variable

* more cleanup
2023-09-17 07:43:10 -03:00
Dan
9b438731fd fix(Scripts/Karazhan): remove redundant spellcasting check on Netherspite to ensure he moves back to phase 1 (#17269)
initial
2023-09-17 07:38:53 -03:00
Kitzunu
b84596fcab chore(Scripts/DK): Move CheckCast to spell_dk_raise_ally script (#17221)
* chore(Scripts/Spell): Move CheckCast to spell_dk_raise_ally script

* Update spell_dk.cpp

* Update spell_dk.cpp
2023-09-17 03:05:10 +02:00
Kitzunu
fbf7ba2191 chore(Core/enumutils): regenerate enumutils (#17087)
* chore(misc/enumutils): update enumutils

* fix build

* latest update
2023-09-16 14:26:08 +02:00
Kitzunu
66066f508b fix(Scripts/Chat): Fix chat logger (#17102)
* fix(Scripts/Chat): Fix chat logger

* Update chat_log.cpp

* Update worldserver.conf.dist

* Update chat_log.cpp

* fix build

* oopsie

* fix clang
2023-09-16 08:17:42 +02:00
Tereneckla
edaf38c6c3 refactor(Scripts/Spells): Check for existence of AD debuff instead of adding a custom cooldown to heal (#17265)
* Update spell_paladin.cpp

* whitespace
2023-09-15 20:30:15 -03:00
Dan
d18368ad60 fix(Scripts/Karazhan): decrease Aran cast cooldown on normal spells (#17260)
initial
2023-09-15 05:57:53 -03:00
Benjamin Jackson
358a1e71e0 refactor(DB/Player): Unify two player stat tables. (#17188)
* Init.

Change query table names, move data to existing table.

* Combine two player stat loading functions.
2023-09-15 02:35:26 +02:00
Ludwig
8ba8f0fe9e fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK (#17180)
* fix(Core): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK

* fix(Core): LoadAchievementCriteriaData(): Add ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK

- fixes minor oversight of ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK implementation
- this enables DB achievement_criteria_data check for ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
2023-09-14 22:27:39 +02:00
Skjalf
44d1df01c3 fix(Scripts/Karazhan): Should always be able to talk to chess pieces … (#17246)
fix(Scripts/Karazhan): Should always be able to talk to chess pieces regardless of faction
2023-09-14 01:10:36 -03:00
Dan
a469cb5956 fix(Scripts/Karazhan): Malchezaar infernals now spawn in the correct locations under the right conditions (#17237)
* initial
test

Co-authored-by: <100873791+Gultask@users.noreply.github.com>

* change spawnMask

* better failsafe

* get list once

* extend search range for relays

* put infernal spawn in separate method for

readability

* add more methods

* remove leftover method

* dumb and dumber mistakes
2023-09-13 20:58:19 -03:00
Gultask
e422583132 feat(Core/SmartAI): Implement a few more stuff (#17090)
* init

* init2

* attempt to fix WP delays

* init3

* init4

* buildfix

* Create rev_1693093120417899200.sql

* workflow

* Underbat

* castflag power mana

* did not work

* Update SmartScriptMgr.cpp

* ugly

* port range to new system

* attempt

* simplify cast

simplify cast
add iteration for aura_not_present
recalc timer if already castig spell

* Update SmartScript.cpp

* attempt

* attempts

* HP PCT

* missing aura to targetselector

* Update rev_1693093120417899200.sql

* Update SmartScriptMgr.h

* Update SmartScriptMgr.h

* Update SmartScript.cpp

* remove not_attacking, fix behind_me

* revert is_behind_me

* Update SmartScriptMgr.h

* Update underbog.cpp

* Update underbog.cpp
2023-09-10 13:12:55 +02:00
Kitzunu
f6d11d526b fix(Core/AuctionHouse): fix crash in BuildListAuctionItems (#17222)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17150
2023-09-08 23:09:35 -03:00
Skjalf
8d08a861aa feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook (#17209)
* chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up

* Revert "chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up"

This reverts commit f841ef9da313976179fb788d9573ff8ced05ecb9.

* feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook

* Update GlobalScript.cpp
2023-09-08 01:52:02 -03:00
Dan
76d1d02dce fix(Scripts/Magtheridon): add correct way to reset threat list (#17198)
* test

* fix but check

* fix?
2023-09-06 18:33:34 +02:00
Christopher Galbraith
4147418a7a refactor(Scripts/TheEye): Refactor Void Reaver boss script to new scheduler (#17044)
* WiP draft of void reaver refactor

* linting

* remove UpdateAI override

* add delay after pounding

* separate arcane_orb into group to delay

* clang fix

* removed unused context param

---------

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2023-09-05 13:16:31 -03:00
Dan
189818e781 fix(Scripts/Ulduar): update Winter Jormungar and Snow Mound creature script (#17054)
* initial

* add auras

* spacing
2023-09-05 06:39:44 -03:00
Eddy Vega
056b28ea21 fix(Scripts/Magtheridon): Remove ThreatList before release (#17128)
init
2023-09-05 06:37:04 -03:00
Anton Popovichenko
52d07bbfae fix(Core/InstanceMap): Stop using deleted player in RemovePlayerFromMap (#17069) 2023-09-05 06:36:34 -03:00
Kitzunu
1ed1cd0c73 fix(Core/Player): Allow to swap bags when they are filled (#17086) 2023-09-05 06:35:15 -03:00
Dan
dd647da913 fix(Scripts/MagtheridonsLair): make it so no attack is being done during Quake and fix p1 cheese tactic (#17136)
* initial

- adds condition for taunt speech
- makes it so no attack happens whatsoever during quake

* fix p1 channeler skip bug

* initialise channelers

* doforallminions

* thisiswhathappenswhenyoucodeinbrowser

* Update src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-09-04 21:20:09 -03:00
Skjalf
0c90bfcf70 fix(Scripts/Karazhan): Remove redundant Garrote cast and despawn gues… (#17152)
fix(Scripts/Karazhan): Remove redundant Garrote cast and despawn guests on evade
2023-09-04 21:15:18 -03:00
Skjalf
cdc06e1703 fix(Scripts/Karazhan): Remove hacked knockback effect from Aran Flame… (#17174)
fix(Scripts/Karazhan): Remove hacked knockback effect from Aran Flame Wreath
2023-09-04 21:15:03 -03:00
Skjalf
5abfbdff42 fix(Scripts/Karazhan): Fix Nightbane health phase percentages (#17173)
* fix(Scripts/Karazhan): Fix Nightbane health phase percentages

* Update boss_nightbane.cpp
2023-09-04 21:11:58 -03:00
Dan
cacb32f423 fix(Scripts/Karazhan): change to right gossip menu for Barnes (#17151)
* initial

* make sense of ids
2023-09-03 09:44:43 -03:00
Dan
4886dac963 fix(Scripts/Karazhan): make it so door closes when Big Bad Wolf is engaged in Little Red Riding Hood in the Opera (#17172)
* initial

* not a boolean
2023-09-03 09:44:13 -03:00
Skjalf
4ce43d3f1f fix(Scripts/Karazhan): Maiden of Virtue repentance should have a cast… (#17153)
fix(Scripts/Karazhan): Maiden of Virtue repentance should have a cast time
2023-09-03 09:43:16 -03:00
Dan
6ff5f3811e fix(Scripts/Karazhan): fix gossip from the Grandmother in the Big Bad Wolf fight (#17155)
* initial

* switch is better

* add correct menu ids cmangos cherrypick

...

Co-authored-by:  <7995382+killerwife@users.noreply.github.com>

* remove sql
2023-09-02 18:51:28 -03:00
Kitzunu
280822cb83 chore(Deps/Misc): Print an EOL Deprecation warning for MySQL 5.7 and … (#17101)
chore(Deps/Misc): Print an EOL Deprecation warning for MySQL 5.7 and OpenSSL 1.1
2023-08-29 00:24:41 +02:00
Francesco Borzì
5d01b700fd refactor(Core): remove unused imports (#17094) 2023-08-28 13:39:43 +02:00
Francesco Borzì
eaa6487fc2 refactor(Scripts): remove unused imports (#17097) 2023-08-27 22:25:22 -03:00
Dan
3ce2627c05 fix(Scripts/Karazhan): allow Moroes and adds to reset when an add is pulled out of the room (#17072)
* initial

* doforallsummons

* error fix
2023-08-27 16:08:34 -03:00
Kitzunu
3eb2463c69 chore(Core/Misc): Correct some fmt outputs (#17091) 2023-08-27 06:23:26 +02:00
Christopher Galbraith
aea540181b fix(Spell): set torment of the worgen to have 3% proc chance (#17005)
Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2023-08-26 17:35:56 +02:00
pvp100
856d17ac36 fix(Core/MiscHandler): Dungeon requirements Message (#16701)
* fix(DB/Gameobject): fix towercanno error location in Flamewatch Tower

adjusted wintergrasp towercanno position

* fix(Core/MiscHandler): dungeon access requirements message parameter

requirements level variable always 0
requirements item cannot get from locale

Co-authored-by: aviar <aviar@sina.com>

* revert: random edits

---------

Co-authored-by: aviar <aviar@sina.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2023-08-25 09:16:47 -03:00
Anton Popovichenko
f4658a1df2 fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries. (#17070)
* fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries.

* Fix build
2023-08-25 09:15:07 -03:00
Synful-Syn
6b583089f3 fix(Core/Spell): Stop Blink from the falling player to move upward by 1y and stop moving backward when facing a wall (#16657)
* blink-bad-warps

* Change formatting of an if
2023-08-25 09:14:27 -03:00
Dan
2aee8bb1c3 fix(Scripts/Karazhan): allow sequence of releases to continue even if Dorothee dies early (#17077)
* initial
initial

Co-authored-by: danqu <3050620+danqu@users.noreply.github.com>

* some changes because reset dun work

* oops

* fixes hopefully

* debug

* more debug

* bruh

* cleanup

---------

Co-authored-by: danqu <3050620+danqu@users.noreply.github.com>
2023-08-25 09:06:30 -03:00
Christopher Galbraith
cee630774c fix(Core/Spells): Add SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK to Hand of Sac and Divine Sac spells (#17041)
* add no spell pushback flag to auras

* Revert "add no spell pushback flag to auras"

This reverts commit 545e9fe4ee69bb079b69a4f2ba6039b834568a59.

* spellInfoCorrection for no pushback on HoS and Divine Sac

---------

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2023-08-25 09:02:27 -03:00
podmepodme
820eac083c fix(Scripts/Orgrimmar): replace hardcoded gossips in zone_orgrimmar (#16947)
* fix(CORE/Creature): replace hardcoded gossips in zone_orgrimmar

Closes AzerothCore issue #4179

* fix(CORE): Codestyle

* refactor(CORE/Character): Switch statement for thrall dialog

* fix(CORE): Codestyle
2023-08-25 08:52:51 -03:00
The GhostRider
b1c8b0eaa2 fix(Core/Item): Complimentary Brewfest Sampler (#16992)
* Fix(DB/C++):Item - Complimentary Brewfest Sampler

* Delete PlayerStorage.cpp

* Update rev_1691843684176706600.sql

Correction

* Ripristino il file PlayerStorage.cpp

* New file: SpellInfoCorrections.cpp

* Update rev_1691843684176706600.sql
2023-08-25 08:45:06 -03:00
Dan
d63aba78bd refactor(Scripts/SSC): modernise Morogrim Tidewalker with BossAI (#17028)
* fix ohf

* revert

* initial

* make bench happy

* make bench happier
2023-08-25 08:40:41 -03:00
Anton Popovichenko
4c287e2873 fix(Core/Vehicles): Fix crash in Vehicle::AddPassenger (#17038)
* fix(Crash): Fix crash in Vehicle::AddPassenger

As I understand it, a try-catch block cannot intercept the ABORT function. Therefore, let's use a simple if statement instead.

* Address code review feedback
2023-08-22 12:13:36 +02:00
Gultask
e42f43784c feat(Core/SmartAI): Implement SMART_ACTION_FOLLOW_GROUP (#17033)
* Update SmartScript.cpp

* INIT

* add as coauthor as well :)

Co-Authored-By: cyberium <346907+cyberium@users.noreply.github.com>

* codestyle

* test?

---------

Co-authored-by: cyberium <346907+cyberium@users.noreply.github.com>
2023-08-22 12:11:21 +02:00
Kitzunu
12456b5496 refactor(Misc/Conf): DBErrors is now Errors (#17053)
* refactor(Misc/Conf): DBErrors is now StartupErrors

* pt2

* Update ci-error-check.sh

* Update ci-error-check.sh
2023-08-22 12:08:53 +02:00
Skjalf
f24fb95575 fix(Scripts/Arcatraz): Fix not being able to try Skyriss a second time after wipes (#17018)
* fix(Scripts/Arcatraz): Revive Warden Mellichar on wipes at Skyriss

* Update boss_harbinger_skyriss.cpp
2023-08-22 00:12:49 -03:00
Walter Pagani
957ccdb845 fix(Script/Spells): Book of Fel Names (#17051) 2023-08-21 21:15:00 +02:00