Commit Graph

887 Commits

Author SHA1 Message Date
Ovahlord
11f32a2427 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946) 2024-04-28 16:09:43 +02:00
Shauren
94b78ebc8b Core/Players: Slightly improve neutral player faction support 2024-03-24 17:19:10 +01:00
Shauren
6f6af6a1a1 Core/Objects: Added ToWorldObject and ToItem 2024-03-14 11:37:32 +01:00
Shauren
792a4d6c8b Scripts/Serpentshrine Cavern: Removed Spout hack and use correct spell ids 2024-02-28 21:10:51 +01:00
Shauren
59f92412d0 Core/Movement: MoveRotate improvements
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
2024-02-28 21:10:05 +01:00
Shauren
7751d278b1 Scripts: Removed unused global variables 2024-02-24 13:44:20 +01:00
Shauren
605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
ModoX
3f6f683ce4 Core/Waypoints: Drop waypoint_scripts table (#29437) 2023-11-24 21:08:00 +01:00
ModoX
0e2f041728 Core/InstanceScript: Refactored door types to reflect its behavior (#29406) 2023-11-06 00:11:42 +01:00
Shauren
2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
Teleqraph
88ff97c1f9 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-07-20 19:09:27 +02:00
Meji
889e88ab80 Core/Spells: Fixed target radius logic in spell effects for TargetB (#29158) 2023-07-20 10:10:18 +02:00
Shauren
c484530b0c Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended 2023-06-09 00:33:35 +02:00
Shauren
622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +02:00
Shauren
f8a6a9b017 Scripts/Spells: Added spell effect validation helper 2023-05-30 19:34:19 +02:00
Meji
06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
ModoX
89e09dc44e Core/AI: Drop script_waypoints and move data to waypoint_data (#28879) 2023-04-10 04:04:33 +02:00
Shauren
3df16c12b7 Core/Scripts: Move EvadeReason outside of CreatureAI class 2023-01-19 21:23:06 +01:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren
2c79ce6791 Core/Conditions: Add const to condition checking functions 2022-10-24 00:15:43 +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
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
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
Shauren
b596cf2452 DB/Shattered Halls: Migrate linked_respawn to spawn groups
(cherry picked from commit f982e566a7)
2022-09-30 16:13:35 +02:00
offl
c746d9a59c Scripts/Quest: Rework 'Fel Spirits' (10909) (#28134)
(cherry picked from commit aef55d5dfa)
2022-09-05 21:18:23 +02:00
offl
496eba4e8d Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew (#28058)
(cherry picked from commit f0d2418e5f)
2022-09-05 19:37:13 +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
c8d56b8c67 Scripts/Quest: Update 'Dissension Amongst the Ranks...' (10769, 10776) (#28044)
(cherry picked from commit ffcc976524)
2022-09-05 19:01:28 +02:00
offl
6f3406a825 Scripts/UB: Rework The Black Stalker (#28040)
(cherry picked from commit c025fcef74)
2022-09-05 18:58:32 +02:00
offl
ab7010dae1 Scripts/Spells: Rework Fire Bomb (Halaa) (#28025)
(cherry picked from commit b5194a1527)
2022-09-05 18:34:31 +02:00
Shauren
7957e2d380 Core/Loot: Allocate Loot separately from objects 2022-09-01 20:07:58 +02:00
Shauren
b47185cabf Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag 2022-03-27 18:14:47 +02:00
Shauren
4eba978670 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags 2022-03-26 18:59:44 +01:00
lee
ad30c22902 Scripts/Misc: Load some texts from DB (#27867)
(cherry picked from commit e7c02d6a90)
2022-03-26 16:12:01 +01:00
offl
b2479e78a3 Scripts/Quest: Update 'Who Are They?' (#27855)
(cherry picked from commit a29476b92e)
2022-03-26 15:59:33 +01:00
offl
d86bc562cb Scripts/Misc: Adjustments to previous fixes (#27821)
(cherry picked from commit 9ee6f4fb11)
2022-03-26 15:20:10 +01:00
offl
050f55b62f Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks (#27704)
(cherry picked from commit 3dca705acc)
2022-03-26 15:15:46 +01:00
offl
eb1da698eb Scripts/TK: Few updates for Sepethrea (#27769)
(cherry picked from commit 951d7d3a58)
2022-03-26 14:50:20 +01:00
offl
df841dc9f2 Scripts/SL: Update Grandmaster Vorpil (#27765)
Closes #23801

(cherry picked from commit a19c9660b4)
2022-03-26 14:49:55 +01:00
offl
5e2ba78c33 Scripts/TK: Update remaining scripts to new register model 2 (#27768)
(cherry picked from commit 93735ae3bd)
2022-03-26 14:28:07 +01:00
offl
48f6348f89 Scripts/TK: Update remaining scripts to new register model 1 (#27767)
(cherry picked from commit 5e3b76bf25)
2022-03-26 14:23:57 +01:00
offl
a6f8dc3052 Scripts/Botanica: Rework Warp Splinter (#27621)
(cherry picked from commit 78327500d8)
2022-03-25 23:23:44 +01:00
offl
18d7814402 Scripts/Botanica: Rework Sarannis & Freywinn (#27611)
(cherry picked from commit 41da43d9f2)
2022-03-25 23:05:01 +01:00
offl
69ee7582fc Scripts/MFF: Update Ahune's Ice Spear behavior (#27384)
(cherry picked from commit 751a8b9e17)
2022-03-24 11:39:27 +01:00