Commit Graph

161 Commits

Author SHA1 Message Date
Kitzunu
9e6eca979b fix(Scripts/ShadeOfAran): Make immune to Mind-numbing and Cure of Tongue (#19309)
* closes https://github.com/chromiecraft/chromiecraft/issues/6900
2024-07-06 11:22:13 +02:00
Kitzunu
5a4692e45a chore(Core/Misc): #include cleanup (#19255) 2024-07-02 15:52:02 +02:00
Benjamin Jackson
fd87ce1bf3 fix(Scripts/Karazhan): Destroy Netherspite portals on death. (#19203)
Init.
2024-06-28 05:52:46 -03:00
Benjamin Jackson
617341230e fix(Scripts/Karazhan): Allow portal color effects to overlap on players. (#19204)
Init.
2024-06-28 05:25:36 -03:00
Jelle Meeus
7e0dff5839 fix(Scripts/Karazhan) Nightbane take off phase handling (#18934)
* nightbane fly skip ground phase

use conditional schedule takeoff instead

invincibility fix and timing

no need to delay ScheduleGround

* (WIP) cursed boss

new inro
lands
attack flag is not removed.. cant attack :)

* fix intro, refactor fly to air, handle waypoints, air facing, urn,...

* add PassiveAI header

* revert removal of helper target on roof
2024-06-27 18:03:19 +02:00
Jelle Meeus
b259ec6df7 refactor(Scripts/Karazhan): Spell Scripts registry macros (#19184)
* instance_karazhan aura:spell_karazhan_brittle_bones_aura

* instance_karazhan aura:spell_karazhan_overload_aura

* instance_karazhan spell:spell_karazhan_blink
2024-06-26 22:26:19 +02:00
Jelle Meeus
b42ca49329 fix(Karazhan/Nightbane): Rain of Bones cast on one random player/pet, summon Skeletons at that location (#18892)
* replace skeletonspawn scheduler with spellscript

* Revert "replace skeletonspawn scheduler with spellscript"

This reverts commit 974bcb805be57c3175d63d91afe656c0bc327a9e.

* random target and remember position

* target position instead of player

* make pets valid targets for rain of bones

* change 100 to 100.0f
2024-05-13 20:39:17 +01:00
Jelle Meeus
d709080029 fix(Karazhan/Nightbane): no longer killable during flight (#18890)
add unkillable during flight phase

_flying: takeoff/landing, moving to location
Phase 2: in the air and casting air spells
2024-05-12 21:06:42 +02:00
天鹿
81280cd560 refactor(Scripts/Karazhan): 'uint' It can never be less than 0 (#18726)
Update boss_chess_event.cpp
2024-04-27 06:17:38 -03:00
Anton Popovichenko
fd029f81aa fix(Scripts/Karazhan): Fix crash in chess event. (#18695)
Fix crash in chess event
2024-04-10 16:21:53 -03:00
Benjamin Jackson
a9b3f01579 fix(Scripts/Karazhan): Correct chess piece gossip faction check. (#18513)
Correct chess piece gossip faction check.

Co-authored-by: 天鹿 <18535853+pklloveyou@users.noreply.github.com>
2024-03-09 18:46:19 -03:00
Alethrion
ab2f527248 fix(Scripts/Karazhan): Chess Event Cross Faction (#18478)
Chess_Event_Cross_Faction
2024-03-09 09:31:30 -03:00
Andrew
6df652a8dd fix(Core/Creature): Prevent combat movement disabled creatures from r… (#18428)
* fix(Core/Creature): Prevent combat movement disabled creatures from repositioning if target moves within model boundary

* fixbuild

* Apply suggestions from code review
2024-02-27 10:11:39 -03:00
Alethrion
e5a130d67f fix(Scripts/Karazhan): Add cleave and threat resets to Nightbane (#18133)
* Threat_Reset_Cleave

* Minor_Fix

* Fix_Threat_Timing

* Fix_Cleave_Targeting
2024-01-14 11:09:50 -03:00
Amnney
af03611faf fix(Scripts/Karazhan): fixing the Aran drink routine and reset behavior (#17849)
* fix(Scripts/Karazhan) Fixed drinking behavior

* fix(Scripts/Karazhan) Cleanup comments

* fix(Scripts/Karazhan) Cleanup whitespace
2023-12-10 12:48:43 -03:00
Winfidonarleyan
eb1ecc38a5 feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
Winfidonarleyan
e90d7a2f92 chore(Core/Misc): sort includes (#17776)
* chore(Cleanup): sort includes

* fix build

* fix build again
2023-11-18 17:51:26 +01:00
Andrew
81bd9b7ba4 fix(Scripts/Karazhan): Fix chess and optional boss not saving players (#17729) 2023-11-16 19:01:03 +01:00
Andrew
0d8b1d4942 refactor(Scripts/Karazhan): Move Malchezaar door handling to the inst… (#17730) 2023-11-16 14:00:19 -03:00
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
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
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
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
avarishd
62ef0db09f fix(Scripts/Karazhan): Side Enterance Door check (#17493) 2023-10-12 11:19:21 -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
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