Commit Graph

87 Commits

Author SHA1 Message Date
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
Maelthyr c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
Maelthyr 5ede1177c5 refactor(Core/Combat): implement compatiblity layer for ResetAllThreat() (#11778)
* implement ResetAllThreat()

* .
2022-05-17 12:01:25 -03:00
IntelligentQuantum ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (https://github.com/TrinityCore/TrinityCore/commit/2da458c56d024aac04468ce2af454a83ad790bf6)
2022-04-15 14:10:41 +02:00
Kitzunu b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +02:00
Kitzunu 535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/d611925dc7ab2b3f19c5ee9e0f75b8dfb6de1291)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
Kitzunu 856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
Kitzunu 455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kitzunu cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Kargatum 5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
Kitzunu d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
acidmanifesto 4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
Kitzunu cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Kitzunu ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00