Commit Graph

342 Commits

Author SHA1 Message Date
Skjalf
0bf559f975 feat(Core/Instance): Add TaskScheduler to the InstanceScript class (#17284)
feat(Core/Instance): Add TaskScheduler to the instancescript class
2023-09-17 10:56:02 -03:00
Kitzunu
f1111be152 chore(misc): cleanup (#17274) 2023-09-17 10:19:09 -03:00
Dan
45d6009cb7 fix(Scripts/Darkshore): ensure Kerlonian Evershade is always in bear form (#17062)
initial
2023-09-17 09:42:07 -03:00
Francesco Borzì
eaa6487fc2 refactor(Scripts): remove unused imports (#17097) 2023-08-27 22:25:22 -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
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
Skjalf
80a8f6d47a fix(Scripts/OHF): Don't update the escort steps when Drake dies (#17024)
* fix(Scripts/OHF): Don't update the escort steps when Drake dies

* update gossip req

* Update rev_1692233536025387200.sql
2023-08-20 15:46:39 -03:00
Dan
8621118b83 fix(Scripts/OHF): Fix not being able to start the escort if you already killed Lt. Drake (#17006) 2023-08-14 13:05:20 -03:00
Skjalf
8dc8424f09 fix(Scripts/OHF): Killing Drake should not be required to start Thral… (#17000)
fix(Scripts/OHF): Killing Drake should not be required to start Thrall's escort
2023-08-13 13:39:08 -03:00
Grimgravy
c256d8da55 fix(Scripts/Spell): Improve Inoculation quest (#15759)
* fix(Core/Quest): Improve Inoculation

* update fix

* .

* ..
2023-08-12 00:17:06 +02:00
Johaine
f0a96b4489 fix(Scripts/EscapeFromDurnholde): Fix escort mission getting stuck (#16636)
Fix stuck event

Fix escort event possibly getting stuck by preventing
DATA_ESCORT_PROGRESS from being decreased
2023-08-02 14:52:18 -03:00
Skjalf
d4e97a25f4 fix(Scripts/Azuregos): Arcane Vacuum should also reset pet threat (#16868) 2023-07-31 05:44:35 -03:00
天鹿
90e23cbc66 fix(Core/Raid): Archimonde's Unable to kill (#15128)
Fix(Core);[raid]Archimonde's BUG
2023-07-27 10:33:24 -03:00
Dan
b55ebc186d fix(Scripts/TempleOfAhnQiraj): make C'thun Dark Glare face location of last eyebeam before cast, instead of random target (#16785)
* initial

* fix oopsie

* whitespace
2023-07-18 08:45:58 -03:00
Dan
e5f0f97858 fix(Scripts/TempleOfAhnQiraj): let small Eye Tentacles attack the raid (#16784)
* initial

* whitespace

* hrm

* easier
2023-07-17 16:19:40 -03:00
The GhostRider
3186edc568 fix(DB/SAI): Shay Leafrunner (#16454)
* fix(DB/SAI): Wandering-Shay-Quest

* fix(DB/SAI): Wandering-Shay-Quest

* Update rev_1685747385631953200.sql

* Update rev_1685747385631953200.sql

---------

Co-authored-by: dario strani <xspid@lastrevenge.ddns.net>
2023-06-25 23:43:59 -03:00
Dan
a15016ac08 fix(Scripts/ZulFarrak): add Hearthstone mechanic to Blys party when event not started in time (#16333)
* initial

* codestyle

* remove unused taskscheduler

* fix unsummon mechanic

better syntax

* fix other issues

* another issue

* dummy fix

* should fix gossip and event

* attempt to fix movement

* attempt at fixing Bly walk

* also make Weegli hostile + another attempt at move

ment fix

* another attempt at walk fix

* initialise and debug

* debuggo

* v2

* moooore

* oops

* try to fix with boolean again

* fix?

* fixmaybe

* revert

* remove leftovers

* and more on Weegli
2023-06-18 12:06:59 -03:00
Johaine
5060407598 fix(Scripts/TheBlackMorass): rework time rift event logic (#16535)
* Fix visual crystals

This fixes the crystals not despawning on Medivh's death and being
resummoned after every reset

* Fix summoning circle visual after cleanup

Fix respawn of summoning circle visual NPC
Move respawn to same moment as Medivh respawn

* Fix race condition during script cleanup after event failure

This fixes the bug that rifts still spawn after shield is at 0%,
enabling players to exploit the instance and defeat bosses at their own
pace.

In general, removing rifts schedules spawning of new rifts

After failing the event (shield at 0%) this introduces a race between
rift despawn and (scheduler) cleanup

Fix it by introducing a check if the event has been started and should
still progress.

* Fix softlock of event during break after boss

Make sure that the delay condition is removed if event fails

Meeting certain conditions it was possible to softlock the event by
extending the after-boss-break indefinitely

* Cleanup failed instance without player interaction

This respawns Medivh and re-enables the event 5 minutes after a failure

Retrying the event shouldn't require all players to leave the instance
and to reenter

* Misc cleanups

Remove unused DataTypes

Rename variable to something more self-explanatory

Remove unnecessary checks and make scheduling of rifts more
straightforward

Fix typos
2023-06-18 11:47:27 -03:00
Eddy Vega
be622fa720 refactor(Scripts/CavernsOfTime): Mass struct/model update (#16268)
init
2023-05-28 16:30:30 -03:00
Angelo Venturini
de06f4327a fix(Core/Instance): AhnQiraj crash (#16124) 2023-04-30 01:30:57 +02: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
Timothy Vaccarelli
309f5c4adf fix(DB/SAI): Use SAI for Spitelash Naga in Azshara (#15808)
* Add SAI for Spitelash Naga in Azshara
2023-04-22 10:22:34 -03:00
avarishd
8696e7be7f fix(DB/Creature): Tamed Kodo - Remove gosisp flag. (#15165)
* fix(DB/Creature): Tamed Kodo - Remove gosisp flag.

* fix worldserver warning (assigned gossip, but no flag)

also typo

* Use &~
2023-04-22 10:08:25 -03:00
avarishd
1062977283 fix(Scripts/OldHillsbrad): Old Hillsbrad Foothills - Captain Skarloc casting wrong spell (#15486) 2023-03-20 06:05:31 -03:00
UltraNix
684bb1793d fix(Scripts): Crashfix. (#15459) 2023-03-19 16:29:57 +01:00
Skjalf
e2eb9fb82b fix(Scripts/BlackMorass): Don't pick the same rift spot in succession (#15359) 2023-03-12 13:27:39 -03:00
UltraNix
761c8dffad fix(Scripts/BlackMorass): Fixed rift mobs texts on summon. (#15339) 2023-03-12 00:21:51 -03:00
Skjalf
1155c4061f fix(Scripts/BlackMorass): Fix Aeonus not spawning, mobs spawning duri… (#15346) 2023-03-12 00:16:11 -03:00
UltraNix
c1c877060c fix(Scripts/BlackMorass): Fixed mob waves sequence. (#14863) 2023-03-11 07:46:22 -03:00
Skjalf
67d02d4f1e refactor(Scripts/BlackMorass): Move the Rift handling to the creature… (#15316) 2023-03-10 14:32:18 -03:00
Skjalf
527f462826 fix(Scripts/Blackmorass): Clean unnecessary repetitions (#15299) 2023-03-07 09:19:48 -03:00
Skjalf
ef0b20928b refactor(Scripts/Blackmorass): Rewrite Blackmorass (#15290) 2023-03-06 05:49:51 -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
UltraNix
321195f4f8 Scripts/OldHisbradFoothills): Improved Escape from Durnholde Keep event. (#15189) 2023-03-04 17:42:02 -03:00
UltraNix
6e7aec3b95 fix(Scripts/BlackMorass): Improved Opening the Dark portal encounter. (#14861) 2023-02-19 08:18:12 +03:30
UltraNix
c3a8d26109 fix(Scripts/OldHilsbradFoothills): Corrected spawn position and waypo… (#15099) 2023-02-19 01:22:35 -03:00
UltraNix
e8b76f2625 fix(Scripts/BlackMorass): Implemented wipe event. (#14860) 2023-02-18 14:16:53 +01: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
1edd29f28a refactor(Scripts/TempleOfAhnQiraj): Clean up unused variables (#14979) 2023-02-13 00:53:48 +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
UltraNix
48ce957597 fix(Scripts/BlackMorass): Adds should walk towards Medivh. (#14945) 2023-02-12 08:27:25 -03:00
UltraNix
f4dbb04431 fix(Scripts/BlackMorass): Fixed portal positions. (#14946) 2023-02-11 17:45:36 -03:00
UltraNix
3bd988d195 fix(Scripts/BlackMorass): Fixed amount of Medivh's Integrity shield t… (#14948) 2023-02-11 17:44:59 -03:00
Skjalf
76c9eb9159 feat(Core/AI): Implement delay option to the Talk() function (#14950) 2023-02-11 17:23:57 -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
c08a5ba3fa fix(Scripts/TempleOfAhnQiraj): Fix C'thun not using abilities after e… (#14859) 2023-02-04 12:17:43 -03: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
Skjalf
aeed96f3b7 feat(Core/AI): Move TaskScheduler to BossAI class (#14757) 2023-01-26 13:46:30 -03:00