Commit Graph

2946 Commits

Author SHA1 Message Date
ModoX
89e09dc44e Core/AI: Drop script_waypoints and move data to waypoint_data (#28879) 2023-04-10 04:04:33 +02:00
ModoX
356c98579b Core/SAI: Drop waypoints table and move existing rows to waypoint_data table (#28834) 2023-04-08 01:33:05 +02:00
ModoX
0750b7f845 Core/Creature: Implemented sparring with max health percent thresholds (#27198)
Co-authored-by: Ovah <dreadkiller@gmx.de>
2023-04-06 01:01:02 +02:00
ModoX
36044a9470 Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions (#28159) 2023-04-05 23:49:46 +02:00
Shauren
0956873613 Core/Creatures: Allow overriding default gossip menu id 2023-03-12 00:13:49 +01:00
Shauren
39b76cfbc2 Core/Movement: Allow specifying timeout for follow movement 2023-03-04 14:57:17 +01:00
Shauren
0026706e83 Core/Movement: Extend MovePoint with new arguments
* Forced speed
* Speed selection mode (walk, run or default)
* Distance from target point that is considered close enough to finalize movement
2023-03-02 23:24:42 +01:00
Shauren
a8bb1739e9 Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success 2023-02-28 00:19:31 +01:00
Shauren
3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +01:00
Shauren
d675ed79c5 Scripts/Icecrown Citadel: Added missing empty check before SelectRandomContainerElement
(cherry picked from commit 9d8fc90371)
2023-01-12 22:55:19 +01:00
Mikhail Redko
52ddfe89f8 Core/Scripts: Implemented Zort's Protective Elixir (#28372)
* Core/Scripts: Implemented Zort's Protective Elixir

* Rename XXXX_XX_XX_XX_world.sql to 2022_12_23_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit dc221604d9)
2023-01-12 22:55:19 +01:00
Ovah
298febaaf9 Scripts/Halls of Lightning: reworked General Bjarngrim Encounter (#28457)
* handle missing visuals
* reworked all AI scripts
* handle missing mechanic of Arc Weld
* reworked the whole waypoint and tempoary electrical charge handling
* moved Stormforged Lieutenants to their own spawn group to handle their spawning/despawning via boss
* moved the Tempoary Electrical Charge mechanic from spell_linked_spell to spell script instead
* replaced hacky virtual items for Bjarngrim's stances with sniffed ones

(cherry picked from commit f2fcd6746c)
2023-01-12 22:55:17 +01:00
Malcrom
1ad7699a10 Scripts/Quest: Refactor Last Rites (#28328)
(cherry picked from commit 8c64457edc)
2023-01-10 20:07:43 +01:00
Malcrom
0b948b758f Scripts/Quest: Improved script for Abduction (#28306)
(cherry picked from commit f7ebdd3631)
2023-01-10 19:15:10 +01:00
Malcrom
d81db584b4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304)
(cherry picked from commit f98e2bcab4)
2023-01-10 19:15:08 +01:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren
ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren
c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren
2c79ce6791 Core/Conditions: Add const to condition checking functions 2022-10-24 00:15:43 +02:00
Shauren
879c0cccfc Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests 2022-10-21 22:11:00 +02:00
Shauren
133334a902 Core/Loot: Implemented personal loot and tag sharing for non-boss loot 2022-10-17 23:11:46 +02:00
Shauren
e65fae7bcd Scripts/Gossips: Set gossip menu id for scripts that load menu items from database
(cherry picked from commit 900a2f6d88)
2022-10-13 12:41:34 +02:00
Malcrom
f9699a3fca DB/Scripts: Move Quest "Aces High!" gossip menu to database (#28300)
(cherry picked from commit 5ffe5bd43a)
2022-10-13 11:42:06 +02:00
Malcrom
343ada977f Scripts/BoreanTundra: Modernized Unfit for Death (11865) implementation (#28297)
(cherry picked from commit c0758ae6f3)
2022-10-13 11:40:34 +02:00
Shauren
46e0056196 Scripts/Instances: Add dungeon encounter data 2022-10-04 00:19:38 +02:00
Shauren
76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren
17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Shauren
fffe02db2c Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5
(cherry picked from commit 7114bc6881)
2022-09-30 20:50:39 +02:00
Ovah
fd88a15f4c Scripts/Halls of Lightning: reworked Volkhan encounter (#28282)
* modernized the whole code
* moved several mechanics to spell script where they belong
* handle missing visuals for Volkhan's Anvil

(cherry picked from commit 9ef9b79e84)
2022-09-30 20:37:25 +02:00
Shauren
41419c90cf DB/Icecrown Citadel: Migrate linked_respawn to spawn groups
(cherry picked from commit 9082eca660)
2022-09-30 20:35:06 +02:00
Ovah
406663806d Scripts/Halls of Stone: Modernized Halls of Stone instance script (#28280)
(cherry picked from commit f82f97305d)
2022-09-30 20:29:10 +02:00
Ovahlord
9f09165481 Scripts/HoL: follow naming standards for boss enums and dropped unused overriden methods from instance script
(cherry picked from commit 8b87b6a058)
2022-09-30 20:25:37 +02:00
Ovahlord
8743c509e6 Scripts/HoO: removed a redudant summons.DespawnAll() call from Ionar's script
(cherry picked from commit 9dcb602138)
2022-09-30 20:25:30 +02:00
Ovahlord
ffa0894199 Scripts/HoL: converted Ionar's AI to BossAI
(cherry picked from commit dfcc9c69e7)
2022-09-30 20:25:23 +02:00
Ovahlord
ea97ce2a17 Scripts/HoL: converted General Bjarngrim's to BossAI
(cherry picked from commit 0efe2a0fa5)
2022-09-30 20:25:13 +02:00
Ovahlord
60a2215669 Scripts/HoL: modernized instance script
(cherry picked from commit 7a73b8412a)
2022-09-30 20:25:05 +02:00
Shauren
d82bf6d7dc DB/Naxxramas: Migrate linked_respawn to spawn groups
(cherry picked from commit 9cac8d88cf)
2022-09-30 01:03:37 +02:00
Meji
69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-09-08 14:49:03 +02:00
Dan Johnson
c2cfda91a3 Scripts/Naxxramas: Fixed number of affected targets for Cripple and Curse spells in 25 man version of Noth the Plaguebringer encounter (#28161)
(cherry picked from commit 6b2fac687d)
2022-09-05 21:34:48 +02:00
offl
4462aad70f Scripts/Spells: Random fixes (#28143)
(cherry picked from commit 53cc21b1b4)
2022-09-05 21:26:35 +02:00
offl
243efd378c Scripts/Spells: Script 'Hate To' spells (#28129)
(cherry picked from commit d06842d42a)
2022-09-05 21:18:23 +02:00
offl
d02989e9e6 Scripts/Quest: Update few quests (#28108)
(cherry picked from commit 1c96eebcc1)
2022-09-05 21:01:44 +02:00
offl
1bb6440d75 Scripts/Nexus: Rework Telestra (#28104)
Closes #27792 Closes #27941

(cherry picked from commit 93db014cb9)
2022-09-05 19:55:25 +02:00
offl
39c07d43bf Scripts/Quest: Update 'Sabotage' (12676) (#28082)
(cherry picked from commit fca49f428b)
2022-09-05 19:47:52 +02:00
offl
249f55a483 Scripts/Oculus: Update Drakos the Interrogator (#28053)
(cherry picked from commit 2d348b6d8b)
2022-09-05 19:27:04 +02:00
offl
6fb332d935 Scripts/Spells: Get rid of several DB spell scripts (#28048)
(cherry picked from commit 3808e614d9)
2022-09-05 19:26:59 +02:00
offl
a2e68ccabf Scripts/Quest: Update 'Through the Eye' (13121) (#28043)
(cherry picked from commit 5512cf8a99)
2022-09-05 19:00:23 +02:00
offl
3eb7473800 Scripts/Quest: Rework 'Mending Fences' (12915) (#28034)
(cherry picked from commit 61f32426ab)
2022-09-05 18:54:24 +02:00
Shauren
c1eb91c1c1 Core/WorldStates: Add generic worldstates for team in instance 2022-07-24 20:11:24 +02:00