Commit Graph

875 Commits

Author SHA1 Message Date
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
offl
4004eb8b46 Scripts/Crypts: Rework Exarch Maladaar (#27313)
(cherry picked from commit 35b55b3f21)
2022-03-23 23:59:41 +01:00
offl
8d3a408fdc Scripts/The Eye: Few updates to Kael'thas & Astromancer (#27304)
(cherry picked from commit 43315e0e19)
2022-03-23 20:31:19 +01:00
offl
b6c02d20d5 Scripts/Botanica: Rework Laj (#27282)
(cherry picked from commit 2fe3b6cc2f)
2022-03-23 20:30:17 +01:00
offl
55fd025057 Scripts/Mechanar: Rework Nethermancer Sepethrea (#27277)
(cherry picked from commit be00563a86)
2022-03-23 20:16:47 +01:00
offl
83b4c8cd37 Scripts/Spells: Small cleanup for gen/item spell scripts (#27311)
(cherry picked from commit ef4c878d26)
2022-03-23 00:06:37 +01:00
offl
c4906ce60b Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)
(cherry picked from commit c4741a131a)
2022-03-15 23:03:26 +01:00
offl
ac82e23fa3 Scripts/Spells: Fix support for 'Teleport This!' (10857) (#26789)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 8186e6deca)
2022-03-12 14:48:03 +01:00
Giacomo Pozzoni
71c2f0af46 Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken

* Update scripts

(cherry picked from commit 0800ab20a8)
2022-03-12 14:45:04 +01:00
Jinnaix
6cc8bebdd6 Game/Event: zone_hellfire_peninsula.cpp (#26724)
* Game/Event: zone_hellfire_peninsula.cpp
Convert script timer into game event

* _events.Reset(); - just in case

* Rename 9999_99_99_99_world.sql to 2021_07_21_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 39e1d293bf)
2022-03-11 19:08:22 +01:00
Shauren
a7cd2bce1f Scripts/Tempest Keep: Remove Al'ar fire immunity 2022-03-11 16:37:56 +01:00
offl
9ca1b8f127 Scripts/The Eye: Reorder Kael'thas' scripts
(cherry picked from commit e4b42314c0)
2022-03-11 16:27:07 +01:00
offl
fd82c69597 Scripts/MT: Update scripts to new register model (#26679)
(cherry picked from commit 661e7cca00)
2022-03-11 15:48:13 +01:00