Commit Graph

2345 Commits

Author SHA1 Message Date
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
2e0a57084c fix(Scripts/ICC): Fix Valkyr "teleportation" effect caused by movement desynchronization between server and client. (#20080) 2024-09-29 13:13:59 +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
98ae32e1da fix(Scripts/Spells): Remove immunity application from Preparation buff (#20042) 2024-09-25 12:00:57 -03: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
Grimgravy
511235cca3 fix(Scripts/Quest): Fires Over Skettis (#19567)
* fix(Scripts/Quest): Fires Over Skettis

* Update spell_item.cpp

---------
2024-09-23 14:05:11 +02:00
chaosua
8566e4ace3 fix(DB/creature_text): (Pit of Saron, AzjolNerub) assign BroadcastTextId to creature_text (#18611)
* (Instance:Pit of Saron) cleanup some duplicated txt lines and make use broadcast_text for localization support
(Instance:AzjolNerub) added ruRU creature_text localization for Anub'arak intro (because BroadcastTextId unknown)

* Update txt_line_fix.sql

Remove excess line breaks

* Rescued Alliance Slave connect heroic version template

---------

Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
2024-09-22 14:43:38 +02:00
Benjamin Jackson
7790b2258b feat(Core/Commands): Add debug command for applying a spell cooldown. (#20004)
* Init.

* Correct wrong query characters.
2024-09-22 00:28:11 +02:00
Kitzunu
d227ed91c2 fix(Scripts/Commands): Prevent crash if you use doublequotes in go cr… (#20012)
fix(Scripts/Commands): Prevent crash if you use doublequotes in go creature name

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20010
2024-09-21 18:30:58 -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
Jelle Meeus
188b864d79 fix(DB/ArgentTournament): Stabled Campaign Warhorse missing error message (#19926)
* fix lance requirement error msg

* ;
2024-09-21 18:48:04 +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
Benjamin Jackson
07c54fe8c7 fix(DB/Command): Add help values for various commands. (#19984)
Init.
2024-09-16 12:12:26 -03:00
Andrew
ee6e74eb3c fix(Scripts/Commands): Fix level up achievements not being granted (#19969) 2024-09-15 15:55:45 -03: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
Mershl
0ac7ab03bb fix(Scripts/UBRS): increase Drakkisath's conflagrate interval from 10s..13s to 18s..25s, avoiding near infinite CC chains (#19806)
fix(Scripts/UBRS): increase Drakkisath's conflagrate interval from 10..13s to 18s..25s, avoids infinite CC chains (conflagrate is a 10s CC)
2024-09-11 11:19:14 -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
kissingers
cf95c1dfbd fix(Scripts/ZulAman): Nalorakk sometimes not move when player close (#19893)
* Fix nalorakk sometimes not move when player close

* init _phase

* Revert "Fix nalorakk sometimes not move when player close"

This reverts commit b42cd4634bb4ffd225eaa7480428c6ba6b4817c6.
2024-09-07 15:39:31 +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
天鹿
e7448f2986 fix(Scripts/Commands): .gps formatting transport offset (#19890)
* Update cs_misc.cpp

* Update PlayerUpdates.cpp
2024-09-07 01:03:41 -03:00
天鹿
dd2167b00b fix(Core/AI): Creature SetInCombatState Leashing. (#19889)
* Update Unit.cpp

* Update pit_of_saron.cpp

* Update Unit.cpp
2024-09-07 01:03:19 -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
Jelle Meeus
89b08dd5dc fix(Scripts/Commands): .gps formatting transport offset (#19888)
fix transport offset
2024-09-06 19:43:12 -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
bf18b9bdfb fix(Core/AI): Improve creature leashing behavior. (#19751)
* Init.

https: //github.com/vmangos/core/commit/7d2f1e2923734ea1b983eeaa0208cfd158d4af02
Co-Authored-By: ratkosrb <35845488+ratkosrb@users.noreply.github.com>

* Hackfix for pets.

* Whoops.

* Correct evade uses.

* Conflict.

* Actually fix grace timer.

* Add visibility distance check.

Creatures should always fail combat checks in the open world if they're outside of visibility distance, might not be the case for worldbosses.

---------

Co-authored-by: ratkosrb <35845488+ratkosrb@users.noreply.github.com>
2024-09-03 21:08:56 +02: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
Grimdhex
221dbd3fdb chore(Apps/Codestyle): add new codestyle checks for pointers and range loops (#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops

* revert a typo
2024-09-03 13:02:38 -03:00
Kitzunu
9af86553c5 chore(Core/Misc): update floor and ceil to std (#19837) 2024-09-03 08:01:00 -03:00
Kitzunu
de2bcbdabf refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-09-03 07:59:37 -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
Benjamin Jackson
f88812443d refactor(Core): Correct typo. (#19830)
Init.
2024-08-31 17:38:03 -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
Walter Pagani
3b45e90e41 fix(Scripts/ICC): NPC Muradin Dialogues (#18931)
Co-authored-by: Meji <alvaro.megias@outlook.com>
Co-authored-by: 天鹿 <18535853+PkllonG@users.noreply.github.com>
2024-08-31 17:34:56 -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
Jelle Meeus
0fb2c5efeb fix(Scripts/TheEye): Kaelthas remove enchanted weapons (#19801)
* remove weapons

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

* style

for consistency

* also cast on KT JustDied

* fix TriggerCastFlags to not ignore reagent cost

* Apply suggestions from code review

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-08-30 16:20:52 -03:00
Grimdhex
e4aab5b4f0 fix(Scripts/TempestKeep): revamp Kael'Thas (#19648)
* fix(Scripts/TempestKeep): force attackstop for all player during the last phase and cleanup the script of Kael'Thas

* few new fixes

* fix codestyle

* fix codestyle and remove misc stuff

*remove the useless DisableSpline
*remove also a misc change use only during the dev

* pass the health to DamageTaken instead UpdateIA

* avoid to iterate over the threatlist and use RemoveAllAttackers() instead

* Revert "avoid to iterate over the threatlist and use RemoveAllAttackers() instead"

This reverts commit 0623c0075191c91c2530496c83d017d3b6a824db.

* Revert "pass the health to DamageTaken instead UpdateIA"

This reverts commit 7f8609af603ecc042c819801a2f04d9d65c5031a.

* revert recents commits

* avoid potential conflicts with others enums

* fix build
2024-08-30 16:10:51 -03:00