Commit Graph

96 Commits

Author SHA1 Message Date
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
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
bf30c66ba4 feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -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
Angelo Venturini
5cf7d3d198 fix(Core/Scripts): Renataki crash (#13811) 2022-11-13 18:41:10 -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
UltraNix
e4ecb086e7 fix(DB/Spells): Spell Axe Flurry should target only one player. (#13208)
* fix(DB/Spells): Spell Axe Flurry should target only one player.

Fixes #12525

* Update.

* Update.
2022-10-25 15:26:48 -03:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Eddy Vega
2f5e976ce9 fix(Scripts/ZulGurub): Mandokir engage combat after Speaker's death (#12771)
init

Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
2022-08-21 10:59:18 -03:00
Eddy Vega
61a2f3b5d3 fix(Scripts/ZulGurub): Set timer for Ohgan's Thrash (#12772)
init

Co-authored-by: Si1ker <Si1ker@users.noreply.github.com>
2022-08-21 10:58:49 -03:00
Skjalf
c1257b3628 fix(Scripts/Zul'Gurub): Prevent multiple spawns of Gazhranka (#12663) 2022-08-08 14:12:02 -03:00
Nefertumm
cee21c022a fix(Core): Crash on Mandokir gaze (#12611) 2022-08-03 09:06:28 -03:00
UltraNix
775172c5dc fix(Core): Crashfix. (#12594) 2022-07-31 12:26:38 -03:00
Nefertumm
35194434d7 chore(Scripts): remove double method calling for ZG script (#12517) 2022-07-25 01:13:18 -03:00
UltraNix
801e68b1dd fix(Core/Creatures): Added new AI function OnTeleportUnreacheablePlayer to teleport all unreachable players. (#12193)
* fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_TELEPORT_UNREACHABLE_PLAYERS.

Fixed #11750

* Update.

* Update.

* Update.
2022-07-24 13:10:41 -03:00
Maelthyr
b77fbf61da fix(Scripts/ZulGurub): Adjust Arlokk timers (#12458)
follow up 9aeb236368
2022-07-20 10:45:41 -03:00
UltraNix
1078ad720c fix(Scripts/ZulGurub): Improvements to Jindo the Hexxer (#12395) 2022-07-19 12:11:44 -03:00
UltraNix
700dfde2af fix(Scripts/ZulGurub): Threat caused by SPELL_AURA_DAMAGE_SHIELD au… (#12398)
...ras should not count to Threating Gaze Charge mechanic.

Fixes #12379
2022-07-19 11:59:02 -03:00
UltraNix
9aeb236368 fix(Scripts/ZulGurub): Corrected timers on Arlokk. (#12397)
Fixes #12366

Co-authored-by: Maelthyr <maelthyrr@users.noreply.github.com>
2022-07-19 11:52:49 -03:00
Skjalf
6b2361312c fix(Scripts/ZulGurub): fix Thekal not dying in phase 2 (#12353) 2022-07-10 18:08:48 -03:00
Nefertumm
9c09857b19 fix(Core/ZulGurub): Jin'do the Hexxer rewrite (#12233)
Co-authored-by: UltraNix <ultranix@users.noreply.github.com>
2022-07-09 18:36:51 -03:00
Nefertumm
bafac46639 fix(Core/ZulGurub): Hakkar hardmode (#12333) 2022-07-09 16:49:35 -03:00
UltraNix
dfe28a75a6 fix(Scripts/ZulGurub): Added more missing areatrigger whispers (#12326) 2022-07-09 13:56:25 -03:00
UltraNix
a9e872bd64 fix(Scripts/ZulGurub): Prevent from summoning multiple Edge of Madnes… (#12331)
...s bosses.
2022-07-09 12:58:14 -03:00
UltraNix
c17eed9706 fix(Scripts/ZulGurub): Added missing yell on Hakkar's evade. (#12329)
Fixes #12273
2022-07-09 12:01:38 -03:00
UltraNix
d88ff41198 fix(Scripts/ZulGurub): Added Sweeping Strikes to Gri'lek encounter (#12328) 2022-07-09 11:58:44 -03:00
UltraNix
330c1ac2a4 fix(Scripts/Zulgurub): Hakkar should cast Insanity only if there are … (#12325)
…at least 2 valid targets in raid.
2022-07-09 11:57:11 -03:00
UltraNix
346150c92a fix(Scripts/ZulGurub): Hakkar's Blood Siphon (#12196) 2022-07-09 11:05:09 -03:00
Skjalf
16f2983307 fix(Scripts/ZulGurub): Thekal improvements (#12238)
* fix(Scripts/ZulGurub): Thekal improvements

* Update boss_thekal.cpp
2022-07-02 13:37:56 -03:00
Nefertumm
298b08c9a5 fix(Core/ZulGurub): Hazza'rah improvements (#12236)
* fix(Core/ZulGurub): Hazza'rah improvements

* dumb
2022-07-01 20:22:13 +02:00
UltraNix
a9256dd7c3 fix(Scripts/ZulGurub): Corrected Hakkar speeches at the very start of… (#12200)
fix(Scripts/ZulGurub): Corrected Hakkar speeches at the very start of the instance.

Fixes #12187
2022-06-27 06:15:48 -03:00
UltraNix
4cbe846d22 fix(Scripts/ZulGurub): Gri'lek should pursuit random targets. (#12194)
Fixes #12088
2022-06-26 15:07:25 -03:00
UltraNix
bd07d875a7 fix(Scripts/ZulGurub): Arlokk's Panthers should attack players. (#12185)
Fixes #12162
2022-06-26 06:08:29 -03:00
UltraNix
ea24a7b231 fix(Scripts/ZulGurub): Mandokir's Threatening Gaze. (#12095)
* fix(Scripts/ZulGurub: Mandokir's Threatening Gaze.

Boss can melee attack while casting.
Boss charges after the debuff run out.
Guillotine is casted on hit rather than on launch.
Properly coded Threatening Gaze Charge (with dot/hot exceptions)
Whirlwind is removed during charge.
Fixes #11748

* Update

* missing

* Update

* Update.

* Update.

* Update.

* Update.

* Update.
2022-06-26 04:50:50 -03:00
UltraNix
33fef6fb8d fix(Scripts/ZulGurub): Fixed never-ending Thousand Blades during Rena… (#12105)
fix(Scripts/ZulGurub): Fixed never-ending Thousand Blades during Renataki encounter.

Fixes #12078
2022-06-26 04:48:34 -03:00
Nefertumm
67e6954681 fix(Scripts/ZulGurub): Priestess Jeklik intro (#12109)
* fix(Core/ZulGurub): Priestess Jeklik intro

* ?

* sniffed values
2022-06-26 04:47:29 -03:00
Nefertumm
64a0cbba5a fix(Core/ZulGurub): Hakkar improvements (#12134)
* fix(Core/ZulGurub): Hakkar improvements

* remove debug

* code improvements

* just select the current victim for cause insanity

* remove will of hakkar <.<

* aspect of arlokk and marli should do a threat wipe

* dumb
2022-06-26 04:47:08 -03:00
Nefertumm
980f09ef22 fix(Core/ZulGurub): Arlokk reset behaviour (#12154)
* fix(Core/ZulGurub): Arlokk reset behaviour

* remove comment
2022-06-26 04:45:29 -03:00
Maelthyr
c96a4ba223 fix(Scripts/ZulGurub): Venoxis - Holy wrath and Holy nova event (#12089)
* fix(Script/ZulGurub): fix Holy wrath and Holy nova event

*adjust timer too

* Remove condition for holy wrath. Adjust also timers with new researches.

* adjust first cast
2022-06-22 13:54:19 -04:00
Skjalf
ed7622b028 feat(Core/Formations): Implement GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON… (#12128) 2022-06-21 07:07:41 -03:00
Nefertumm
2db5f9a231 fix(Core/ZulGurub): Mandokir charge and chained spirits (#12072)
* fix(Core/ZulGurub): Mandokir charge and chained spirits

* build

* properly script threatening gaze

* refactor vilebranch speaker script

* remove useless trigger spell for Frightening Shout

* blank spaces

* build...

* sadly you can cheese threatening gaze

* revert threatening gaze part

* style

* charge should target the farthest one

* revert last thing of threatening gaze

* mod charge
2022-06-19 07:50:52 -04:00
UltraNix
82cfd1b8d4 fix(Scripts/ZulGurub): Improvements to Madonkir's melee spells. (#12096)
Overpower is casted on dodge.
Execute is casted when victim is below 20% health.
Cleave is casted when there is at least 5 targets in melee range.
Fixes #11747
2022-06-18 13:50:23 -04:00
Maelthyr
d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

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

Cherry-pick TC: 74af880217

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

* fix builds error

Cherry-pick TC: 74af880217

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
UltraNix
235d2b6cf4 fix(Scripts/ZulGurub): Fixed spawning Edge of Madness bosses. (#11957)
Fixes #11609
2022-06-16 12:07:48 -03:00
UltraNix
117a18c961 fix(Scripts/ZulGurub): Renataki - improvements: (#11967)
Added missing spells and events.
Removed invalid spells
Corrected event timers
Fixes #11620
Fixes #11621
2022-06-16 11:39:09 -03:00
UltraNix
f9368ed00d fix(Scripts/ZulGurub): Improvements to Gah'zranka: (#11908)
Summoned Mudskunk Lure object and added visual splash.
Added pathing to Gahzranka
Corrected visual coordinates.
Gahzranka can be summoned only once per instance.
Fixes #11560
2022-06-13 23:33:35 -03:00
UltraNix
d5221ae423 fix(Scripts/ZulGurub): Fixed Jindo's Brain Wash Totem. (#11839) 2022-06-13 21:04:58 -03:00
UltraNix
21705d76ad fix(Scripts/ZulGurub): Improvements to Hazzarah encounter (#11964)
Corrected timers of events.
Added missing/Removed invalid spells.
Fixes #11612
2022-06-13 21:03:56 -03:00
Nefertumm
7e703393d2 fix(Core/ZG): Multiple improvements to High Priestess Mar'li (#11647) 2022-06-13 19:44:20 -03:00