Commit Graph

453 Commits

Author SHA1 Message Date
Andrew
82db30868b fix(Scripts/BlackTemple): Fatal Attraction (#19641)
* Fix it not being cast if no valid targets are available
* Apply Patch 2.2 nerfs
2024-08-19 23:17:17 -03:00
Carriola-wotlk
01c8344cc8 fix(Scripts/BlackTemple): Gathios the Shatterer shouldnt use Hammer of Justice on random players (#19653)
* fix: SelectTargetMethod Random replaced with MaxThreat

* restore like origin

* fix: cast Hammer Of Justice on current target instead random target

* refactor: case EVENT_SPELL_HAMMER_OF_JUSTICE statement refactored

* refactor: if statement splitted

* refactor: last space removed

* Update src/server/scripts/Outland/BlackTemple/illidari_council.cpp

Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>

* fix redundant check and new line

---------

Co-authored-by: MattiaBallarini <ballarini.mattia1990@gmail.com>
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
2024-08-18 21:06:45 -03:00
Andrew
167e06e287 fix(Scripts/BlackTemple): Gathios Judgment spell should consume seals (#19640) 2024-08-18 05:57:32 -03:00
Gultask
41366fcc69 fix(Scripts/ShadowmoonValley): Dragonmaw Races Reset (#19570)
* Update zone_shadowmoon_valley.cpp

* Update zone_shadowmoon_valley.cpp
2024-08-07 12:43:24 -03:00
Gultask
09e77dfd1c fix(Scripts/BlackTemple): Mother Shahraz Periodic part 2 (#19561)
* init

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp

* Update boss_mother_shahraz.cpp
2024-08-06 11:53:19 -03:00
Andrew
f70e69cacf fix(Scripts/BlackTemple): Mother Shahraz should not use frenzy (#19543) 2024-08-02 16:19:16 -03:00
Gultask
203087f5e7 chore(Scripts/BlackTemple): Move Gurtogg Bloodboil to TaskScheduler (#19532)
* Update boss_bloodboil.cpp

* Update boss_bloodboil.cpp
2024-07-30 18:28:25 -03:00
Gultask
97ee20a7aa fix(Scripts/BlackTemple): Reliquary of Souls move to TaskScheduler and Spirit Shock timer (#19523) 2024-07-30 17:33:10 -03:00
Gultask
fccfe51594 fix(Scripts/BlackTemple): Mother Shahraz Periodic Beams (#19525)
* init

* Update boss_mother_shahraz.cpp
2024-07-29 23:49:58 -03:00
Gultask
506f95e6e5 fix(Scripts/BlackTemple): Mother Shahraz Taunt Immunity and Enrage cancelling (#19521)
* init

* Update rev_1722290115671857500.sql
2024-07-29 19:04:59 -03:00
Tereneckla
e44e8fe109 fix (Core/Movement) Allow MoveFollow to not inherit walkstate of the target to fix Enchanted Elemental speed (#19498)
* MoveFollow with own walkstate

* switch
2024-07-29 08:30:42 -03:00
Gultask
e34ce755c8 fix(Scripts/ShadowmoonValley): Rewrite Dragonmaw Races (#19084)
* init

* fly :)

* finally

* melee attack :/

* Update zone_shadowmoon_valley.cpp

Co-Authored-By: Dan <83884799+elthehablo@users.noreply.github.com>

* Update zone_shadowmoon_valley.cpp

* Update zone_shadowmoon_valley.cpp

* Update zone_shadowmoon_valley.cpp

---------

Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>
2024-07-27 07:32:17 -03:00
Gultask
917c34cf52 fix(Scripts/BlackTemple): Move Supremus to TaskScheduler and tweak a bit (#19418)
* Update boss_supremus.cpp

* Update boss_supremus.cpp

* Update boss_supremus.cpp

* ble

* egh

* ye

* ermps

* ok done

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp
2024-07-26 21:48:33 -03:00
Tereneckla
f3c561032e fix (script/SSC) Enchanted Elementals follow Vashj (#19477)
* elementals follow vashj

* ) :)
2024-07-26 21:47:46 -03:00
Francesco Borzì
393d9a5987 refactor(Scripts/Outland): remove unused imports (#19461) 2024-07-21 19:15:20 -03:00
Gultask
5081b0affd fix(Scripts/BlackTemple): Vengeful Spirit, Shadow of Death Remove (#19432)
* init

* shadowremove

* Update boss_teron_gorefiend.cpp
2024-07-19 12:34:14 +02:00
Gultask
f07da20a42 fix(Scripts/BlackTemple): Ashtongue Defenders unable to attack Akama (#19435)
Update boss_shade_of_akama.cpp
2024-07-19 12:30:38 +02:00
Jelle Meeus
e8af1aaffc fix(Scripts/Spells): warlock seed of corruption (#19322)
* remove seed of corruption handling in unit.cpp

* add generic and warlock aurascript

add warlock  aurascript

add enum

add generic aurascript

add OnRemove

2ff855054f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)

detonation threshold scaling added in: df5afca278

Co-authored-by: ariel- <ariel-@users.noreply.github.com>

* add LoS check to generic damage

* refactor 2 scripts to 1 with args

refactor const_cast to GetAura()->GetEffect(

refactor reduce a line

* fix detonation threshold scaling

changed SPELL_DIRECT_DAMAGE to DOT

* remove not needed IsExpired() check

removal upon expiration is notified by AURA_REMOVE_BY_EXPIRE

* update comment

* refactor script with args to single spellscript, fix detonate by evade

* refactor

detonation to Detonate()
rename amount to remainingDamage
remove no tneeded HealthBelowPctDamaged

* refactor to 2 spell scripts again

* rename detonation spell from seed_of_corruption to seed_of_corruption_damage

avoids confusion with seed of corruption (with dot effect)

---------

Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2024-07-17 01:50:38 +02:00
Gultask
8eb7b24670 fix(Scripts/Netherstorm): Rewrite Phase Hunter AI (#19401)
* Update zone_netherstorm.cpp

* Update zone_netherstorm.cpp

* db
2024-07-14 12:27:32 -03:00
avarishd
c3d98054dd fix(Core/Spells): BT - Summon Shadowfiens should spawn 11, instead of 1 (#19391)
* fix(Core/Spells): BT - Summon Shadowfiens should spawn 10, instead of 1

* Revert "fix(Core/Spells): BT - Summon Shadowfiens should spawn 10, instead of 1"

This reverts commit e5040484b6bf1bce9343b5d2fae0b24057eeaf7f.

* 39649

* spellscript

* should summon 11

* Validate
2024-07-14 12:22:24 -03:00
avarishd
f109768665 fix(Scripts/TK): KT Mindcontrol should respect Line of Sight (#19398) 2024-07-14 05:41:10 -03:00
Andrew
6b50570247 refactor(Scripts/BlackTemple): Update Mother Sharahz script (#19378)
* refactor(Scripts/BlackTemple): Update Mother Sharahz script

* Update boss_mother_shahraz.cpp
2024-07-09 18:56:13 -03:00
Gultask
02104ca89b fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite (#19353)
Update boss_shirrak_the_dead_watcher.cpp
2024-07-09 13:05:09 -03:00
sudlud
37e3d89f91 fix(CI): linux-build: add -Werror parameter (#19240)
* fix(CI): linux-build: add -Werror parameter

* add KI

tzunu

* Revert "feat(CI): enable fail-fast for pch/nopch (#19058)"

This reverts commit 564cbca7d3.

* Update midsummer.cpp - drop unused variable

* initialize variable

* Update core-build-nopch.yml - drop gcc12

* fix(Core/CalendarMgr): do not use element after delete, but before

* attempt to fix Socket.h error

* Revert "attempt to fix Socket.h error"

This reverts commit c1a59145ed3c49d0f76be2f81925434ea969db97.

* fix Socket.h error - attempt 2

* Update Socket.h

* Update Socket.h

* npc_shattrath_daily_quest: init variable templateID

* fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()

* boss_archimonde: drop unused variable

* Revert "fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()"

This reverts commit 1f71aaef256990c5cdc16561676be302c954ea9d.

* SmartScripts: SMART_TARGET_RANDOM_POINT: fix unintended fallthrough

* Revert "Revert "feat(CI): enable fail-fast for pch/nopch (#19058)""

This reverts commit d13df293624e0f50d9374272bfd05ab56242511d.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-07-07 22:00:24 +02:00
Gultask
76b6da1b3f fix(Scripts/BlackTemple): Move Teron Gorefiend to scheduler and add Berserk (#19288)
Update boss_teron_gorefiend.cpp
2024-07-05 21:16:41 -03:00
avarishd
7cf25c94ab fix(Scripts/Shattrath): Daily Dungeon quests holograms (#19233)
* fix(Scripts/Shattrath): Daily Dungeon quests holographs

* Move to single script + doaction SAI

* ocd

* use NEAR_PLAYER

* use only Wind Trader as SAI

* use creature_guid target

* rename action

* cleanup

* zzz

* Update zone_shattrath_city.cpp
2024-07-04 15:50:11 -03:00
avarishd
f84a4f1408 fix(Scripts/TK): Kael'thas mind control should reset threat (#19264)
* fix(Scripts/TK): Kael'thas mind control should reset threat

* lol

* -2 lines

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-07-04 13:50:45 -03:00
Benjamin Jackson
e41080468f fix(Scripts/TheEye): Kael'thas adjustments. (#19213)
* Init.

* Update advisor phase timer.
2024-07-04 09:26:23 -03:00
Kitzunu
5a4692e45a chore(Core/Misc): #include cleanup (#19255) 2024-07-02 15:52:02 +02:00
avarishd
7ae10d8ba6 fix(DB/Area): Horvon the Armorer & Greatfather Aldrimus phasing (#19138) 2024-06-29 00:24:50 -03:00
Benjamin Jackson
c28a0973a2 fix(Scripts/SlavePens): Adjust Ahune spell casts. (#19202)
* Bad boss 0/10.

* Unneeded comment.

Damage already exists, though might need scripting or something to adjust its damage output.
2024-06-27 21:26:55 +02:00
Benjamin Jackson
5740fda8ad fix(Scripts/SlavePens): Remove permanent knockback aura on ice spear bunny. (#19152)
Init.
2024-06-26 22:26:58 +02:00
Jelle Meeus
7a77a3e4f9 refactor(Scripts/Outland): spell scripts use registry macros (#19132)
* zone_terokkar_forest pair:spell_q10930_big_bone_worm

* zone_terokkar_forest spell:spell_q10036_torgos

* zone_terokkar_forest spell:spell_q10923_evil_draws_near_summon

* zone_terokkar_forest aura:spell_q10923_evil_draws_near_periodic_aura

* zone_terokkar_forest spell:spell_q10923_evil_draws_near_visual

* zone_terokkar_forest spell:spell_q10898_skywing

* zone_hellfire_peninsula spell:spell_q10935_the_exorcism_of_colonel_jules

* boss_doomlord_kazzak aura:spell_mark_of_kazzak_aura

* zone_blades_edge_mountains aura:spell_npc22275_crystal_prison_aura

* zone_blades_edge_mountains spell:spell_oscillating_field

* zone_shadowmoon_valley spell:spell_q10612_10613_the_fel_and_the_furious

* zone_shadowmoon_valley aura:spell_q10563_q10596_to_legion_hold_aura

* fixup! zone_hellfire_peninsula spell:spell_q10935_the_exorcism_of_colonel_jules

fixup! zone_hellfire_peninsula spell:spell_q10935_the_exorcism_of_colonel_jules

* fixup! zone_blades_edge_mountains aura:spell_npc22275_crystal_prison_aura

* fixup! zone_shadowmoon_valley spell:spell_q10612_10613_the_fel_and_the_furious

* fixup! zone_blades_edge_mountains spell:spell_oscillating_field

* zone_terokkar_forest pair:spell_q10929_fumping
2024-06-25 21:37:51 +02:00
Jelle Meeus
9f348fc96d refactor(Scripts/BlackTemple): Spell Scripts use registry macros (#19122) 2024-06-22 05:20:06 -03:00
Jelle Meeus
f65283c35a refactor(Scripts/TempestKeep): Spell Scripts use registry macros (#19123)
* init sql

* instance_the_eye aura:spell_the_eye_countercharge_aura

* instance_the_botanica aura:spell_botanica_call_of_the_falcon_aura

* instance_the_botanica aura:spell_botanica_shift_form_aura

* arcatraz aura:spell_arcatraz_soul_steal_aura
2024-06-22 05:19:43 -03:00
天鹿
e69f642dfe fix(Core/Ahune): Chest and Quest (#19106)
* Add files via upload

* Update boss_ahune.cpp

* Update boss_ahune.cpp

* Update boss_ahune.cpp
2024-06-20 22:40:23 -03:00
Benjamin Jackson
4b5468face fix(Scripts/SlavePens): Rewrite Ahune. (#19075)
* Add WPP SQL output.

* Uncomment all entries.

With one exception, one that does not exist in DB

* Sort all by template entry.

* Add reference names for templates.

* Distinguish summons from static spawns.

* Separate summons from static spawns in SQL parse.

* Add timestamps and spell casts for creatures.

* Init spawn query.

* Init script stuff.

* Init port work.

Co-Authored-By: Gustavo <sirikfoll@hotmail.com>

* Bad flag porting.

* Update stand states and unit flags properly.

* Adjust SQL.

* Add birth spell.

Properly shows the desired animation, to be verified through sniffs if he actually casts it.

* Update Frozen Core model data.

Collected from TC master branch. Will correct with proper data once sniff data becomes available.

* Elaborate rhyme aura text functions.

Co-Authored-By: sudlud <sudlud@users.noreply.github.com>

* Adjust for structure changes.

* Elaborate delete queries.

---------

Co-authored-by: Gustavo <sirikfoll@hotmail.com>
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2024-06-17 16:57:23 -03:00
Jelle Meeus
916a8ef618 fix(Scripts/BlackTemple): Akama shade missing says (#19076)
Co-authored-by: Keader <keader.android@gmail.com>
2024-06-17 21:42:45 +02:00
Andrew
4e385304c0 fix(Scripts/BlackTemple): Fix najentus enrage not reseting (#19074) 2024-06-16 10:32:04 +02:00
Andrew
e255a3ac3e fix(Scripts/BlackTemple): Fix Najentus not enraging after 8 min (#19066) 2024-06-15 14:01:06 -03:00
Andrew
78aaa136cc fix(Scripts/BlackTemple): Fix Free Friend spell (#19065) 2024-06-15 13:43:30 -03:00
Andrew
57d856cd9e fix(Scripts/SSC): Fix Serpentshrine Parasites not being summoned (#19041) 2024-06-10 23:07:03 +02:00
Dan
3b4639aa19 fix(Scripts/ShadowmoonValley): minor fixes to Enslaved Netherwing Drakes (#18883)
* init

* fixes
2024-05-17 08:06:25 +02:00
Balleny
31096df053 fix(Scripts/TheEye): correct first phoenix in p5 (#18802)
correct first phoenix in p5

should spawn 15 seconds before 2nd gravity lapse
2024-05-11 13:54:51 +01:00
Jelle Meeus
0dc822d21e fix(Scripts/Magtheridon): Clicking cubes should Banish Magtheridon (#18856)
* init

* rewrite without action

* fix: add Talk(SAY_BANISH)
2024-05-04 11:56:48 -03:00
Balleny
c4726b2d0b fix(Scripts/TheEye): Update Alar Dive Bomb timings (#18654)
Update Alar Dive Bomb timings
2024-04-23 18:54:45 +02:00
Balleny
f380e8f625 fix(Scripts/TheEye): Update Astromancer timings and add phase (#18655)
* Update Astromancer timings

* Reworked order and timings

* Whitespace removal

* Remove more whitespace

* Update boss_astromancer.cpp

* cleanup .schedule
2024-04-22 13:22:38 +02:00
Balleny
43792db685 fix(Scripts/TheEye): Update Kaelthas Phoenix timers (#18657)
Update Kaelthas Phoenix timers
2024-04-21 21:57:24 +02:00
Balleny
723596c673 fix(Scripts/TheEye): Kaelthas: Roar timer (#18677)
Roar timer
2024-04-10 19:37:01 +02:00
Dan
d52010f2fc fix(Scripts/TheEye): make Al'ar not get stuck during dive bomb when no enemies in melee range (#18693)
* initial

* Update boss_alar.cpp
2024-04-10 13:51:21 -03:00