Commit Graph

100 Commits

Author SHA1 Message Date
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
Dan d18368ad60 fix(Scripts/Karazhan): decrease Aran cast cooldown on normal spells (#17260)
initial
2023-09-15 05:57:53 -03: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
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
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
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
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
Skjalf 49c2eabea1 fix(Scripts/Karazhan): Fix Servant Quarters rares not spawning (#17001)
* fix(Scripts/Karazhan): Fix Servant Quarters rares not spawning

* Update rev_1691944209332122100.sql
2023-08-13 13:51:43 -03:00
Skjalf 211ceecc32 chore(Scripts/Karazhan): Clean up Maiden of Virtue script (#16977) 2023-08-12 00:14:47 +02:00
Dan 310b143008 chore(Scripts/Karazhan): rework Opera scripts using TaskScheduler (#16688)
* initial

* removing guids/using creature instance data

* move summontito

* add data for oz adds

* removal of unused stuff + removal of if condition
that makes it get stuck

* fix

* fix and add validators

* some fixes and validators

* attempt to reset

* fix talk + change flags

* debug to see where it is going wrong

* handle despawn on all

* cleanup

* codestyle

* more codestyle

* add tito data + tito despawn

* first steps on romulo and j

* with setdata

* test

* test

* some debug

* no way this was the problem

* add action to resume combat on revive

* leftovers

* remove old check to ensure abilities don't

keep casting. this was preventing the scheduler from updating

* getdata

* camelCase

* restore updatevictim

might make them attack you

* some cleanup

* some cleanup and door

door should now open on wipe

* fix mistake

* fix?

* attempt to fix dead attacking

* fix mistake

* schedule location fix

* fix logic

- Julianne and Romulo now resurrect properly
- fight stops when both die within 10 seconds
- correct lines are being said, I think
- made the script a bit better overall

* fix codestyle?

* remove leftovers

* remove leftovers

* add spaces
2023-08-10 14:03:48 -03:00
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
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
天鹿 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
UltraNix e6fb7ff806 fix(Scripts/Karazhan): Fixed locking Shad of Aran entrance door. (#15450)
Fixes #15434
2023-04-02 15:29:56 -03:00
UltraNix b21f98d639 fix(Scripts/Karazhan): Chess Event. (#14736) 2023-03-15 00:07:49 -03:00
Skjalf e5c0c7227a fix(Scripts/Karazhan): Rework Prince Malchezaar (#14877) 2023-02-27 01:38: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
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
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 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 b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -03: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
UltraNix 0b4b578b6f fix(Scripts/Karazhan): Added Opera Event decorations. (#13952)
Fixes #2339
2022-12-06 16:11:27 -03:00
ZhengPeiRu21 9fd5b39065 fix(Scripts/Karazhan): Mark optional boss as completed when it dies (#13175) 2022-12-06 09:26:18 -03:00
Maelthyr c1c9dc6105 refactor(Core/ScriptedAI): few improvements with threat methods (#13146)
improve threat scripts

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-11-12 13:29:28 +01:00
Maelthyr 1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Maelthyr d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

* refactor(Core/Unit): PC & NPC Immunities

Cherry-pick TC: https://github.com/TrinityCore/TrinityCore/commit/74af880217fc567c9949d7557408718af889402f

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* fix builds error

Cherry-pick TC: https://github.com/TrinityCore/TrinityCore/commit/74af880217fc567c9949d7557408718af889402f

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* Fix nef combat, and replace SetFlag by SetUnitFlag

* fix combat with jedoga

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-18 08:16:45 -04:00
Maelthyr dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00