Commit Graph
28451 Commits
Author SHA1 Message Date
Ovah 3be76db592 Scripts/DK: Fixed Rime talent (#28333) 2022-10-07 20:56:46 +02:00
Shauren 8f6ce64836 Core/Misc: Remove function calls through singleton global within the same class 2022-10-07 20:16:59 +02:00
Gosha 423f81fbda Core/Objects: Fix flags overflow for InvisibilityType because TOTAL_INVISIBILITY_TYPES (38) can't fit in 32 bits flag (#28343) 2022-10-07 16:08:20 +02:00
Shauren 8c3c07cdf4 Core/Maps: Ensure one of InstanceScript::Create or InstanceScript::Load is called on map creation 2022-10-06 18:34:42 +02:00
Shauren 9ce47e6809 Core/Loot: Prevent looting bosses by players that have already completed that encounter 2022-10-06 18:33:44 +02:00
Shauren 5f1a4cf904 Core/Loot: Set loot dungeon encounter id before generating 2022-10-05 20:04:15 +02:00
Shauren bdf22f955d Core/Scripts: Fixed worldserver startup with hostwap enabled when ran in terminals that don't pass full path to argv[0] 2022-10-05 18:24:37 +02:00
ModoX 0be7096b24 Core/Groups: Removed group_instance row deletion of empty groups
* table does no longer exist ref 9b924522d0

Closes #28331
2022-10-04 23:37:49 +02:00
Shauren 550d117fd7 Core/DataStores: Defined MapDifficulty.db2 flags 2022-10-04 00:19:38 +02:00
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 b47ef3ce90f6192784f8ce903b6738d568631809)
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 2b8fc95fdec69ca5c057c2e63a1313d8165d44ea)
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 753a9019282c122c3e019a0bf4632b8b19089ecd)
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 2dc1b69a70f599539c479344c14ec60f98f535bc)
2022-09-30 20:53:45 +02:00
Shauren 97fcf42888 Scripts/Karazhan: Mark optional boss as completed when it dies
(cherry picked from commit 08d2b6743a7b5c7be1ab0da8d4da704fd477f38e)
2022-09-30 20:53:32 +02:00
Shauren 52d6bdbe0a DB/Ahn'Qiraj Temple: Added spawn groups for bosses
(cherry picked from commit 6260a9576356d2a3b79c40e16fbd5a6bc97674cd)
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 7114bc6881701798fa32947d8275686dcd258d19)
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 2d027e56ad3d4531300559e46151153032e7e63d)
2022-09-30 20:47:31 +02:00
Shauren e7411a8457 Nopch build fix
(cherry picked from commit 7eb482ed8416fac36952673e28f07562ed79b0af)
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 e3ac84b929163d4253c15e3c9c430440c2cd15ac)
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 9ef9b79e84594f6dc2016809a0212b3fc090a0ce)
2022-09-30 20:37:25 +02:00
Shauren 41419c90cf DB/Icecrown Citadel: Migrate linked_respawn to spawn groups
(cherry picked from commit 9082eca660d73812844d39c57d647c4ae22d5ad5)
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 f82f97305d28247e80b9220479b59896de501b7c)
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 881950c1d5b4a98c89240a5598b8484108608a85)
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 8b87b6a0581a56dbb0cd61d557dede897d0a7072)
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 9dcb602138417d3ba031a0519a858c9bca56832e)
2022-09-30 20:25:30 +02:00
Ovahlord ffa0894199 Scripts/HoL: converted Ionar's AI to BossAI
(cherry picked from commit dfcc9c69e771658327897bc09be9f5946062150a)
2022-09-30 20:25:23 +02:00
Ovahlord ea97ce2a17 Scripts/HoL: converted General Bjarngrim's to BossAI
(cherry picked from commit 0efe2a0fa55e41184ea7878217fdd7826853ccdb)
2022-09-30 20:25:13 +02:00