Commit Graph

28442 Commits

Author SHA1 Message Date
Shauren
4667db37f3 Core/Maps: Implemented MapFlags2::IgnoreInstanceFarmLimit 2022-10-04 00:19:38 +02:00
Shauren
f6baed006a Core/DataStores: Defined map.db2 flags 2022-10-04 00:19:38 +02:00
Shauren
20357af88e Core/Instances: Add instance reset events at lock expiration 2022-10-04 00:19:38 +02:00
Shauren
ca5f7a15b9 Core/Instances: Spawn defeated bosses in instances using loot based locks if their preceding bosses are not killed 2022-10-04 00:19:38 +02:00
Shauren
5a516fb654 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT 2022-10-04 00:19:38 +02:00
Shauren
46e0056196 Scripts/Instances: Add dungeon encounter data 2022-10-04 00:19:38 +02:00
Shauren
ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren
4ce1c6cdf4 Core/Instances: Add prepared statements for InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
cedf09f93c Core/Instances: Add new config options to control the time when both daily and weekly resets occur (will not be restricted to instances only) 2022-10-04 00:19:38 +02:00
Shauren
0be72f68c3 Core/Instances: Sprinkle some thread safety on InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
4cbaaa3435 Core/Instances: Save instance entrance based on completed encounters 2022-10-04 00:19:38 +02:00
Shauren
1e99011edf Core/Scenarios: Attempt to restore scenario state from completed encounter info 2022-10-04 00:19:38 +02:00
Shauren
461a9c024c Core/Instances: Remove old database statements (WIP) 2022-10-04 00:19:38 +02:00
Shauren
ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 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
9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00
Shauren
a131542855 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it) 2022-10-04 00:19:38 +02:00
Shauren
17665c929c Core/Instances: Instance lock rewrite (WIP) 2022-10-04 00:19:38 +02:00
Ovah
ad2df01b2c Core/Spells: make Spell::CheckMovement respect the current spell state (#28315) 2022-10-03 15:52:49 +02:00
Shauren
769591c99e Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions 2022-10-02 18:51:37 +02:00
Ovah
9f08471827 Core/Spells: fixed up block mechanics (#28286)
* Ranged attacks can now be blocked
* Implement SPELL_ATTR3_COMPLETELY_BLOCKED
* Fixed a bug which was causing blocking to block entire spell effects regardless if the attribute was present or not
* Fixed a logic mistake which was causing blocks to roll twice (once for effect negation and once on hit)
* No longer send blocked miss conditions in spell_go packets when the spell is not completely blocked to match sniff data

(cherry picked from commit b47ef3ce90)
2022-10-01 18:42:04 +02:00
Teleqraph
c7b6afc8eb Scripts/Silverpine: Implemented Horde Hauler (npcId 44731) (#28273)
* also some random cosmetic fixes of several creatures
2022-10-01 18:26:49 +02:00
Lloyd Dilley
1c36441b7c Core/Misc: Fix *BSD compile errors (#28287)
(cherry picked from commit 2b8fc95fde)
2022-10-01 17:33:25 +02:00
Teleqraph
a489ea6dd6 Scripts/Silverpine: Implemented several initial quests (#28272)
* The Gilnean Liberation Front 26989
* Iterating Upon Success 26998
* Guts and Gore 26995
* also added some phase 0/169 spawns to Forsaken High Command
2022-10-01 17:23:20 +02:00
Meji
4b06b8ec1e Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature (#28284) 2022-10-01 00:11:52 +02:00
Shauren
e5bf2608d7 Scripts/Hyjal: Change boss state management from SetData to SetBossState
(cherry picked from commit 753a901928)
2022-09-30 20:55:18 +02:00
Shauren
a515443a59 Core/Players: Added error message for death knights attempting to leave their starting zone early
(cherry picked from commit 2dc1b69a70)
2022-09-30 20:53:45 +02:00
Shauren
97fcf42888 Scripts/Karazhan: Mark optional boss as completed when it dies
(cherry picked from commit 08d2b6743a)
2022-09-30 20:53:32 +02:00
Shauren
52d6bdbe0a DB/Ahn'Qiraj Temple: Added spawn groups for bosses
(cherry picked from commit 6260a95763)
2022-09-30 20:53:11 +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
Shauren
0f15d74ffc Scripts/The Escape From Durnholde: Minor improvements
* Converted to BossAI
* Prevent repeating boss kills on Thrall event wipe

(cherry picked from commit 2d027e56ad)
2022-09-30 20:47:31 +02:00
Shauren
e7411a8457 Nopch build fix
(cherry picked from commit 7eb482ed84)
2022-09-30 20:42:34 +02:00
Shauren
cfdc0a75f9 Scripts/The Underbog: Added spawn groups for bosses and implemented boss state tracking
(cherry picked from commit e3ac84b929)
2022-09-30 20:42:15 +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
Shauren
6ff3d88868 Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups
(cherry picked from commit 881950c1d5)
2022-09-30 20:27:35 +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
4fd29adc59 Dynamic build fix
(cherry picked from commit 63275e7316)
2022-09-30 20:24:32 +02:00
Shauren
57c56a3ae7 DB/The Sunwell: Migrate linked_respawn to spawn groups
* Also fixed Felmyst not spawning after server reset if Brutallus was killed

Closes #27904

(cherry picked from commit 46560070ae)
2022-09-30 20:23:41 +02:00
Shauren
88060425b5 Scripts/The Sunwell: Move Brutallus and Felmyst to BossAI
(cherry picked from commit 8962d80224)
2022-09-30 20:17:34 +02:00
Shauren
8cadc10dd5 Scripts: Fixed missing boss count initialization in The Slave Pens and The Botanica as well as incorrect map id assignment to Auchenai Crypts spawn groups
Closes #28278

(cherry picked from commit 01f0f83139)
2022-09-30 20:17:18 +02:00
Shauren
a953fb9a34 Nopch build fix
(cherry picked from commit 9fcc820016)
2022-09-30 20:11:10 +02:00
Shauren
7e6c133a57 DB/Mana-Tombs: Migrate linked_respawn to spawn groups
(cherry picked from commit 4af8548206)
2022-09-30 18:04:23 +02:00
Shauren
b308a295e3 Scripts/Serpentshrine Cavern: Move to BossAI
(cherry picked from commit 400d7e20d0)
2022-09-30 16:22:38 +02:00
Shauren
16c83d7737 DB/The Slave Pens: Migrate linked_respawn to spawn groups
(cherry picked from commit c0c8c3bf5d)
2022-09-30 16:16:32 +02:00