Commit Graph

435 Commits

Author SHA1 Message Date
Dan
fcf7ceea42 chore(Scripts/Karazhan): rewrite Nightbane with scheduler + some fixes (#16687)
* initial

* leftovers

* whitespaces

* remove instance

* bla

* Update boss_nightbane.cpp

* add skeletonscheduler

* woops

* I do need to update it, silly

* fix

* fix with nesting?

* debug

* fix

* step 1

* step 2 of the hackest of fixes

* add leftover

* fix

* add forgotten scheduler validator
2023-07-27 09:04:31 -03:00
Eddy Vega
750e0b4c23 refactor(Scripts/Karazhan): Update Netherspite (#16756)
* init

* .

* .

* review

* .

* Remove whitespace at the end of the lines

* .

* .
2023-07-27 09:03:19 -03:00
Eddy Vega
d71f5dcfb2 refactor(Scripts/Karazhan): Update Servant Quarters (#16680)
init
2023-07-18 16:51:16 -03:00
Dan
cc6454b2ef chore(Scripts/Karazhan): change Moroes to use TaskScheduler instead of events (#16791)
* initial

* fix

* add garrote line

* change line

* add immunity during stealth

* bump + spacing
2023-07-18 16:50:16 -03:00
Eddy Vega
59886c5657 refactor(Scripts/Karazhan): Update Attumen and Midnight (#16681)
* init

* .
2023-07-18 13:51:32 -03:00
Dan
89e7fb301a chore(Scripts/Karazhan): rework Shade of Aran using TaskScheduler and fixes (#16689) 2023-07-18 09:56:00 -03:00
Eddy Vega
df8de555a3 refactor(Scripts/Karazhan): Update Maiden of Virtue (#16683)
* init

* .
2023-07-17 08:22:04 -03:00
Eddy Vega
3a7274709b refactor(Scripts/Karazhan): Update Moroes (#16682)
* init

* .
2023-07-17 08:21:13 -03:00
Eddy Vega
3860d273b4 chore(Scripts/Karazhan): The Curator - KilledUnit (#16770)
init
2023-07-16 19:42:26 -03:00
Eddy Vega
1184b3a693 fix(Scripts/Karazhan): Rewrite Terestian Illhoof (#16755)
* init

* m

* .
2023-07-15 17:13:38 -03:00
Eddy Vega
601d036295 refactor(Scripts/Karazhan): Update The Curator (#16754)
* init

* .

* .
2023-07-15 17:13:08 -03:00
The GhostRider
f09be5f124 fix(DB/SAI): Yenniku (#16631)
* Fix(SAI/C++/NPC): NPC Yenniku and Removal of AI C++

* Update rev_1687759233155225800.sql

Changes made

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

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

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

* Update rev_1687759233155225800.sql

* Update rev_1687759233155225800.sql

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-06-29 19:22:11 -03:00
Skjalf
ec5eabce25 fix(Scripts/Karazhan): Malchezaar should not cast Enfeeble on phase 3 (#16587) 2023-06-18 15:29:19 -03:00
Dan
a13601bbc5 fix(Scripts/Karazhan): Opera Wizard of Oz fight correct start timers for combat as well fixing restart of the event (#16303) 2023-06-08 22:40:24 -03: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
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
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
天鹿
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
avarishd
72f111dd65 fix(Scripts/Creature): Add Ravenclaw Apparition event. (#15200) 2023-04-21 15:06:08 -03:00
ZhengPeiRu21
817cb2d685 fix(Scripts/MoltenCore): Correct Baron Geddon Inferno damage values (#15637)
* fix(Scripts/Molten Core): Correct Baron Geddon Inferno damage values

* Update tick counts
2023-04-02 15:35:47 -03:00
UltraNix
e6fb7ff806 fix(Scripts/Karazhan): Fixed locking Shad of Aran entrance door. (#15450)
Fixes #15434
2023-04-02 15:29:56 -03:00
Revision
6e39ffa64e fix(Core/GameObject): Pumpkin Shrine (#13460)
Co-authored-by: M'Dic <joshua.lee.betts@gmail.com>
2023-03-16 18:57:36 +01:00
UltraNix
b21f98d639 fix(Scripts/Karazhan): Chess Event. (#14736) 2023-03-15 00:07:49 -03:00
Stefano Borzì
034b521501 feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-03-05 18:47:18 +01:00
Skjalf
e5c0c7227a fix(Scripts/Karazhan): Rework Prince Malchezaar (#14877) 2023-02-27 01:38:02 -03:00
patou01
a76c07698c fix(Scripts/Scholomance): Kirtonos the Herald event now starts correctly again (#15131) 2023-02-19 15:39:02 -03:00
Kitzunu
bd6034e1a9 refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-13 21:39:40 +01:00
Tereneckla
fdfa88093e fix(Scripts/MoltenCore): revert ragnaros submerge event to 180s (#15001) 2023-02-13 14:32:42 -03:00
Skjalf
3b17866613 fix(Scripts/Karazhan): Rework Attumen & Midnight (#14756) 2023-02-13 00:59:40 +01:00
Skjalf
0dbb8c814c refactor(Core/InstanceScript): refactored load and save methods (#14977)
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-02-12 15:53:48 -03:00
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Skjalf
da6e21f740 refactor(Scripts/Karazhan): Move Barnes/Medivh/Arcanagos texts to the DB (#14949)
Co-authored-by: lee <leelf_00@126.com>
2023-02-11 14:03:32 -03:00
UltraNix
41d270a4cc fix(Scripts/Karazhan): Fixed Wizard of Oz encounter. (#14942) 2023-02-11 08:02:09 -03:00
Skjalf
3106a83e8a fix(Scripts/BlackwingLair): Fix Flamegor frenzy timer (#14908) 2023-02-08 17:05:09 +01:00
Angelo Venturini
5029e1240d fix: Crash on Flamegor (#14906) 2023-02-08 16:57:35 +01:00
Skjalf
f3f2364bef fix(Scripts/ShadowfangKeep): Fix Apothecary Trio events not reseting … (#14898) 2023-02-08 09:44:12 +01:00
Benjamin Jackson
d46612d285 refactor(Core/Scripts): Simplify speeches for Special Surprise quests. (#14630)
Co-authored-by: Tec Dian de Akilet <12619865+TecDian@users.noreply.github.com>
Co-authored-by: Aokromes <Aokromes@users.noreply.github.com>
2023-02-05 17:10:02 -03:00
Maelthyr
afb071bb04 refactor(Scripts): Update vanilla scripts to std::chrono (#14876)
Co-authored-by: Maelthyrr <AmanThul-Project@proton.me>
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-02-05 12:35:48 -03:00
Skjalf
1ee93986f6 refactor(Scripts/Karazhan): Use std::chrono for Maiden, Servant Quart… (#14864) 2023-02-04 15:46:59 -03:00
Skjalf
439c394784 refactor(Scripts/Karazhan): Maiden of Virtue script update (#14836) 2023-02-01 05:25:42 -03:00
UltraNix
579a1c0fa4 fix(Scripts/Spells): Nether Portal - Perseverence should not increase… (#13951) 2023-01-31 22:54:23 +01:00
Skjalf
bf30c66ba4 feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
Skjalf
b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -03:00
UltraNix
dbeffd1466 fix(DB/Texts): Added texts to Halazzi. (#14124)
* fix(DB/Texts): Added texts to Halazzi.

Fixes #8744

* Update.
2023-01-07 20:30:09 +01:00
UltraNix
4b31a4dfc0 fix(Scripts/Karazhan): Barnes should respawn on wipe. (#13953)
* fix(Scripts/Karazhan): Barnes should respawn on wipe.

Fixes #4437

* Update.
2023-01-06 00:51:08 +01:00
Kitzunu
4870b14b1f refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
UltraNix
0b4b578b6f fix(Scripts/Karazhan): Added Opera Event decorations. (#13952)
Fixes #2339
2022-12-06 16:11:27 -03:00
UltraNix
08ff2f277b fix(Scripts/BlackwingLair): Razorgore the Untamed should not reset enco… (#13782)
* fix(Raids/BlackwingLair): Razorgore the Untamed should not reset encounter upon casting Conflagrate when soloing.

Fixes #13761

* Update.
2022-12-06 09:47:08 -03:00
Maelthyr
3024bee3ba refactor(Core/UnitAI): Update target selector (#13169)
* refactor(Core/UnitAI): Update TargetSelector.

Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930

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

* fix GGC/CLang errors in scripts

* .

* missing a file and fix a script error

* .

* fix path changes dude to a miss click in the second commit

* .

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
2022-12-06 09:27:13 -03:00
ZhengPeiRu21
9fd5b39065 fix(Scripts/Karazhan): Mark optional boss as completed when it dies (#13175) 2022-12-06 09:26:18 -03:00