Commit Graph

1635 Commits

Author SHA1 Message Date
Eddy Vega
8e51183fa6 refactor(Scripts/Auchindoun): Mass struct/model update (#16266)
* init

* ubuntu-20.04-clang-with-modules

* unused context

* .

* .

* .

* pew

* .
2023-06-08 16:32:44 -03:00
Angelo Venturini
7a37d51538 refactor(Scripts/ShatteredHalls): move Porung from SAI to cpp (#16417)
* refactor(Scripts/ShatteredHalls): move Porung from SAI to cpp

* Space
2023-06-06 23:38:01 -03:00
Dan
3e19b5e637 fix(Scripts/Underbog): modernise boss scripts (#16149) 2023-06-04 23:42:40 -03:00
Kitzunu
ee18f55f63 fix(Scripts/Spells): Convert some Druid spells to SpellScript (#16414)
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-06-01 22:04:00 +02:00
KJack
a696227e8d fix(Scripts/UBRS): Update UBRS/Pyroguard Emberseer script to fix issues and increase accuracy (#16352)
* Update UBRS/Pyroguard Emberseer script to fix issues and increase accuracy.

- Remove EVENT_PLAYER_CHECK which was causing triggering the fight to work only sporadically
- Break out pre-enter-combat phase to better emulate actual timing. Fixes DBM timing being off
- Pre-enter-combat sequence starts as soon as the adds are engaged, not after 32 seconds
- disable fire shield during pre-enter-combat to keep the fight from resetting
- remove faster add despawn which doesn't appear to be in the WotLK Classic version
- remove adds doing EVENT_ENCAGE every 10-20s, which was unneccesary and caused them to glitch move around the player

* Small change to pre-add timing.
2023-06-01 08:40:02 -03:00
KJack
2a6bb85540 fix(Scripts/Quest): Make quest "Triage" (6622/6624) completable (#16335)
* Resolves issue where patients were dying extremely quickly during the quest.

- updates other parameters to make the quest more Blizz-like and completable

* Correct starting patient count for Horde

* Correctly handle starting patient count for both factions.

* Whitespace removal

* Un-Pythonese variable name, slightly improve initial patient count call

* Match WotLK Classic timing for patient deaths
2023-06-01 08:38:52 -03:00
Angelo Venturini
d4150b8e08 fix(Core/Scripts): Sepethrea should prioritize players that don't hav… (#16412)
* fix(Core/Scripts): Sepethrea should prioritize players that don't have Dragon's breath aura

* oops
2023-05-31 23:26:26 -03:00
Dan
40eb5da6d5 fix(Scripts/ShatteredHalls): hack fix to prevent pets from pulling the non-attackable peons in Nethekurse room (#16396)
* initial

hack fix added

* add sql to change unit flags

* using setimmunetoall() instead

* remove comment add credit

bump

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

* Update update-peon-unit-flag.sql

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

* add intro start on lockpick

might still have some troubles with double starting the intro with AT
--please give report if so

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-05-31 23:22:38 -03:00
Angelo Venturini
dc624fd86f fix(Core/Scripts): Rework Pandemonius (#16407) 2023-05-31 23:22:00 -03:00
Angelo Venturini
746aa5b493 fix(Core/Scripts): Ikiss polymorph target (#16409) 2023-05-31 23:20:53 -03:00
avarishd
b5ef9ee3de fix(Script/HellfirePeninsula): Beacons not attracting mobs. (#15296)
* fix(Script/Zone): Hellfire Peninsula - Beacons not attracting mobs.

* update

* add HOME_MOTION_TYPE check to prevent yoyo effect

* Use GetNearPosition
2023-05-28 21:29:51 -03:00
Skjalf
1e49eef413 fix(Scripts/ShatteredHalls): Nethekurse shouldn't roleplay in combat (#16395) 2023-05-28 17:40:15 -03:00
Skjalf
d985615908 fix(Scripts/ShatteredHalls): Fire Executioner's call on heroic only (#16394) 2023-05-28 17:40:06 -03:00
Eddy Vega
be622fa720 refactor(Scripts/CavernsOfTime): Mass struct/model update (#16268)
init
2023-05-28 16:30:30 -03:00
KJack
b5f311bf56 fix(Scripts/Commands): Fix '.send items' command to no longer require an itemId count (#16340)
* Fix '.send items' command to no longer require an itemId count

* Remove leftover debugging output, oops.
2023-05-28 16:28:01 -03:00
Eddy Vega
ef74da9640 refactor(Scripts/Outland): World Boss model update (#16279)
* init

* check codestyle (ubuntu-20.04)
2023-05-28 16:27:33 -03:00
Skjalf
97f3037021 fix(Scripts/ShatteredHalls): Implement the Flame Gauntlet event (#16383)
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-05-28 15:50:50 -03:00
Gultask
ce788f68c2 fix(Scripts/ShatteredHalls): Prevent boss from being pulled early (#16389)
* init

* Update boss_nethekurse.cpp
2023-05-28 14:43:56 -03:00
Angelo Venturini
0755f8cde3 fix(Core/Script): Kargath should prevent adds spawn on death (#16388) 2023-05-28 13:28:35 -03:00
Skjalf
cd248ef665 fix(Scripts/ShatteredHalls): Fix Nethekurse delay after peon dies (#16384)
* fix(Scripts/ShatteredHalls): Fix Nethekurse delay after peon dies

* Update boss_nethekurse.cpp

* typo

* Update boss_nethekurse.cpp

* Update boss_nethekurse.cpp
2023-05-28 10:52:46 -03:00
KJack
cafb8e3cfb fix(Scripts/Npc) Experience Eliminator only asks pertinent questions (#16310)
* Experience Eliminator will only ask you pertinent questions.

* Add brackets per AC code standards.
2023-05-27 23:07:40 -03:00
Angelo Venturini
30f475829a fix(Core/Spells): Hunter snake trap damage (#16326) 2023-05-23 22:39:55 -03:00
Angelo Venturini
a56a400a13 fix(Scripts/ShatteredHalls): Rewrite Warchief Kargath Bladefist (#16355) 2023-05-23 06:48:23 -03:00
Angelo Venturini
67be37def6 fix(Core/Scripts): Rewrite Warbringer O'mrogg (#16346)
* fix(Core/Scripts): Rewrite Warbringer O'mrogg

* typo
2023-05-21 18:24:07 -03:00
Skjalf
6a73c38eb6 fix(Scripts/ShatteredHalls): Rework Nethekurse (#16265) 2023-05-21 18:11:31 -03:00
Gultask
c5f2031833 chore(Scripts/BloodFurnace): Clean up Keli'dan script (#16321)
* init

* Update rev_1684449165991504600.sql

* leftover
2023-05-20 18:25:38 -03:00
KJack
7945e11557 fix(Scripts/ZulGurub): fix timing regression for Venoxis cobras (#16309)
Fixes timing regression caused by conversion miss in #14876
2023-05-18 15:34:50 -03:00
Eddy Vega
1724088e06 fix(Scripts/HellfireCitadel): Mass struct/model update (#16264)
* init

* .

* check codestyle (ubuntu-20.04)

* ubuntu-20.04-clang-with-modules

* clang
2023-05-14 19:13:42 -03:00
Dan
7e258bbd28 fix(Scripts/ShatteredHalls): fix some timers/mechanics of Grand Warlock Nethekurse (#16167) 2023-05-13 16:36:07 -03:00
avarishd
73e61e3234 fix(DB/SAI): Move Floon,Raliq the Drunk and Sal'salabim to SAI. (#15505)
* fix(DB/SAI): Move Floon,Raliq the Drunk and Sal'salabim to SAI.

Co-authored-by: aletson <aletson@users.noreply.github.com>

* Update Sal

* add ooc emote 92

* set SheatheState to 1

---------

Co-authored-by: aletson <aletson@users.noreply.github.com>
2023-05-13 15:29:29 -03:00
pedrohfm9
3c401ad4ad fix(Scripts/HallsOfReflection): Improve Halls of Reflection Events (Horde) (#16165)
* fix(DB/Creature): Grunda Bronzewing is now mounted

Grunda Bronzewing is now mounted

* Update Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql

Grunda Bronzewing is now mounted

* Rename Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql to Fix-Grunda.sql

Grunda Bronzewing is now mounted

* Delete Fix-Grunda.sql

* Create Fix-NPCs_Halls_Off_Reflection.sql

* Fix-events_Halls_of_Reflection(HORDE)

* Rename Fix-NPCs_Halls_Off_Reflection.sql to Fix-NPCs_Halls_of_Reflection.sql

* Rename halls_of_reflection.cpp to fix halls_of_reflection.cpp

* Rename halls_of_reflection.h to fix halls_of_reflection.h

* Rename instance_halls_of_reflection.cpp to fix instance_halls_of_reflection.cpp

* Update fix halls_of_reflection.h

* Update and rename fix halls_of_reflection.cpp to halls_of_reflection.cpp

* Update and rename fix instance_halls_of_reflection.cpp to instance_halls_of_reflection.cpp

* Update instance_halls_of_reflection.cpp

* Update instance_halls_of_reflection.cpp

* Update instance_halls_of_reflection.cpp

* Update and rename fix halls_of_reflection.h to halls_of_reflection.h

* Update instance_halls_of_reflection.cpp

* Update halls_of_reflection.h

* Update Fix-NPCs_Halls_of_Reflection.sql

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update instance_halls_of_reflection.cpp

* Update halls_of_reflection.h

* Update instance_halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update Fix-NPCs_Halls_of_Reflection.sql

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update and rename Fix-NPCs_Halls_of_Reflection.sql to Fix_NPCs_Halls_of_Reflection.sql

* Update halls_of_reflection.cpp

* Update halls_of_reflection.cpp

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update Fix_NPCs_Halls_of_Reflection.sql

* Update src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp

* Update src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp

* Update src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp

* Apply suggestions from code review

* Update src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp

* Update src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp

---------
2023-05-13 15:25:53 -03:00
Johaine
ea3e6e8f3b fix(Scripts/Deadmines): Fix Factory Door in Deadmines being closable (#15201)
* fix(DB/SAI): Open Factory Door correctly (irreversibly)

Activate the Factory Door after the boss' death to open it instead of changing gameobject state only which can be reversed by another activation.

* fix(Script/Instance): Prevent Door being closed again after Server Restart

* Drop database name from update SQL

Other people might not use the standard database names

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

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-05-13 14:52:44 -03:00
Eddy Vega
eca5f79d6f fix(Scripts/Mechanar): Avoid Nether Charge despawn (#16190)
init
2023-05-13 14:51:33 -03:00
Dan
8e28b64ccf fix(Scripts/HellfireRamparts): modernise boss scripts for Hellfire Ramparts (#16250)
* first two bosses

* add vazruden+nazan

* dumb mistake fix

* remove double summon say from Omor

* new attempt at scheduling talking

* fix boolean condition for speaking

* debug

* revert debug

* initial

* diff comment
2023-05-13 14:50:46 -03:00
Grimgravy
09c40a8cd3 fix(Scripts/VioletHold): Activation Crystals (#13176)
* fix(Scripts/Activation Crystals): Instance The Violet Hold

* update

* Update violet_hold.cpp
2023-05-13 14:48:26 -03:00
Skjalf
8d6392d60f fix(Scripts/Underbog): Rework Swamplord Muselek (#14724)
* fix(Scripts/Underbog): Rework Swamplord Muselek

* Update boss_swamplord_muselek.cpp

* update to bossai

* Update outland_script_loader.cpp

* Update boss_swamplord_muselek.cpp

* Update boss_swamplord_muselek.cpp

* prevent chase movement while walking backwards

* Update boss_swamplord_muselek.cpp
2023-05-13 14:44:20 -03:00
Dan
154fa624f0 fix(Scripts/ShatteredHalls): fixes to Warbring O'mrogg combat scripts and timers (#16091)
* initial attempt at combat fix

with modernising

* fixes to scheduler

first Draft PR commit. Scheduler now works with boolean in capture list of lambda function.

* whitespaces

* debug

* debug2

* debug3

* debug4

* add omrogg equip query and debug5

* remove tabs

* Update data/sql/updates/pending_db_world/omroggequip.sql

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

* grouped taskscheduler

* added more groups

* adjust timer

* better handling

* v2 (too many commits)

* fixed melee

* clean up debug info

removal of yells

* more debug

* attempt at fix

* some changes to scheduling

* final

* whitespaces and extra lines

* better formatting

* final whitespace fix

* context fix

* dumb fix

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-05-13 14:01:22 -03:00
UltraNix
2a1d706a2f fix(Scripts/Underbog): Underbat's Tentacle Lash should be casted only … (#14566)
* fix(Scripts/Underbog: Underbat's Tentacle Lash should be casted only on targets behind the bat.

Fixes #13972

* buildfix.
2023-05-12 09:15:02 -03:00
Dan
79954c34d4 fix(Scripts/Outland): add missing C++ code and remove SAI scripts from Tavarok and Darkweaver Syth (#16178)
* initial

* whitespace1

* Update tavarok_darkweaver_sai_removal.sql

fix sql
2023-05-12 08:23:56 -03:00
Dan
11eab9c3a6 fix(Scripts/TheSlavePens): port SAI from bosses to C++ (#16169)
* fix

* add sql 1

* add sql 2

* remove extra lines

* remove dumb stuff

keywords in "comment" were messing up the statement

* same story

todo: get better at SQL

* better formatting + two sql statements together

* remove old sql query

* last fix

* fixes to header enum

* fix sql

to have a more universal format

* E e

* final sql fix
2023-05-12 08:20:31 -03:00
Gultask
fec1692716 fix(DB/SAI): Rework Trash SAI for Blood Furnace (#16123)
* init

* Update rev_1682710323496877200.sql
2023-05-10 06:29:01 -03:00
Skjalf
da2dafa64b fix(Scripts/ShadowLabyrinth): Improve Grandmaster Vorpil script (#16126)
fixed boss moving after teleporting and interrupting fire storm
void travelers will cast empowering shadow on vorpil
shadow nova animation now works
fixed spell cast order as described in the vorpil issue [Shadow Labyrinth] Grandmaster Vorpil #15928
vorpil will use draw shadows to summon players instead of having them manually summoned
2023-05-10 06:23:37 -03:00
Skjalf
590dcca82b chore(Scripts/BloodFurnace): Clean up unused code in Broggok script (#16145)
* chore(Scripts/BloodFurnace): Clean up unused code in Broggok script

* Update boss_broggok.cpp
2023-05-01 01:09:44 -03:00
Angelo Venturini
de06f4327a fix(Core/Instance): AhnQiraj crash (#16124) 2023-04-30 01:30:57 +02:00
M'Dic
7e58650cf5 revert(Core): ChrRace.dbc full implementation (#16114)
* revert (core): ChrRace.dbc full implementation

we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that  there is

* revert

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
Skjalf
2e98e7c42a fix(Scripts/ShadowLabyrinth): Fix Murmur combat bug caused by Suppres… (#16122)
fix(Scripts/ShadowLabyrinth): Fix Murmur combat bug caused by Suppression Blasts hitting npcs in combat with players
2023-04-28 22:56:00 -03:00
M'Dic
3eae4c5713 fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508

Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2023-04-28 01:29:33 +02:00
daobashun
fa59b30184 fix(Scripts/IcecrownCitadel): Tirion Fordring attacks the Lich King empty-handed (#15823)
* Fixed Tirion Fordring's final stage attacking the Lich King empty-handed

* Tirion Fordring's uses text in BroadcastText to speak

* Code format changes

* Add data to the data table

* Update rev_1680658371591699800.sql

Change from INSERT to INSERT/INSERT

* Update and rename boss_the_lich_king.cpp to boss_the_lich_king.cpp的

Remove useless comments

* Rename boss_the_lich_king.cpp的 to boss_the_lich_king.cpp

The input method caused an unexpected rename

* Delete the extra rows

* Update boss_the_lich_king.cpp

Delete references that can be omitted
2023-04-26 23:04:37 -03:00
天鹿
df77b5f4f7 chore(core): cleanup code p3 (#16073)
* Update MMapMgr.cpp

* Update UpdateFetcher.cpp

* Update AuctionHouseMgr.cpp

* Update AuctionHouseMgr.h

* Update BattlegroundAV.cpp

* Update ChannelMgr.cpp

* Update ThreatMgr.h

* Update Player.h

* Update PlayerSettings.cpp

* Update ObjectMgr.cpp

* Update Guild.cpp

* Update Guild.h

* Update Map.cpp

* Update World.cpp

* Update boss_nefarian.cpp

* Update boss_prince_malchezaar.cpp

* Update boss_venoxis.cpp

* Update zone_elwynn_forest.cpp

* Update zulfarrak.cpp

* Update boss_novos.cpp
2023-04-24 08:13:07 -03:00
Gultask
c3948567e2 fix(Scripts/ShatteredHalls): Update Grand Warlock Netherkurse (#16063)
init
2023-04-23 09:06:08 -03:00