Commit Graph

531 Commits

Author SHA1 Message Date
Andrew
aa24f50a03 chore(Scripts/SSC): Move Vashj summons to the new format (#21042) 2024-12-26 05:51:02 -03:00
Exitare
df11419ccb fix(Scripts/BlackTemple): Update AreaBoundary to avoid reset in the corners with Illidari council (#20957)
* Update distance and boundaries for council target selection

* Merge branch 'master' into council_evade
2024-12-18 23:34:59 -03:00
Jelle Meeus
94f1176cd0 fix(Scripts/TheEye): Kaelthas reduce time until all advisors phase (#20914) 2024-12-14 11:20:41 +01:00
Jelle Meeus
5ca9b5f942 fix(Scripts/TheEye): Advisors add Sanguinar's Bellowing Roar (#20620)
add roar
2024-11-18 05:44:45 -03:00
Andrew
e1d0cf9a15 feat(Core/Instances): Implement SummonData (#20582) 2024-11-15 10:49:02 -03:00
Andrew
07793f6cc8 fix(Scripts/TheEye): Fix Al'ar berserk timer (#20572) 2024-11-15 07:50:58 -03:00
Jelle Meeus
6fd034c8b3 fixup(Scripts/TheEye): spawn Kaelthas' advisors with full hp (#20573) 2024-11-14 22:25:13 -03:00
Jelle Meeus
980b9246c8 fix(Scripts/TheEye): Kael'thas advisors, refactor and RP (#20188)
refactor to use base advisor class

refactor doaction

extract phase enchanted weapons

sql delete script kael_phase_two
2024-11-14 06:06:42 -03:00
Andrew
bdb6ef8937 fix(Scripts/TheEye): Fix Wrath of the Astromancer's original caster (#20549) 2024-11-13 19:46:06 -03:00
Jelle Meeus
3565e4a9eb feat(Core/WorldState): improved WorldState scripting (#20141)
* implement world state script

based on
0b87ca9d9e

Co-authored-by: killerwife <killerwife@gmail.com>

* refactor to use onleave and onenter instead of spell_area

allows players to right click remove adal's buff

* add MapMgr.h

* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed

* remove lock from WorldState::Update

sWorldState->Update() is only called from World::Update

* remove unsafe SmartAI action of setWorldState

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-11-12 12:15:27 -03:00
Andrew
b16a610789 fix(Scripts/SSC): Improve Tainted Elemental combat behaviour (#20505)
* fix(Scripts/SSC): Improve Tainted Elemental combat behaviour

* Update boss_lady_vashj.cpp
2024-11-10 15:45:17 -03:00
Andrew
e8366f6935 fix(Scripts/SSC): Fix Leotheras running in melee range in demon phase (#20507)
* fix(Scripts/SSC): Fix Leotheras running in melee range in demon phase

* Update boss_leotheras_the_blind.cpp
2024-11-10 14:54:05 -03:00
Jelle Meeus
0a182b7274 fix(Scripts/Netherstorm): make "Mark V is Alive!" group completable (#20360)
groupevent instead of completequest
2024-11-02 06:36:32 -03:00
Anton Popovichenko
b45c41cf6e fix(Scripts/Outland): Fix crash in dragonmaw_race_npc by refreshing players pointer in lambda function. (#20333)
* fix(Scripts/Outland): Fix crash in dragonmaw_race_npc by refreshing players pointer in lambda function.

* Fix typo

* Refactor dragonmaw_race_npc to replace players pointer to GUID.

* Update src/server/scripts/Outland/zone_shadowmoon_valley.cpp

---------
2024-11-01 19:14:08 -03:00
Andrew
81ba01d2c1 fix(Scripts/BlackTemple): Parasitic Shadowfiends only target players (#20395) 2024-11-01 14:08:55 -03:00
Francesco Borzì
c06cadfe75 refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Tereneckla
07a6327c8c fix(Script/BlackTemple): Spawn Shadow Demons 30s into phase 4 (#20335)
* schedule phase 4 demons

* whitespace
2024-10-29 10:49:35 -03:00
Francesco Borzì
cb7e28df05 refactor(src/server/game/*): remove unused imports (big part 1) (#20310) 2024-10-27 10:25:40 +01:00
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