Commit Graph

513 Commits

Author SHA1 Message Date
Andrew
02db94035e fix(Scripts/BlackTemple): Prevent further code execution if Illidan e… (#20292)
fix(Scripts/BlackTemple): Prevent further code execution if Illidan evades during air phase
2024-10-25 12:55:52 +02:00
Andrew
b5a8791ae1 fix(Scripts/BlackTemple): Fix Illidan Demon Phase being delayed indef… (#20286)
fix(Scripts/BlackTemple): Fix Illidan Demon Phase being delayed indefinitely
2024-10-24 09:09:17 -03:00
Andrew
d4f9b6bf7f fix(Scripts/BlackTemple): Prevent Illidan transformation during cutscene (#20271)
* fix(Scripts/BlackTemple): Prevent Illidan transformation during cutscene

* Update boss_illidan.cpp
2024-10-24 07:24:08 -03:00
Andrew
121d35b155 fix(Scripts/BlackTemple): Apply Shadow Prison spell immunities (#20272)
* fix(Scripts/BlackTemple): Apply Shadow Prison spell immunities

* Delete rev_1729660470785757300.sql
2024-10-24 11:41:48 +02:00
Andrew
c91148fd11 fix(Scripts/BlackTemple): Reset Illidan combat movement (#20276) 2024-10-23 18:45:12 +02:00
Benjamin Jackson
bb40bf7727 fix(Scripts/BlackTemple): Properly randomize Illidan initial Eye Beam and order. (#20264)
Init.
2024-10-21 23:00:15 -03:00
Benjamin Jackson
faab07f08a fix(Scripts/BlackTemple): Randomize Eye Beam target position. (#20262)
* Init.

* Cast enum to int.

Apparently I don't have eyes.
2024-10-21 20:38:54 -03:00
Benjamin Jackson
4ad9d68f42 chore(Core): Correct typo of Suppress. (#20229)
* Init.

* Adjust spacing.
2024-10-17 22:09:53 +02:00
Andrew
92d73c6da7 fix(Scripts/BlackTemple): Clear events on evade (so he doesnt move wh… (#20199)
fix(Scripts/BlackTemple): Clear events on evade (so he doesnt move while dead/despawned)
2024-10-13 23:53:17 -03:00
Andrew
84e70c5cd8 fix(Scripts/BlackTemple): Fix Gathios not recasting Consecration (#20200) 2024-10-13 23:53:02 -03:00
Benjamin Jackson
4bdd818db4 fix(Scripts/BlackTemple): Grant proper encounter credit for Illidari Council. (#20201)
Init.
2024-10-13 23:52:48 -03:00
Andrew
cfaa0a9a6c fix(Scripts/BlackTemple): Ensure root state is cleared on wipes (#20183) 2024-10-12 05:58:12 -03:00
Andrew
3b09b21f6e fix(Scripts/BlackTemple): Flames should not charge players within 25y… (#20182)
* fix(Scripts/BlackTemple): Flames should not charge players within 25y of blade

* Update boss_illidan.cpp

---------

Co-authored-by: Keader <keader.android@gmail.com>
2024-10-12 05:58:01 -03:00
Benjamin Jackson
94a03c629b fix(Scripts/BlackTemple): Remove Naj'entus Spines from players on engage. (#20176) 2024-10-11 09:29:00 -03:00
Benjamin Jackson
a9080bef60 fix(Scripts/BlackTemple): Adjust cast behavior for Supremus's charge. (#20173)
Init.
2024-10-11 09:10:04 -03:00
Angelo Venturini
fede17f782 fix(Core/Spells): Fix crash (#20179)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2024-10-11 08:15:02 -03:00
Benjamin Jackson
2a48a14908 fix(Scripts/BlackTemple): Add resets for enrage events with death. (#20174)
Init.
2024-10-10 12:59:33 -03:00
Benjamin Jackson
eebb5596bf fix(Scripts/BlackTemple): Adjust caster of Blaze spell. (#20172)
* Init.

* Account for nullptr victim.
2024-10-10 12:27:28 -03:00
Rorschach91
d5d5df67ba fix(Script/Mother Shahraz) Add new teleport points. (#20137)
* fix(Script/Mother Shahraz) Increase min teleport range and add new teleport points.

This fix increase minimum teleport range for Fatal Attraction and It adds 5 new teleport points if the boss is near the platform.

* Update boss_mother_shahraz.cpp
2024-10-08 11:53:42 +02:00
Grimdhex
508b7369c7 fix(Scripts/BlackTemple): exclude off tank of the Azzinoth Flame's charge (#20133)
* fix(Scripts/BlackTemple): exclude off tank of the Azzinoth Flame's charge

* remove an unecessary elseif

* Update boss_illidan.cpp
2024-10-05 11:02:06 +02:00
Benjamin Jackson
cc37941ef5 fix(Scripts/BlackTemple): Reset Illidan threat with phase four. (#20125)
Init.
2024-10-03 14:32:52 -03:00
Dan
82797a4501 fix(Scripts/TheBlackTemple): remove gossip option on Akama when Illidan is dead (#20118) 2024-10-02 16:54:58 -03:00
Dan
3636d7f0e4 fix(Scripts/TheBlackTemple): resetting behaviour in p1 for Shade of Akama (#20076)
* init

* Update boss_shade_of_akama.cpp

* Update boss_shade_of_akama.cpp

* Update boss_shade_of_akama.cpp

* update factions

bench with the faction sniffs

Co-Authored-By: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>

* set spawned creatures in combat again

Co-Authored-By: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>

* wip change faction to defender

* Update boss_shade_of_akama.cpp

* Update boss_shade_of_akama.cpp

* set hostiles in combat

* Akama shade reset test (#12)

compilation of commits with fixes and debugging

* Update boss_shade_of_akama.cpp

* Update factions_shade.sql

* Update factions_shade.sql

* Update factions_shade.sql

* Update factions_shade.sql

* 5s instead of 5ms

* change faction enum names

* revert faction change on player death

* unused import

* Update boss_shade_of_akama.cpp

* unsummon all non-defenders

* clear summons on all players dead

* blank space

* make creatures not stop spawning on player wipe

* oops

---------

Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
2024-10-01 19:05:11 +02:00
Francesco Borzì
5a96ce283d refactor(Scripts): remove unused imports (#20086) 2024-09-29 13:20:21 +02:00
Anton Popovichenko
67f587d958 fix(CI/Codestyle): Fix codestyle CI error introduced with the new rule for ifs. (#20081) 2024-09-28 19:45:59 -03:00
Mattia
de93487ecd fix(Core/Script) - Black Temple - Gurtogg Bloodboil - Bewildering Strike mechanics doesnt work as it should (#20074)
* spell_gurtogg_bloodboil_bewildering_strike_aura class added

* Create spell_gurtogg_bloodboil_bewildering_strike_aura

* extension sql added

* CanAIAttack condition added

* Delete data/sql/updates/pending_db_world/spell_gurtogg_bloodboil_bewildering_strike_aura.sql
2024-09-28 16:21:29 -03:00
Grimdhex
8bf3595cef fix(Script/BlackTemple): teleport position with fatal attraction (#19971)
* fix(Script/BlackTemple): teleport position with fatal attraction

* fix codestyle

* try a new way by keeping a random teleport

* remove the old fixed position

* improve the dest selection

* raycast around the new position for check a valid dest

* fix codestyle

* revert the old changes

* refactor to remove the while loop

* few refactor

* Revert "few refactor"

This reverts commit fb7613d5cc5a19df01bbcf41ef5c982119ee9685.

* .

* add a los check

* new improvement with stairs cases & console errors

* fix disableWarning option

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp
2024-09-28 10:27:32 +02:00
Andrew
a65be25fb9 fix(Scripts/BlackTemple): Correct the door announcement to only annou… (#20036)
fix(Scripts/BlackTemple): Correct the door announcement to only announce on the first bosses
2024-09-25 10:33:42 +02:00
Jelle Meeus
a7578e1cce fix(Scripts/TheEye): Kael'thas p5 transition, flight, MotionMaster:MoveTakeoff (#20005)
Co-authored-by: killerwife <killerwife@gmail.com>
2024-09-24 08:33:21 -03:00
Andrew
0e9fb5946b fix(Scripts/BlackTemple): Fix Fatal Attraction not being removed if t… (#20021)
fix(Scripts/BlackTemple): Fix Fatal Attraction not being removed if targets move apart
2024-09-23 10:21:30 -03:00
Kitzunu
386aea03ee chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
2024-09-21 19:34:31 +02:00
Grimdhex
5af3d2d650 fix(Scripts/BlackTemple): Flames of Azzinoth - Fix the charge logic (#19968)
fix(Scripts/BlackTemple): fix the charge mechanic of Flames of Azzinoth

* remove also a old duplicate check in a spell script
2024-09-18 11:52:16 +02:00
Kitzunu
04c8e85434 fix(Scripts/BT): correct illidari council enrage timer (#19975)
* fix(Scripts/BT): correct illidari council enrage timer

* wrong conversion from 5ae1473e30

* redundant
2024-09-15 09:39:04 -03:00
Andrew
8b16f7d243 fix(Scripts/BlackTemple): Implement emotes when opening Najentus and … (#19946)
* fix(Scripts/BlackTemple): Implement emotes when opening Najentus and Den of Mortal Delights

* only check if state is done
2024-09-15 12:48:11 +02:00
Andrew
99b39e5045 fix(Scripts/BlackTemple): Parasitic Shadowfiends should not target pl… (#19944)
* fix(Scripts/BlackTemple): Parasitic Shadowfiends should not target players affected with debuff

* Update boss_illidan.cpp

* Update src/server/scripts/Outland/BlackTemple/boss_illidan.cpp

* make it simple
2024-09-15 12:46:55 +02:00
Grimdhex
bd40fef081 fix(Scripts/BlackTemple): fix blaze and flame bast casting for Flame of Azzinoth (#19967)
fix(Scripts/Core): fix blaze and flame bast casting for Flame of Azzinoth
2024-09-14 08:22:02 -03:00
Andrew
8030ef4ba0 fix(Scripts/BlackTemple): Fix variable not being set to true when Ak… (#19947)
fix(Scripts/BlackTemple): Fix variable not being set to false when Akama dies
2024-09-13 21:26:42 +02:00
Grimdhex
20b443e011 refactor(Scripts/TempestKeep): remove an dev residual from Kael'Thas revamp (#19950)
refactor(Scripts/TempestKeep): remove an dev rest from my last PR with Keal'Thas
2024-09-12 07:58:18 -03:00
Grimdhex
5ae1473e30 fix(Scripts/BlackTemple): Ajust Judgment timers and pass all the script to std::chrono (#19945)
fix(Scripts/BT): ajust Judgment timers and pass all the script to std::chrono
2024-09-12 06:11:56 -03:00
Andrew
56e03c495d fix(Scripts/BlackTemple): Shade of Akama should despawn on evade and Akama despawns before dying (#19894)
* fix(Scripts/BlackTemple): Shade of Akama should despawn on evade and Akama despawns before dying

* Create rev_1725714358950337100.sql

* Update boss_shade_of_akama.cpp
2024-09-09 12:45:23 +02:00
Andrew
7eee1345d0 fix(Scripts/BlackTemple): Gurtogg Bloodboil shouldnt cast bloodboil o… (#19886)
fix(Scripts/BlackTemple): Gurtogg Bloodboil shouldnt cast bloodboil on phase 2 and shouldnt chase immune targets
2024-09-07 07:05:43 -03:00
天鹿
dc4c874206 fix(Scripts/BlackTemple): blade_of_azzinoth...and Possible crash (#19891)
* Update boss_illidan.cpp

* Update boss_illidan.cpp
2024-09-07 07:05:18 -03:00
Andrew
78d40e4078 fix(Scripts/BlackTemple): Remove Shear from Illidan following wrath p… (#19881)
fix(Scripts/BlackTemple): Remove Shear from Illidan following wrath patch changes
2024-09-06 20:41:36 -03:00
Gultask
fa490c21e9 fix(Scripts/BlackTemple): Rewrite Illidan Stormrage Fight (#19574)
* Create rev_1722993051676997100.sql

* akama done

* Update boss_illidan.cpp

* maiev

* sssssssssllllll

* blerg

im sick irl

* door handel

* Update boss_illidan.cpp

* minions

* Update boss_illidan.cpp

* unneeded

* Update boss_illidan.cpp

* Update boss_illidan.cpp

* meow

* Update boss_illidan.cpp

* Update boss_illidan.cpp

* Update boss_illidan.cpp

* demon_phase

missing:
tear of azzinoth
trap + frenzy
flying phase wipe + animation

* akama's ending not working still

* Update boss_illidan.cpp

* Update boss_illidan.cpp

flying animation
akama isn't returning to complete the ending

* akama ending fixed

* cleanup

* Update boss_illidan.cpp

* Update boss_illidan.cpp
2024-09-05 10:16:26 -03:00
Benjamin Jackson
1edac37ac3 refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Add gameobject type ID check, reorder checks.

* Add helper/codestyle check for unit type.

* `IsUnit()` -> `IsCreature()`

* Add `IsUnit()` method.

* Use type mask.

https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-09-03 14:41:31 -03:00
Andrew
0954e314a0 fix(Scripts/BlackTemple): Fix Zerevor not casting Dampen Magic OOC (#19768)
* fix(Scripts/BlackTemple): Fix Zerevor not casting Dampen Magic OOC

* Update boss_illidari_council.cpp

* recast every 1min

* implement the recast checks

* Update CreatureAI.h

* Update boss_illidari_council.cpp

* Update boss_illidari_council.cpp

* fix ooc cast

* Update boss_illidari_council.cpp

* always respect the 60s lock

* Update boss_illidari_council.cpp

* Update boss_illidari_council.cpp
2024-09-02 20:44:34 -03:00
Benjamin Jackson
2f00db3418 fix(Scripts/BlackTemple): Adjust order of damage calculations for Shared Rule. (#19849)
Init.
2024-09-02 05:34:30 -03:00
Andrew
83d623e559 fix(Scripts/BlackTemple): Fix Mother Shahraz teleport (#19820)
fix(Scripts/BlackTemple): Fix Mother Sharaz teleport

Co-authored-by: Keader <keader.android@gmail.com>
2024-08-31 17:35:17 -03:00
Benjamin Jackson
30f87a3e2f fix(Scripts/BlackTemple): Call evade for Council creature when members evade. (#19808)
Init.
2024-08-31 09:41:19 -03:00
Benjamin Jackson
9a503d4703 fix(Scripts/BlackTemple): Ensure Illidari council health is balanced across wipes. (#19809)
Init.
2024-08-31 09:40:48 -03:00