Commit Graph
100 Commits
Author SHA1 Message Date
Skjalf 6177ce4688 feat(Core/Scripting): Create OnStoreNewItem() hook (#13725) 2022-11-07 00:26:47 -03:00
Skjalf bb9e80ded1 fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from … (#13706)
* fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from the extra attack range check

* fix  logic
2022-11-05 15:04:02 -03:00
Skjalf 8b7fb759c2 feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the … (#13707)
feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the spell data
2022-11-05 12:39:58 -03:00
Skjalfandariel- 5dadd5e366 fix(DB/Creature): Remove wrong MECHANIC_SLOW_ATTACK immunity from cre… (#13700)
fix(DB/Creature): Remove wrong MECHANIC_SLOW_ATTACK immunity from creatures

Co-authored-by: ariel- <[email protected]>
2022-11-04 22:48:56 -03:00
Skjalf e5ff59ec17 fix(Core/Unit): Check if the unit is within melee range before proces… (#13697)
fix(Core/Unit): Check if the unit is within melee range before processing extra attack procs
2022-11-04 19:27:02 -03:00
Skjalf 5c88f9269e fix(Scripts/TempleOfAhnQiraj): Don't store object references in scripts (#13694) 2022-11-04 19:24:57 -03:00
Skjalf 6cb85d2ff4 fix(Scripts/TempleOfAhnQiraj): Fix crash caused by permanently spawni… (#13698)
fix(Scripts/TempleOfAhnQiraj): Fix crash caused by permanently spawning a tentacle
2022-11-04 19:17:50 -03:00
Skjalf fc914f03f1 fix(Scripts/TempleOfAhnQiraj): Fix Ouro not using abilities if there's only one player and he's out of his melee range (#13692)
fix(Scripts/TempleOfAhnQiraj): Fix Ouro not using abilities if
2022-11-04 17:55:06 -03:00
Skjalf e64138314c fix(Core/Scripting): Also call the OnLootItem() hook on master looted… (#13683)
fix(Core/Scripting): Also call the OnLootItem() hook on master looted items
2022-11-03 21:49:12 -03:00
Skjalf d9ab07d5d2 fix(Scripts/TempleOfAhnQiraj): Improve Veklor pathing (#13682) 2022-11-03 19:18:37 -03:00
Skjalf ef8d7f4ed9 feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts (#13658)
* feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts

* fix build

* Update ScriptMgr.h
2022-11-02 22:34:52 -03:00
Skjalf ab3548e2e4 feat(Core/Scripting): Expand ModifyHealReceived() to also include hea… (#13655)
feat(Core/Scripting): Expand ModifyHealReceived() to also include healing over time
2022-11-02 19:19:17 -03:00
Skjalf 200a4b6af4 fix(Scripts/Commands): Fix group list command output (#13614) 2022-11-01 00:20:20 -03:00
Skjalf df3e3b169a fix(Scripts/TempleOfAhnQiraj): Fix Sartura not enraging if stunned (#13615) 2022-10-30 16:25:43 -03:00
Skjalf 0b745022a4 fix(Scripts/TempleOfAhnQiraj): Ouro Sand Blast should hit top threat … (#13578)
* fix(Scripts/TempleOfAhnQiraj): Ouro Sand Blast should hit top threat target

* ouro should only target players in melee range

* fix ouro resetting

* Update boss_ouro.cpp
2022-10-28 22:01:47 -03:00
Skjalf bfa68b0839 fix(Scripts/TempleOfAhnQiraj): Don't let Giant Claw Tentacles autoatt… (#13550)
* fix(Scripts/TempleOfAhnQiraj): Don't let Giant Claw Tentacles autoattack while submerged and reorder digestive acid cast

* delay small claw tentacles autoattack by 2s

* Revert "delay small claw tentacles autoattack by 2s"

This reverts commit 08b9c7d625.

* change the delay
2022-10-26 17:17:46 -03:00
Skjalf 07d030a8e2 fix(Scripts/TempleOfAhnQiraj): Huhuran's Wyvern Sting should hit the … (#13468)
* fix(Scripts/TempleOfAhnQiraj): Huhuran's Wyvern Sting should hit the closest targets

* Update boss_huhuran.cpp
2022-10-25 23:41:07 -03:00
Skjalf be133a1d77 fix(Scripts/TempleOfAhnQiraj): Fix Veklor hitbox (#13543)
* fix(Scripts/TempleOfAhnQiraj): Fix Veklor hitbox

* Update boss_twinemperors.cpp
2022-10-25 09:54:13 -03:00
Skjalf 77044670ea fix(DB/Movement): Root the Eye of C'thun (#13528) 2022-10-25 09:35:00 -03:00
Skjalf 192bf4736b feat(Scripts/Commands): Implement character changeaccount command (#13532)
* feat(Scripts/Commands): Implement character changeaccount command

* strings and stuff

* clear unused
2022-10-24 22:43:46 -03:00
Skjalf e55d7cb951 fix(Core/ObjectAcessor): Fix crash caused by forced character renames (#13527) 2022-10-24 12:24:23 -03:00
Skjalf b35c907cde fix(Scripts/TempleOfAhnQiraj): Fix Cthun 3-beam focus mechanic resett… (#13479)
fix(Scripts/TempleOfAhnQiraj): Fix Cthun 3-beam focus mechanic resetting after Dark Glare
2022-10-22 07:34:38 -03:00
Skjalf da0aa78836 fix(DB/SAI): Script Colossus of Zora, Ashi and Regal (AQ War Event npcs) (#13461) 2022-10-20 23:39:38 -03:00
Skjalf 6263a0a8a5 fix(Scripts/TempleOfAhnQiraj): Fix double spawns during Cthun phase 2 and several other fixes (#13413)
* fix(Scripts/TempleOfAhnQiraj): Fix double spawns during Cthun phase 2

* Update boss_cthun.cpp

* dont teleport if you move away from the teleport pad

* clear events

* prevent portals from chasing pets

* fix the jump tele timer

* update eye combat reach

* delay the transition slightly

* Update boss_cthun.cpp

* Update boss_cthun.cpp

* make exit trigger cast rubble rocky

* Update boss_cthun.cpp

* fix tentacle animations

* Update rev_1665784753998414100.sql

* eye tentacle animations

* only spit out if alive

* Update rev_1665784753998414100.sql

* Update rev_1665784753998414100.sql
2022-10-15 11:14:57 -04:00
Skjalf 7eb096ae0b fix(Core/Creature): Fix LinkedRespawn not working with id2, etc. (#13367) 2022-10-12 14:03:56 -03:00
Skjalf 0cb13b1242 fix(Scripts/TempleOfAhnQiraj): Fix Twin Emperor's critters aggroing p… (#13365)
…layers randomly
2022-10-12 14:03:39 -03:00
Skjalf 436d7afdaf fix(Scripts/TempleOfAnhQiraj): Fix Digestive Acid not stacking (#13361) 2022-10-11 14:42:59 -03:00
Skjalf f5c7883d41 fix(Scripts/TempleOfAhnQiraj): Correct Dark Glare's radius (#13350) 2022-10-08 21:51:59 -03:00
Skjalf 811ef478f8 fix(Scripts/TempleOfAhnQiraj): Despawn Eye of Cthun once encounter is… (#13336)
...done
2022-10-08 13:24:40 -03:00
Skjalf 26017b645e fix(Scripts/TempleOfAhnQiraj): C'thun (#13153) 2022-10-05 22:17:45 -03:00
Skjalf 2e92d1e993 chore(DB/Quests): Correct wrong mark quest being added in 8fc055e44ec… (#13118)
* chore(DB/Quests): Correct wrong mark quest being added in 8fc055e44e

* Update rev_1664025994910185400.sql
2022-09-25 10:12:58 -03:00
Skjalf 14f0eb1ba6 fix(DB/Creature): Set Battered Brewer's gossip (#13123) 2022-09-24 15:27:16 -03:00
Skjalf 65924ca3fe fix(Scripts/RuinsOfAhnQiraj): Fix Ayamiss not landing if someone take… (#13048)
...s aggro.
2022-09-18 21:44:00 -03:00
Skjalf 9c4a9178f3 chore(Core/Player): Small optimization in the IsInWhisperWhiteList() … (#13026)
...function.
2022-09-17 16:54:16 -03:00
Skjalf 2682697df6 fix(Scripts/TempleOfAhnQiraj): C'thun rewrite (#12993) 2022-09-17 16:51:45 -03:00
Skjalf 2032cb696b fix(DB/Quests): One Commendation of Undercity quest (war effort) (#13022) 2022-09-13 22:34:44 -03:00
Skjalf ede3c95faf fix(DB/Quests): Repeatable flags for The Horde Needs More Mithril & T… (#12968)
fix(DB/Quests): Repeatable flags for The Horde Needs More Mithril & Tin bars
2022-09-06 10:14:22 -03:00
Skjalf 9e7aae74ac fix(Scripts/Spells): Fix Itch (26078) not applying Vekniss Catalyst (#12930) 2022-09-03 04:01:39 -03:00
Skjalf 9db4209d18 fix(DB/SAI): Fix Andorgos teleports in AQ40 (#12939)
* fix(DB/SAI): Fix Andorgos teleports in AQ40

* Update rev_1662141436327143600.sql

* Update rev_1662141436327143600.sql
2022-09-02 17:48:00 -03:00
Skjalf 4790717117 chore(DB/Commands): Add missing command to the database (#12924) 2022-09-02 09:29:25 -03:00
Skjalf 6ba468e119 fix(DB/SAI): Script Maw's pathing (#12904) 2022-08-30 15:23:47 -03:00
Skjalf 84c7db5ab6 fix(DB/Quest): Import several missing texts and creature links for th… (#12890)
* fix(DB/Quest): Import several missing texts and creature links for the War Effort quests

* Include the commendation quests as well

* Update rev_1661569695988798600.sql
2022-08-29 07:54:58 -03:00
Skjalf 2de08a8719 fix(Scripts/RuinsOfAhnQiraj): Restructure Ayamiss task scheduling during landing (#12870)
* fix(Scripts/RuinsOfAhnQiraj): Restructure Ayamiss

* Update boss_ayamiss.cpp
2022-08-27 20:01:48 -03:00
Skjalf e01ec7533e fix(Scripts/TempleOfAhnQiraj): Princess Huhuran's Poison Bolts should… (#12861)
fix(Scripts/TempleOfAhnQiraj): Princess Huhuran's Poison Bolts should hit the closest targets
2022-08-27 09:46:06 -03:00
Skjalf ba3640255b fix(Scripts/RuinsOfAhnQiraj): Implement bonus reputation gains if you… (#12856)
* fix(Scripts/RuinsOfAhnQiraj): Implement bonus reputation gains if you keep Andorov + Keldorei Elites alive during the General Rajaxx encounter

* Update boss_rajaxx.cpp

* Update boss_rajaxx.cpp

* Update boss_rajaxx.cpp
2022-08-26 20:11:39 -03:00
Skjalf 2ed6848d6a fix(Scripts/RuinsOfAhnQiraj): Increase Andorov's bash intervals and r… (#12853) 2022-08-26 08:13:20 -03:00
SkjalfandShauren 760d5e071f feat(Core/DBUpdater): Apply each sql update file in a separate transa… (#12842)
cherry-pick: https://github.com/TrinityCore/TrinityCore/commit/b79a91039bba12d62e43806d8a20ad76107ac5d7

Co-authored-by: Shauren <[email protected]>
2022-08-26 08:06:35 -03:00
Skjalf eced31f47f fix(DB/Creature): Ayamiss larva should be knockback immune (#12847) 2022-08-25 16:08:07 -03:00
Skjalf b1f53e19b0 fix(Scripts/RuinsOfAhnQiraj): Anubisath Defender's shadow storm shoul… (#12844)
fix(Scripts/RuinsOfAhnQiraj): Anubisath Defender's shadow storm should not hit enemies within 25 yards
2022-08-24 23:36:04 -03:00
Skjalf 5fca6acd88 fix(Scripts/RuinsOfAhnQiraj): Fix Ossirian's starting crystal and san… (#12839) 2022-08-24 22:56:36 -03:00
SkjalfandGultask 517a3f9c57 fix(DB/Creature): Fix AQ20 respawn timers (#12840)
Co-Authored-By: Gultask <[email protected]>

Co-authored-by: Gultask <[email protected]>
2022-08-24 22:43:38 -03:00
Skjalf ca9c19ffd4 feat(Core/GameObject): Add an overload to SummonGameObject() to accep… (#12821)
feat(Core/GameObject): Add an overload to SummonGameObject() to accept positions
2022-08-21 19:48:34 -03:00
Skjalf a98e475f82 fix(Scripts/RuinsOfAhnQiraj): Lower player damage req when Buru is da… (#12820) 2022-08-21 17:59:33 -03:00
Skjalf ba6fc095da fix(Scripts/RuinsOfAhnQiraj): Enable Ayamiss gravity when landing (#12819)
fix(Scripts/RuinsOfAhnQiraj): Disable Ayamiss gravity when landing
2022-08-21 17:30:40 -03:00
Skjalf 2a297dfe29 fix(DB/Loot): Correct Tactical/Logistical assignment loots (#12760) 2022-08-16 15:53:37 -03:00
Skjalf 3cfdc7e678 fix(Core/Loot): Unique items shouldn't be hidden indiscriminately (#12759) 2022-08-16 15:52:01 -03:00
SkjalfandGultask 4fa0d6b0cc fix(Scripts/RuinsOfAhnQiraj): Rework Ayamiss (#12738)
* fix(Scripts/RuinsOfAhnQiraj): Rework Ayamiss

- Use serverside spells to handle the Hive'Zara Swarmers
- Adjust pathing and timers
- Rewrite its script to TaskScheduler

Co-Authored-By: Gultask <[email protected]>

* fix swarmers not being summoned if the boss is casting & movement


* Update landing path for swarmers

* fix: Update the looping script

* correct trash ability

* fix ayamiss landing

Co-authored-by: Gultask <[email protected]>
2022-08-15 06:10:55 -03:00
Skjalf 523d4fbb08 fix(Scripts/World): Emerald Dragon's Dream Fog should chase switch ta… (#12728)
…rgets once reaching their chase target
2022-08-15 04:03:36 -03:00
Skjalf 4952e6032f fix(Scripts/Misc): Lower Artorius damage treshold when he damages him… (#12695)
* fix(Scripts/Misc): Lower Artorius damage treshold when he damages himself & his dot shouldn't be affected by his enrage

* Update SpellInfoCorrections.cpp
2022-08-13 22:24:58 -03:00
Skjalf a8c4a16a00 chore(Scripts/BlackwingLair): Another temporary solution to Chromaggu… (#12664)
chore(Scripts/BlackwingLair): Another temporary solution to Chromaggus being pulled through the floor
2022-08-12 15:23:07 -03:00
SkjalfandKillyana f4adbebcc1 fix(DB/Quest): fix Silithus Armament of War class condition (#12698)
Co-authored-by: Killyana <[email protected]>
2022-08-11 13:20:01 -03:00
Skjalf 32c68abf26 fix(Scripts/RuinsOfAhnQiraj): Use proper spells to spawn Ayamiss larv… (#12665)
* fix(Scripts/RuinsOfAhnQiraj): Use proper spells to spawn Ayamiss larvaes and correct landing behavior

* fix ayamiss landing and evade

* larvae spells

* Update boss_ayamiss.cpp

* Update boss_ayamiss.cpp

* fix: spawn wasps up in the air

* ctm
2022-08-09 17:26:27 -03:00
Skjalf e476533e6e chore(Core/GameObject): Clear an error that often doesn't mean anything (#12689)
* chore(Core/GameObject): Clear an error that often doesn't mean anything

* drop it to debug
2022-08-09 12:57:49 -03:00
Skjalf c1257b3628 fix(Scripts/Zul'Gurub): Prevent multiple spawns of Gazhranka (#12663) 2022-08-08 14:12:02 -03:00
Skjalf 440865e365 fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves gear check (#12552)
* fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves gear check

* Cancel timer on wipe

* Update rev_1658867303864464100.sql

* Update instance_ruins_of_ahnqiraj.cpp

* set it to 2 mins
2022-08-06 15:23:00 -03:00
Skjalf 351ef2b77f fix(Scripts/RuinsOfAhnQiraj): Despawn Ayamiss summons on death/reset (#12550) 2022-07-31 12:31:32 -03:00
Skjalf 18b7b6c273 fix(Scripts/RuinsOfAhnQiraj): Limit Moan's mana drain to 6 targets (#12551)
* fix(Scripts/RuinsOfAhnQiraj): Limit Moan's mana drain to 6 targets

* fix copy paste failure
2022-07-28 01:03:45 -03:00
Skjalf d0561c56df fix(Scripts/TempleOfAhnQiraj): Clear Eye of C'thun scheduler during p… (#12545)
fix(Scripts/TempleOfAhnQiraj): Clear Eye of C'thun scheduler during phase 2
2022-07-26 14:29:17 -03:00
Skjalf fdb18e0204 fix(Scripts/RuinsOfAhnQiraj): Rewrite Moam (#12539)
* fix(Scripts/RuinsOfAhnQiraj): Rewrite Moam

* serverside spell for summons, as well as summon phase handling

* end stone phase if he reaches full mana

* add missing emote

* remove unused variable

* move script to the new model

* Update boss_moam.cpp

* should not drain mana while stoned
2022-07-26 01:25:29 -03:00
Skjalf a498584adf fix(Scripts/RuinsOfAhnQiraj): Script Anubisath Guardians (#12537) 2022-07-25 20:55:44 -03:00
Skjalf 2a7b5685e9 fix(Scripts/RuinsOfAhnQiraj): Moam should spawn a Large Obsidian Chun… (#12536) 2022-07-25 15:27:03 -03:00
Skjalf 5b14267159 fix(Scripts/Spells): Script spell Itch (AQ20) and improve Consume (AQ20) (#12502) 2022-07-25 12:13:06 -03:00
Skjalf 1cec5d2534 refactor(Scripts/TempleOfAhnQiraj): Remove Giant Flesh Claw script as… (#12526)
refactor(Scripts/TempleOfAhnQiraj): Remove Giant Flesh Claw script as it is not needed
2022-07-25 12:12:43 -03:00
Skjalf e3c7b52253 feat(Core/Creature): Implement SetRegeneratingPower() to disable powe… (#12535)
feat(Core/Creature): Implement SetRegeneratingPower() to disable power gains
2022-07-25 12:12:27 -03:00
Skjalf cd3151df40 fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves (#12513) 2022-07-25 12:12:08 -03:00
Skjalf d42a74a9a5 fix(Scripts\TempleOfAhnQiraj): C'thun should aggro as soon as you eit… (#12429) 2022-07-20 14:01:18 -03:00
Skjalf 5c3656a642 fix(Scripts\TempleOfAnhQiraj): Fix Huhuran`s Wyvern Sting dealing no … (#12445)
...damage when dispelled
2022-07-20 14:00:48 -03:00
Skjalf fba89eb359 fix(Scripts/TempleOfAhnQiraj): Correct Fankriss Mortal Wound spell ID (#12443) 2022-07-20 14:00:31 -03:00
Skjalf 565e39ac55 fix(Scripts\Spells): Consume (AQ) (#12448) 2022-07-20 13:49:39 -03:00
Skjalf 43d5876dd6 fix(Scripts\TempleOfAhnQiraj): Fix Skeram images not spawning if he's… (#12428) 2022-07-20 10:51:21 -03:00
Skjalf 9920e01b2b feat(Core/Scripting): Add several UnitHooks (#12365) 2022-07-11 14:57:38 -03:00
Skjalf 6b2361312c fix(Scripts/ZulGurub): fix Thekal not dying in phase 2 (#12353) 2022-07-10 18:08:48 -03:00
Skjalf 32ba21d029 feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook (#12316)
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook

* reverse logic
2022-07-09 00:10:04 -03:00
Skjalf 16f2983307 fix(Scripts/ZulGurub): Thekal improvements (#12238)
* fix(Scripts/ZulGurub): Thekal improvements

* Update boss_thekal.cpp
2022-07-02 13:37:56 -03:00
Skjalf 46789d5df6 fix(Scripts/BlackwingLair): Correct Bone Constructs abilities (#12180) 2022-06-26 04:45:15 -03:00
Skjalf 38889324b2 fix(Scripts/BlackwingLair): Nefarian class calls should not repeat (#12148) 2022-06-23 09:49:08 -03:00
Skjalf ed7622b028 feat(Core/Formations): Implement GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON… (#12128) 2022-06-21 07:07:41 -03:00
Skjalf c6ff6005be fix(Scripts/UtgardePinnacle): Svala Sorrowgrave's sacrifice should o… (#12069) 2022-06-20 09:46:05 -03:00
Skjalf 06a879da7e fix(Scripts/TempleofAhnQiraj): improve C'thun's script a bit and repl… (#12067)
fix(Scripts/TempleofAhnQiraj): improve C'thun's script a bit and replace eye tentacle spawns with sniffed values
2022-06-18 08:42:01 -04:00
Skjalf 987d49f9ba fix(Scripts/TempleOfAhnQiraj): Rewrite C'thun tentacles (#12047) 2022-06-14 09:24:14 -03:00
Skjalf b273da1a59 fix(Scripts/World): Fix Emeriss putrid mushrooms not doing anything (#12035)
* fix(Scripts/World): Fix Emeriss putrid mushrooms not doing anything

* Update rev_1655056541364669100.sql
2022-06-13 06:36:26 -03:00
Skjalf 5c7e7afade fix(Scripts/ZulGurub): Rewrite High Priest Thekal (#11784) 2022-06-06 09:35:48 -03:00
Skjalf 822aff29e6 fix(Scripts/World): fix nullptr crash (#11770) 2022-05-15 18:28:40 +02:00
Skjalf b658ba582e feat(Core/Map): Allow disabling the blizzlike PvP line of sight checks (#11692) 2022-05-11 13:06:56 -03:00
Skjalf e7531fa2a9 fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be ski… (#11596)
* fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be skippable

* Update instance_temple_of_ahnqiraj.cpp
2022-05-03 07:26:42 -03:00
SkjalfandKitzunu 12a0c6f1bc fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing playe… (#11595)
* fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing players in the floor underneath

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <[email protected]>

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <[email protected]>

Co-authored-by: Kitzunu <[email protected]>
2022-05-03 07:18:45 -03:00
Skjalf 3c851c059a fix(Scripts/BlackwingLair): Prevent Chromaggus cage from looking (#11603) 2022-05-03 07:10:09 -03:00
Skjalf 0ffa270c94 fix(Scripts/TempleOfAhnQiraj): Correct Battleguard Sartura spell ids (#11597) 2022-05-02 07:55:55 -03:00
Skjalf 26c66e0d79 chore(Scripts/Spells): Remove a few aura types being passed as spells in the validator (#11576) 2022-04-29 20:17:03 -03:00
Skjalf 8c154e6ef7 chore(CI): Remove version check (#11572) 2022-04-29 11:41:16 -03:00