Commit Graph
6304 Commits
Author SHA1 Message Date
My name is Mud 043d1cf254 Scripts/Spells: Fix priest Shadow Mend damage (#27525) 2022-01-10 00:28:50 +01:00
Shaurenandaquadeus 0d3235f569 Core/Guilds: Separate guild rank id from guild rank order
Co-authored-by: aquadeus <[email protected]>
2022-01-09 23:12:00 +01:00
My name is Mud 861d572f9c Scripts/Spells: Fix shaman talent Spirit Wolf (#27478) 2022-01-09 19:06:48 +01:00
Shauren 6df3cb0995 Scripts/Spells: Corrected script registrations for shaman spells to match db2 data 2022-01-09 14:59:35 +01:00
Shauren b042919daf Scripts/Spells: Updated Windfury Weapon script 2022-01-09 14:42:55 +01:00
Shauren 60539d2e24 Scripts/Spells: Changed shaman Healing Stream Totem target selection to use Trinity::SelectRandomInjuredTargets 2022-01-09 13:44:43 +01:00
Shauren 4d3439b024 Scripts/Spells: Fixed shaman Healing Rain target limit 2022-01-09 13:43:45 +01:00
Shauren 30f232d5db Scripts/Spells: Fixed shaman Healing Rain not doing anything 2022-01-09 12:45:32 +01:00
My name is Mud 1410e018eb Scripts/Spells: Fix Warlock Drain Soul energize (#27512) 2022-01-07 22:17:12 +01:00
Carbenium 366a514462 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class
(cherry picked from commit 488b91ab8307e2d84cc010be488aad693dba34c8)
2022-01-07 00:25:36 +01:00
Carbenium 81a3c135a7 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.

(cherry picked from commit c40b897d369cf45696ca626fdf48bf51226a73a8)
2022-01-07 00:22:38 +01:00
Carbenium 49523a74a4 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.

(cherry picked from commit f7faf20254a120a90b8ee8eb55a284a6351aabc3)
2022-01-07 00:20:57 +01:00
Carbenium ca62d93481 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum

(cherry picked from commit 22c12e7123d76ea584ea8542be3feea57069e997)
2022-01-06 23:50:34 +01:00
ipriver bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
2022-01-06 23:40:39 +01:00
NoName 959e84e715 Script/ScarletEnclave: Eye of acherus now rooted at spawn (#24725)
(cherry picked from commit 51b221c8f8c77ca627ac175481758b1dbd30a22e)
2022-01-06 23:31:12 +01:00
ForesterDev 69cadae38a DB/Account: update account_access table cherry-pick take 2 (with refactors)
(cherry picked from commit 8e0365d8a6ca5628ad17e6684743d9ab2138c068)
2022-01-06 23:28:52 +01:00
Killyana 81d6cde257 Script: Remove npc_avatar_of_martyred converted to SAI
Ref https://github.com/TrinityCore/TrinityCore/commit/5924e038d648e2074191ffc322732e875d37c39c

(cherry picked from commit 75bc0f6771e6fe744123c1bb865469c585e1d31b)
2022-01-06 23:17:10 +01:00
jackpoz ebe183ea93 Scripts/VioletHold: Limit the number of current summons before the waves start
(cherry picked from commit 54e30d4ebae11e0c8da77af6104a3cc0a6a11365)
2022-01-06 23:15:59 +01:00
Killyana fa47977c4a Creature/Scripts: Remove deprecated scripts
Ref https://github.com/TrinityCore/TrinityCore/commit/bd609caf09bc29f0b20ffad52118a46a8d884d02

(cherry picked from commit 8b5549c0f1bad44babece99f2323d9f6f877994e)
2022-01-06 22:32:24 +01:00
Peter Keresztes Schmidt c4098897a8 game/AI: Convert SelectAggroTarget to enum class (#24818)
* game/AI: Convert SelectAggroTarget to enum class

* game/AI: Rename SelectAggroTarget to SelectTargetMethod

(cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06 21:53:27 +01:00
offl 5662d71708 DB/Instance: Convert some Uldaman scripts to DB
Closes #24744

(cherry picked from commit a117450ce9178c4afc769b3b747a24fbc6100912)
2022-01-06 21:36:29 +01:00
offl ca964a0b03 DB/Quest: Convert & update support for 'All Along the Watchtowers' to SAI
Closes #24732

(cherry picked from commit 8bccb258ba027c013ee4e6e5d59f184129d27d5c)
2022-01-06 21:32:12 +01:00
offl 5f94d0f4c8 DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAI
Closes #24730

(cherry picked from commit d70eb96c85ab6b117e785261932ca7c454a5fad2)
2022-01-06 21:31:43 +01:00
offl c088588701 DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAI
Closes #24728

(cherry picked from commit e47f302fc95d4e3f4d16b19950ce6172b549b166)
2022-01-06 21:30:28 +01:00
jackpoz 5886bf7484 Scripts/Commands: Add .debug objectcount <optional map id> chat command
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects

(cherry picked from commit cd37a17103b88a56ec1fde2156c4325b74989e08)
2022-01-06 20:49:28 +01:00
Keader d48909b5d6 Scripts/ShadowfangKeep: Fixed a crash in spellscript
(cherry picked from commit be48fbc32ac49673ce2415b76cb447a61585ed01)
2022-01-06 20:47:11 +01:00
Gildor 23fc9d6d63 Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)
(cherry picked from commit aeb41e67a92b7cd0c75683a269fb0ca75309e9a0)
2022-01-06 20:46:40 +01:00
ForesterDev 3171cd3fa9 Core/AI: refactor SpellHit and SpellHitTarget. (#24691)
* Core/AI: refactor SpellHit and SpellHitTarget.

- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods

* Restore logic in Algalon script

* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2

* Fix build after merge

(cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2022-01-06 20:46:25 +01:00
Gildor f0242d4ec7 Scripts/Naxxramas: Noth the Plaguebringer improvements (#24724)
(cherry picked from commit 1181b636c0cec174367906808c999641ca7897fc)
2022-01-06 20:08:04 +01:00
Keader 4110a06e81 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt (#24717)
Ref: 9f7b464a6aa5b64bf5ec5c0f586853fbc71029c6
- Implemented a new SpellScript hook that allow control Resistance/Absorb amount of a damage spell.

(cherry picked from commit d81a9e5bc3b3e13b47332b3e7817bd0a0b228cbc)
2022-01-06 19:59:50 +01:00
jackpoz 9286734b55 Core/Misc: Fix static analysis issues reported by Coverity Scan
(cherry picked from commit adc7cd3ceec969488cd8d8fa93edc281f0169102)
2022-01-06 19:47:51 +01:00
Keader 4fa0b1b005 Scripts/Ulduar: Codestyle fix
* Making jackpoz happy xD

(cherry picked from commit a72197911e24e7496f565cc0ca2d8bb544c4a1ef)
2022-01-06 19:44:04 +01:00
Keader 09f611e467 Scripts/BloodFurnace: Fixed Broggok stopping work after wipe
By: Rushor
(cherry picked from commit 00bc6e7d54e924dabaf4636a4b8084f0db067194)
2022-01-06 19:43:54 +01:00
Keader 239f33b4a4 Scripts/Ulduar: Fixed XT002 Heart health regeneration
(cherry picked from commit 05eeaade3e4e15028143575dcb16267959a2153d)
2022-01-06 19:42:19 +01:00
Keader 08d3bc7488 Scripts/Pet: Fixed Mirror Image trying attacking invalid targets
(cherry picked from commit 456aaf2cea40160ad8f8b2504a003a1991db741a)
2022-01-06 19:41:22 +01:00
Gildor 2029d21f73 Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement (#24715)
(cherry picked from commit 6c1a874e5702a2dbefd4b4685c41a9d6c51dd2bb)
2022-01-06 19:41:06 +01:00
Gildor f23aa3c866 Scripts/Ulduar: Fix Flame Leviathan movement (#24673)
(cherry picked from commit 3ab970aa4742dde354e1d903304da850f05d6e09)
2022-01-06 19:15:26 +01:00
offl c5274417bb DB/Quest: Convert & update support for 'Mark V is Alive!' to SAI
Closes #24686

(cherry picked from commit e48c4151560049a876418f69cd25153a259f50eb)
2022-01-06 19:15:15 +01:00
offl a7d03862dd DB/Quest: Convert & update support for 'When the Cows Come Home' to SAI
Closes #24685

(cherry picked from commit 1316ca482d1d20d03bbdfa5aa338955d96dd03bb)
2022-01-06 19:14:38 +01:00
offl 688c12fa5b DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
Closes #24675

(cherry picked from commit 0e7cabd7f10eaa9ffad20f9fcd03fca8cb88fa68)
2022-01-06 19:13:39 +01:00
NoName 145756a231 Scripts/RuinsOfAhnQiraj: Crystal handling (#24679)
+ make crystal usable with animation and despawn after use;
+ small code update;
+ spell rearrange;
+ define some magic numbers;
+ update crystal coordinates from sniffed data

(cherry picked from commit 89193c3548c4da307ca08884c53b593b56ab47d1)
2022-01-06 19:09:28 +01:00
Gildor e826909498 Scripts/Icecrown Citadel: Fix Sindragosa movement when Wipe in fly phase (#24665)
(cherry picked from commit dd3fbf426c7455558825777b02f630f1b0d702c9)
2022-01-06 19:08:14 +01:00
Killyana 8571a22017 DB/Quest: Convert "HELP!" & "Corki's Gone Missing Again!" & "Cho'war the Pillager" to SAI
Closes #24649

(cherry picked from commit fd66e291b5595635411116b5b0946b476719a2ab)
2022-01-06 18:55:13 +01:00
offl 164dcc4deb DB/Quest: Convert & update support for 'Prisoners of Wyrmskull' to SAI
Closes #24650

(cherry picked from commit 2008cb7dd33411a381911c6b64e4ebf96fa8c39f)
2022-01-06 18:53:52 +01:00
offl f3e262a056 DB/GameObject: Convert & update support for Shrine of the Eagle / Falcon / Hawk to SAI
Closes #24647

(cherry picked from commit 0cfd63fd26312c8abb475cf36fcd164e65fc3eec)
2022-01-06 18:53:11 +01:00
offl fbcfb505f4 DB/Creature: Convert Sayge to SAI
Closes #24663

(cherry picked from commit 626aeb5817a42efc026e3623a65362eef355abb1)
2022-01-06 18:52:14 +01:00
jackpoz 9e0e52f023 Scripts/Misc: Fix issues reported by ASan
(cherry picked from commit 013301088d862f634cd5b817cb3949c58454f924)
2022-01-06 16:22:58 +01:00
offl 3f8b488071 DB/GameObject: Convert & update support for Tablet of Madness
Closes #24670

(cherry picked from commit 9c1c34a79420b2513ee0009fcd84726c3ff95bfe)
2022-01-06 16:22:42 +01:00
Killyana 876d9f52ec DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB script
Closes #24668

(cherry picked from commit 6b9a14ca940a2104a89cfadf07978a2759acb47a)
2022-01-06 16:06:40 +01:00
offl 070da4f711 DB/Quest: Convert Escape from Umbrafen to SAI
Closes #24648

(cherry picked from commit cfe6b651bc38239de58d6a3f95e8897bfb7d1869)
2022-01-06 16:05:08 +01:00