Commit Graph

505 Commits

Author SHA1 Message Date
Andrew
a0f66edcec fix(Scripts/Karazhan): Fix being able to interact with Nightbane's doors (#17713)
fix(Scripts/Karazhan): Fix being able to interact with NIghtbane's doors
2023-11-15 13:35:32 +01:00
Andrew
c4722de46a fix(Scripts/Karazhan): Fix Temptation target (#17710) 2023-11-14 20:09:25 -03:00
Andrew
a19613df86 fix(Scripts/Karazhan): Use actual spell interruption timers to handle… (#17709)
fix(Scripts/Karazhan): Use actual spell interruption timers to handle basic ability cast
2023-11-14 18:50:45 -03:00
Andrew
d9e12f7a46 fix(Scripts/Karazhan): Implement Aran's Atiesh interaction (#17692) 2023-11-14 14:49:05 -03:00
KJack
3d20f8902b feat(Core/Instance): InstanceScript: create Remove functions (#17702)
InstanceScript: create `Remove` helper functions
2023-11-14 08:13:28 -03:00
KJack
4fabaee597 fix(Scripts/ZulGurub): Jeklik (Bat Boss) - fix double-run scheduler (#17693)
* Don't double-run scheduler. Only run out of combat when needed.

* Comment clarification

* Rename variable

* Replace janky scheduling with `DespawnOnEvade()`
2023-11-13 03:42:16 -03:00
Andrew
bbedb91e2c fix(Scripts/Karazhan): Implement Nightbane summon emote and despawn on evade (#17690)
* fix(Scripts/Karazhan): Implement summon emote and despawn on evade

* missing flag
2023-11-13 01:39:14 -03:00
KJack
3c8adc71cd (Scripts/AI) ZG20: Jeklik (Bat Boss) - Implement Bat Riders, other fixes and improvements (#17573)
---------

Co-authored-by: AG <43139552+AGandrup@users.noreply.github.com>
2023-11-12 09:35:35 +01:00
Kitzunu
bbadc32bea Revert Visibility Notifier changes (#17682)
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569)"

This reverts commit 79b39f9655.

* Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480)"

This reverts commit 60e27511c5.

* Revert "fix(Core): GridCleanUpDelay Log (#17436)"

This reverts commit 90b16ca065.

* Revert "feat(Core/Grids): Implement visibility notifier (#15919)"

This reverts commit 2779833768.
2023-11-12 00:48:49 +01:00
KJack
896e7c5656 (Scripts/AI) ZG20: Improvements to Thekal (Tiger Boss) (#17603)
Co-authored-by: AG <43139552+AGandrup@users.noreply.github.com>
2023-11-11 08:13:43 +01:00
Kitzunu
f757e93da5 refactor(Core/Misc): Make DeathState enum class (#17607) 2023-10-28 10:54:03 +02:00
Andrew
3dcbe649dd fix(Scripts/Karazhan): Fix Flame Wreath affecting pets (#17581) 2023-10-25 19:01:15 -03:00
AG
60e27511c5 fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480)
* Bug fixes

- Corrected std::chrono from seconds to milliseconds
- Got rid of leftover code that caused objects to not show up on time

* Removed logic to set gameobject as active

- More alignement with TC.
- Reduces CPU usage drastically

* Revert back to using time_t instead of std chrono

* Invoke SetNoCreate() method to reduce CPU usage drastically

* Remove setActive from static and motion transports

* Fix performance issues

* Added SetFarVisible to WG and some dungeon scripts

- Also removed setActive(true) from creatures in Wintergrasp. As for gameobjects they are set to active upon being damaged/destroyed and removed from active on rebuild (reset)

* Removed comments related to VISIBILITY_COMPENSATION

* Fix log

* Deleted unused files + corrected a check

* Added missing header

* Removed unused parameter

* Removed another unsued parameter

* Changed vector to set for i_visibleNow

- Changed vector to set for i_visibleNow in VisibleNotifer
- Adjusted HaveAtClient to accept Object*
- Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
2023-10-23 05:37:11 -03:00
Andrew
a56a224bd7 fix(Scripts/Karazhan): Update Aran with the new OnPowerUpdate() hook (#17561) 2023-10-23 05:28:29 -03:00
Andrew
4e41a02be2 fix(Scripts/Karazhan): Implement the side entrance door area trigger … (#17556)
fix(Scripts/Karazhan): Implement the side entrance door area trigger handling
2023-10-21 22:52:07 -03:00
Andrew
c5ac4789d8 fix(Scripts/Karazhan): Opera left door should stay open in case of wipe (#17553) 2023-10-21 21:59:18 -03:00
Andrew
a3d728f791 fix(Scripts/Karazhan): Script Aran's Flame Wreath ability (#17551) 2023-10-21 21:08:12 -03:00
daobashun
d9d500923a fix(DB/SAI): Move the Ashbringer event AI of the Bloody Monastery mob to Smartai (#17078)
* Move scarlet_guard's Ashbringer event to smartAI

* Remove the code from the script

* Delete the commented out code

* Modify the distance of the "Scarlet Wizard" Cast Arcane Explosion

* Fix errors

* Update rev_1692891765582381000.sql

* Update rev_1692891765582381000.sql

* Remove duplicate statements

* Remove duplicate statements
2023-10-22 02:03:50 +02:00
avarishd
62ef0db09f fix(Scripts/Karazhan): Side Enterance Door check (#17493) 2023-10-12 11:19:21 -03:00
avarishd
e08de5f073 fix(DB/Creature): Hex Lord Malacrass missing weapon (#17475)
fix(DB/Creature): Hex Lord Malacrass wrong equipment

https: //github.com/TrinityCore/TrinityCore/commit/5856f520bbd8dded42f7742277839587b0645dde

Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
2023-10-10 10:23:27 -03:00
Andrew
7f36c5f059 fix(Scripts/Karazhan): Replace Big Bad Wolf chase mechanic with prope… (#17458)
fix(Scripts/Karazhan): Replace Big Bad Wolf chase mechanic with proper taunt spell
2023-10-08 17:19:48 -03:00
Dan
71312323a1 fix(Scripts/Karazhan): Nightbane clean-up script (#17446)
initial hackfix
2023-10-08 17:14:45 -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
f583dbe98c fix(Scripts/Karazhan): Restore Netherspite DestroyPortals() function (#17392) 2023-09-30 15:34:18 -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
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
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
Tereneckla
e361c92d66 fix(Scripts/Karazhan): Sync Enfeeble and Shadow Nova (#17314)
Update boss_prince_malchezaar.cpp
2023-09-24 14:46:13 -03: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
Dan
5b899eb65d fix(Scripts/Karazhan): Aran now evades when pulled out of the room (#17264)
* initial

* use standard methods dummy

* Update boss_shade_of_aran.cpp

* Update boss_shade_of_aran.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-09-22 00:51:04 +02:00
Skjalf
74353a3c83 fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place (#17311)
* fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place

* Update boss_terestian_illhoof.cpp
2023-09-19 21:39:07 -03:00
Skjalf
3cfb1d3bf6 fix(Scripts/Karazhan): Move Aran's elemental AI to SAI (#17312) 2023-09-19 21:38:41 -03:00
Skjalf
3a51249bf5 fix(Scripts/Karazhan): Fix fear immunity for Strawman (#17307) 2023-09-19 20:32:25 -03:00
Skjalf
7dd9ca01c5 fix(Scripts/Karazhan): Regen Curator mana on reset (#17310) 2023-09-19 20:30:34 -03:00
Dan
373fdd68bf fix(Scripts/Karazhan): fix visual of infernals on Malchezaar (#17304)
* test

* remove comment
2023-09-18 20:35:41 -03:00
Skjalf
89d0db3a93 fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions (#17296)
* Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)"

This reverts commit c709e2e7d3.

* fix(Scripts/Karazhan): Fix Aran's chase distance and Blink conditions

* Revert "Revert "chore(Worldserver/Config): Clean up and reorganize config file (#17272)""

This reverts commit 7075437947203943872aa7606c07c82ae4c8c93c.

* Update rev_1695004374973517300.sql
2023-09-18 15:55:15 -03:00
Skjalf
5b3c5740fb fix(Scripts/Karazhan): Fix Terestrian Illhoof not summoning any imps (#17297)
* fix(Scripts/Karazhan): Fix Terestrian Illhoof not summoning any imps

* Update rev_1695008245587651800.sql

* Update boss_terestian_illhoof.cpp

* make kilrek immune to enslave demon
2023-09-18 15:54:52 -03:00
Skjalf
9ac71a4e2a fix(Scripts/MagistersTerrace): Script Kalecgos' appearance after usin… (#17286) 2023-09-17 19:00:09 -03:00
daobashun
533b36406e fix(DB/Creature): move Fairbanks gossip to the database (#16974)
* Add gossip_menu_id for fairbanks

* npc_text ID uses the npc_text_broadcast_text Datasheet ID in CMANGOS

* Some emoticons will hold the weapon in your hand when used, so use smartAI instead.

* Only if there is an inventory or equipment Ashbringer will the gossip_menu_option be displayed

* Remove the code from the script

* Update the data

* Code formatting Remove comments

* Replace ## with --
Replace npc_text_broadcast_text with npc_text_broa*dcast_text

* Replace npc_text_broadcast_text with npc_text_broa*dcast_text

* Modify the comment
2023-09-17 21:48:25 +02:00
Skjalf
ca95b4a129 fix(Scripts/Karazhan): Fix Enfeeble hitting more than 5 targets (#17290)
* fix(Scripts/Karazhan): Fix Enfeeble hitting more than 5 targets

* reorder so there are no cases where only 4 players are hit

* missing override
2023-09-17 16:32:06 -03:00
Dan
52744e6032 fix(Scripts/Karazhan): Shade of Aran now no longer casts spells whilst he should be drinking (#17282)
* initial

* remove redundancy

* remove method

* space gone

* indentación
2023-09-17 11:50:21 -03:00