Commit Graph

4735 Commits

Author SHA1 Message Date
Andrew
2873736145 feat(Core/Player): Move SaveSkills() to the public scope (#17418) 2023-10-05 03:38:10 -03:00
Ludwig
de50ce3305 fix(Scripts/Midsummer): Randomize ribbon pole beam color (#17380)
* fix(Scripts/Midsummer): Randomize ribbon pole beam color

* Update data/sql/updates/pending_db_world/rev_1695820418952974700.sql

Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>

* Add Validate() to spell script spell_midsummer_ribbon_pole

---------

Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>
2023-10-01 09:26:18 +02:00
Dan
62c6b158e5 refactor(Scripts/SSC): The Lurker Below boss script updated (#17082)
* initial

* restore me->CastSpell()

because apparently there is no overload of docastself that has triggerflags if I understand it correctly

* fix timers

may need some work - comments/thoughts welcome

* ms

* make kitzunu slightly less sad

* fixes

* revert

* Update boss_lurker_below.cpp

Co-authored-by: Angelo Venturini <Nefertumm@github.com>

* Update boss_lurker_below.cpp

---------

Co-authored-by: Angelo Venturini <Nefertumm@github.com>
2023-10-01 09:24:57 +02:00
Dan
57f5c6fb0c refactor(Scripts/SSC): Leotheras the Blind boss script updated (#17080)
* initial

* remove unused parameter

* fix timers

* useless commit to revive actions

* fixes

* weird mistake fixed

* browser programming kekW
2023-10-01 09:24:47 +02:00
KJack
a23d5ee50d feat(Core/Scripting): Implement OnBeforeCreatureSelectLevel() hook (#17391)
* Add `OnBeforeCreatureSelectLevel()` hook
- allows modules to alter the level of a creature just before it is set

* Fix missing class name.

* Hook should catch even if the level isn't being changed.

* Trim whitespace.

* Revert "Trim whitespace."

This reverts commit 76768d85c0b9878828b71a008e709c1df7ddadc5.

* Fix whitespace
2023-10-01 02:25:06 -03:00
Skjalf
c17a6c0a0e fix(Scripts/Karazhan): Fix Dorothee yell once Tito dies and clean up … (#17395)
* fix(Scripts/Karazhan): Fix Dorothee yell once Tito dies and clean up script

* fix dorothee interrupt immunity
2023-10-01 02:24:11 -03:00
Skjalf
9b403e0d10 fix(Scripts/Karazhan): Fix Curator arcane immunity (#17397)
* fix(Scripts/Karazhan): Fix Curator arcane immunity

* Update boss_curator.cpp

* Update boss_curator.cpp
2023-09-30 23:16:45 -03:00
Skjalf
7de2405604 fix(Scripts/Karazhan): Several Aran fixes (#17394)
- Fix drinking being interrupted by dots
- Fix first super timer
- Fix missing Arcane Explosion emote
- Fix supers being locked by spell interrupt
- Correct drinking to 10% mana down from 20%
2023-09-30 22:13:49 -03:00
Skjalf
547628fe70 fix(Scripts/Spells): Fix Dash applying bonuses in other forms (restor… (#17393)
fix(Scripts/Spells): Fix Dash applying bonuses in other forms (restores previous code functionality)
2023-09-30 17:59:15 -03:00
Skjalf
f583dbe98c fix(Scripts/Karazhan): Restore Netherspite DestroyPortals() function (#17392) 2023-09-30 15:34:18 -03:00
Ludwig
1004dae7e5 refactor(Scripts/Midsummer): Add/Update Validate() for spell checks (#17390) 2023-09-30 09:54:27 +02:00
Ludwig
7a1c303d49 refactor(Scripts/Midsummer): Assign enum values to gameobjects and sp… (#17379)
* refactor(Scripts/Midsummer): Assign enum values to gameobjects and spells

* rename GO_TORCH_TOSS_TARGET_BUNNY to NPC_TORCH_TOSS_TARGET_BUNNY

* add more enum values to enum flingTorch
2023-09-29 18:30:35 +02:00
KJack
c25d0b38e8 feat(Core/GameObject): Implement OnGameObjectModifyHealth() hook (#17374) 2023-09-28 22:39:57 +02:00
AG
2779833768 feat(Core/Grids): Implement visibility notifier (#15919)
* Cherry-picked from TrinityCore (unable to find author)
2023-09-28 22:28:28 +02:00
Dan
29af6cc886 fix(Scripts/Magtheridon): make the timers of Quake and Blast Nova independent from each other (#17364)
* initial

* fix timers

* add delay for duration

* Update boss_magtheridon.cpp

10s
2023-09-28 05:48:40 -03:00
Skjalf
52c7edaa5c fix(Scripts/Karazhan): Clear Netherspite portal targets on transition (#17377) 2023-09-28 07:38:29 +02:00
Skjalf
57841f7213 fix(Scripts/Karazhan): Update Aran script to use boss states (#17376) 2023-09-27 19:39:17 -03:00
Dan
f44e658342 fix(Scripts/Karazhan): allow Aran to cast pyroblast also when interrupted (#17375)
* initial

* add scheduling
2023-09-27 19:31:08 -03:00
Sven Bledt
b80aaebb5a fix(Core/Quest): AllowableRaces to uint32 for custom Racemasks (#17372)
* fix(Core/Quest): AllowableRaces to uint32 for custom Racemasks

* Update data/sql/updates/pending_db_world/uint32_quest_template.sql

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-09-27 22:05:28 +02:00
Dan
dcf5816f5d fix(Scripts/SSC): Morogrim Tidewalker now summons the water globules again (#17373)
change to bigint
2023-09-27 21:45:00 +02:00
Dan
4b85e3ed98 refactor(Scripts/SSC): Fathomlord Karathress boss script updated (#17079) 2023-09-26 20:07:04 -03:00
Dan
8d7461eb2c refactor(Scripts/SSC): Lady Vashj boss script updated (#17083)
* initial

* whitespace1

* fix timers

repeat maxtimer needs work. average is skewed because the max is very high. I took the average timer as maxtimer now

* fixes
2023-09-27 00:23:26 +02:00
Ludwig
6649ad08d7 fix(Scripts/Midsummer): Make beam target Ribbon Pole top (#17358)
* fix(Scripts/Midsummer): Make beam target Ribbon Pole top

progress #12145

* refactor(Scripts/Midsummer): shorten spell_midsummer_ribbon_pole_visual::UpdateTarget
2023-09-26 18:51:59 -03:00
Skjalf
ae99ce586a fix(Scripts/Karazhan): Fix Aran combat movement behavior (#17359)
* fix(Scripts/Karazhan): Fix Aran combat movement behavior

* Update SmartScript.cpp
2023-09-26 18:27:23 -03:00
Tereneckla
c05acf4f96 fix(Script/Karazhan): Netherspite resets threat after portal phase (#17362)
* Update boss_netherspite.cpp

* Update boss_netherspite.cpp

* Update boss_netherspite.cpp
2023-09-26 18:15:18 -03:00
Skjalf
a8e514ea39 fix(Core/Unit): Threat from energize effects should be proportional t… (#17352)
fix(Core/Unit): Threat from energize effects should be proportional to the amount of power gained
2023-09-26 17:30:35 -03:00
Skjalf
e67a0b1a82 fix(Scripts/Spells): Fix Furious Howl not giving ranged attack power … (#17345) 2023-09-25 21:31:36 -03:00
Kitzunu
2d3e9a8f23 fix(Player/Achievement): fix crash (#17357)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17330
2023-09-25 21:01:19 +02:00
Skjalf
14ed5860e1 fix(Core/Spells): Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_… (#17339)
fix(Core/Spells): Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY

(cherry picked from commit 7c6d92012a )
Co-Authored-By: xvwyh <43143822+xvwyh@users.noreply.github.com>
2023-09-25 08:33:23 -03:00
Skjalf
970c579547 fix(Scripts/Ulduar): Respawn Algalon on wipes (#17344) 2023-09-25 08:07:30 -03:00
Skjalf
c7b7b7dc07 fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet (#17342)
* fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet

* Update src/server/game/Entities/Pet/Pet.cpp
2023-09-25 08:07:09 -03:00
Skjalf
4afc200f41 fix(Scripts/Spells): Druid Dash require Cat Form (#17343) 2023-09-25 08:06:01 -03:00
Skjalf
b6e5e9f884 fix(Scripts/SethekkHalls): Fix Anzu not leaving banish phase when all… (#17337)
fix(Scripts/SethekkHalls): Fix Anzu not leaving banish phase when all adds die
2023-09-25 08:05:39 -03:00
Skjalf
bfb40db86d fix(Scripts/SlavePens): Correct target selector for Quagmirran Acid Spray (#17341)
fix(Scripts/SlavePens): Correct target for Quagmirran Acid Spray
2023-09-25 08:04:49 -03:00
Skjalf
3c698f86af fix(DB/Text): Add missing Netherspite text emotes (#17335)
* fix(DB/Text): Add missing Netherspite text emotes

* fix emote order

* Update boss_netherspite.cpp
2023-09-25 08:04:15 -03:00
Skjalf
4a0b879ee3 fix(Scripts/Karazhan): Fix Shade of Aran Blizzard and use proper spel… (#17329)
* fix(Scripts/Karazhan): Fix Shade of Aran Blizzard and use proper spells to summon elementals

* Update boss_shade_of_aran.cpp

* Update boss_shade_of_aran.cpp

* Update rev_1695546719351253200.sql

* missing sql
2023-09-25 06:41:21 -03:00
Skjalf
84d4d60cfc fix(Scripts/Karazhan): Fix Julliane awarding no loot (#17334)
* fix(Scripts/Karazhan): Fix Julliene awarding no loot

* Update bosses_opera.cpp
2023-09-25 06:38:01 -03:00
Skjalf
6d1517f5e5 fix(Scripts/Karazhan): Make Chess door non interactable (#17349)
Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-09-25 06:11:27 -03:00
Skjalf
f0c4ab3c95 refactor(Scripts/MagistersTerrace): Clean up instance script (#17346) 2023-09-25 06:11:12 -03:00
Skjalf
13a9de1083 refactor(Scripts/GruulsLair): Clean up instance script (#17347) 2023-09-25 06:10:56 -03:00
Skjalf
cc60bc0c35 fix(Scripts/Spells): Fix Healing & Mana injectors not giving bonus to… (#17348)
* fix(Scripts/Spells): Fix Healing & Mana injectors not giving bonus to engineers

* Update SpellEffects.cpp

* Update spell_item.cpp
2023-09-25 06:10:23 -03:00
Skjalf
1328412501 fix(Scripts/Commands): Fix list creature string output (#17351) 2023-09-25 06:09:00 -03:00
Ludwig
e2e393502c fix(Scripts/Midsummer): Add missing torch shadows (#17323) 2023-09-24 16:24:33 -03:00
Grimgravy
6990a1d2a4 fix(Scripts/Quest): improve Catch the Wild Wolpertinger! (#17333) 2023-09-24 16:23:58 -03:00
Tereneckla
e361c92d66 fix(Scripts/Karazhan): Sync Enfeeble and Shadow Nova (#17314)
Update boss_prince_malchezaar.cpp
2023-09-24 14:46:13 -03:00
Skjalf
def86cc74e feat(Scripts/Commands): Display creature entry when using the npc nea… (#17331)
feat(Scripts/Commands): Display creature entry when using the npc near command
2023-09-24 10:19:00 -03:00
Ludwig
58f8fe6426 refactor(Scripts/Midsummer): Remove old unused code for spell 45644 (#17324)
- spell 45644 used to be linked to spell_midsummer_juggling_torch

- spell 45644 was later linked to new implementation
  spell_midsummer_torch_catch in e1e4c6cddc

- old implementation of spell 45644 was never removed from
  spell_midsummer_juggling_torch
2023-09-23 18:55:45 -03:00
Mickaël Mauger
1a84ab6983 fix(Core/Unit): Fix CanSwim method not accurate for players (#17320) 2023-09-23 20:49:20 +02:00
Tereneckla
fb1d356af9 fix(Script/Karazhan): Voidzones should only happen in Portal Phase (#17315)
Update boss_netherspite.cpp
2023-09-22 22:24:41 -03:00
Ludwig
fcd58da08c fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID (#17316) 2023-09-22 00:54:08 +02:00