Commit Graph

40373 Commits

Author SHA1 Message Date
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
Naddley
f6aa3a05c6 DB/Kezan Update some Cosmetics in KTC Headquarters area
Closes #28252
2022-10-02 18:27:42 +02:00
Naddley
7b3eee8311 DB/Kezan: update Phase 169 spawns to phase 378 Chapter 1
- add some PhaseGroups to spawns

Close #28250
2022-10-02 18:21:59 +02:00
Naddley
82f4414fd5 DB/Kezan: handle phasing for Chapter 1 - 7
Closes #28249
2022-10-02 18:14:25 +02:00
Naddley
fbce02cae1 DB/Dalaran: Update legacy Quartermasters in Dalaran-Northrend
- delete old heirloom vendors
- moved Magister Arlan to new pos.
2022-10-02 17:54:28 +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
Shauren
8da6d1ca76 Dep/g3d: Document new patch 2022-10-01 17:34:10 +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
9bc78bc069 DB/Naxxramas: Added spawn groups for Sapphiron and Kel'Thuzad
(cherry picked from commit bf1f8f0c2d)
2022-09-30 20:58:26 +02:00
Shauren
e8afb20970 DB/Trial of the Crusader: Add spawn group for Anub'arak
(cherry picked from commit b78445d6eb)
2022-09-30 20:57:40 +02:00
Shauren
aff8f3d2ce Restore accidentally deleted spawn group
(cherry picked from commit 94967a5605)
2022-09-30 20:57:11 +02:00
Shauren
8b18364413 DB/Ulduar: Add spawn group for bosses
(cherry picked from commit f24908203c)
2022-09-30 20:56:42 +02:00
Shauren
830d085a6a DB/Serpentshrine Cavern: Add spawn group for Lady Vashj
(cherry picked from commit 8385b1cb2a)
2022-09-30 20:56:08 +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
a6ad034703 DB/Ruins of Ahn'Qiraj: Added spawn groups for bosses
(cherry picked from commit 349ba4e74a)
2022-09-30 20:52:40 +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
7f72fa2f8e DB/Halls of Reflection: Added spawn groups for bosses
(cherry picked from commit d6b5490513)
2022-09-30 20:49:37 +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
bc7b14b1c6 DB/The Arcatraz: Added missing boss spawn group
(cherry picked from commit ed6046212a)
2022-09-30 20:44:37 +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
0cbd5db159 DB/The Blood Furnace: Added spawn groups for bosses
(cherry picked from commit fd311a0ea3)
2022-09-30 20:35:36 +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
Shauren
ffc6fb3f90 DB/Ahn'kahet: The Old Kingdom: Migrate linked_respawn to spawn groups
(cherry picked from commit 39a417ea78)
2022-09-30 20:35:06 +02:00
Shauren
f557414f8b DB/Gundrak: Delete redundant linked_respawn data, already handled by spawn groups
(cherry picked from commit ae15b7942a)
2022-09-30 20:35:02 +02:00
Shauren
ba4b66c38f DB/Halls of Lightning: Migrate linked_respawn to spawn groups
(cherry picked from commit 9d8f5ed405)
2022-09-30 20:30:35 +02:00
Shauren
215dfa93c9 DB/Azjol-Nerub: Migrate linked_respawn to spawn groups
(cherry picked from commit 745fea97c2)
2022-09-30 20:30:02 +02:00