Commit Graph

1277 Commits

Author SHA1 Message Date
Riztazz
5417285a11 Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event (#27920)
* Core/Scripts: Fix heap buffer overflow in BRD Tomb of seven event

* Core/Scripts: Remove magic numbers in brd script, adjust codestyle to tc preference

* missing )

Closes #27919

(cherry picked from commit 0d86727325)
2022-06-10 19:08:05 +02:00
lee
6d805a653b Scripts/Misc: Load gossip options from DB (#27892)
(cherry picked from commit 5a20861565)
2022-06-10 16:13:23 +02:00
Shauren
36dde87249 Core/Movement: Delay creating MoveSplineInit objects used by GenericMovementGenerator to spline launch time
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight

(cherry picked from commit b1a94bf94c)
2022-06-10 15:16:39 +02:00
offl
cc8a39b42f DB/Quest: Update 'Into the Realm of Shadows'
Closes #27895

(cherry picked from commit f494272e94)
2022-06-10 14:32:31 +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
safaray
7c8a034d82 Scripts/UBRS: Fix door open issue in UBRS after kill Rend (#27868)
(cherry picked from commit 88eccd2956)
2022-03-26 16:08:28 +01:00
offl
979ce40c25 Scripts/Spells: Few fixes to spells with GameObjectActions (#27587)
(cherry picked from commit dca7e51250)
2022-03-25 00:23:41 +01:00
acidmanifesto
cba1293108 Scripts\Event: COG Corrections (#27532)
Goldshire is a area not a zone. Zone is Elwynn Forest.

CHILDEREN is spelled with 1 E not 2.

(cherry picked from commit 5fc650645d)
2022-03-24 23:48:43 +01:00
offl
0097fd95b6 Scripts/Spells: Generic spell script for quest portals (#27305)
(cherry picked from commit 251304b19c)
2022-03-23 23:58:25 +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
Gildor
2cfcecaf26 Scripts/Uldaman: Fix Ironaya crash (#27189)
* Scripts/Uldaman: Fix Ironaya crash
* little code cleanup

* oops

(cherry picked from commit cb4e12bdf0)
2022-03-20 23:47:58 +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
0506f21f5e DB/Creature: Remove remaining non-static flags from DB, finally (#26884)
(cherry picked from commit 0e12e23f77)
2022-03-14 23:56:38 +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
offl
ca472c1871 Scripts/SWP: Update M'uru to new register model (#26793)
(cherry picked from commit ec3b571eca)
2022-03-12 14:36:20 +01:00
offl
1b0435b6ea Scripts/Molten Core: Update remaining scripts to new register model (2/2) (#26710)
(cherry picked from commit 863635dbf9)
2022-03-11 18:20:35 +01:00
offl
31cbd3b467 Scripts/Molten Core: Update remaining scripts to new register model (1/2) (#26709)
(cherry picked from commit 09da8dae0e)
2022-03-11 18:18:59 +01:00
offl
94ff33894d Scripts/ZG: Update scripts to new register model (5/5) (#26695)
(cherry picked from commit 7f853ea735)
2022-03-11 16:59:03 +01:00
offl
1dd989a8d6 Scripts/ZG: Update scripts to new register model (4/5) (#26694)
(cherry picked from commit 8230f937f1)
2022-03-11 16:56:28 +01:00
offl
3af9279ab7 Scripts/ZG: Update scripts to new register model (2/5) (#26692)
(cherry picked from commit 5e240a4a50)
2022-03-11 16:46:40 +01:00
offl
17d3d1087c Scripts/BWL: Update scripts to new register model (3/3) (#26691)
(cherry picked from commit 572b480a2e)
2022-03-11 16:43:55 +01:00
offl
62879fec9c Scripts/BWL: Update scripts to new register model (2/3) (#26690)
(cherry picked from commit f7ecd86a24)
2022-03-11 16:42:11 +01:00
offl
6435b8cbc9 Scripts/BWL: Update scripts to new register model (1/3) (#26686)
(cherry picked from commit 67bd11f5ff)
2022-03-11 16:25:12 +01:00
offl
b4b4d55a4e Scripts/SFK: Update Apothecary Hummel to new register model (#26685)
(cherry picked from commit 60761136e7)
2022-03-11 16:24:10 +01:00
offl
833331c12e Scripts/ZG: Update scripts to new register model (1/5) (#26684)
(cherry picked from commit 3d19a71ef2)
2022-03-11 16:18:45 +01:00
jackpoz
f0d8df8909 Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589

(cherry picked from commit e9a8cea018)
2022-03-11 01:48:32 +01:00
offl
4bdf5261e6 Scripts/Misc: Remove few more evil flags
Ref #25764

(cherry picked from commit 180f495c70)
2022-03-11 01:41:20 +01:00
offl
656487a3bb Scripts/Zone: Update Blasted Lands scripts to new register model (#26570)
(cherry picked from commit dadc67c883)
2022-03-11 01:04:48 +01:00
offl
012444ba80 Scripts/Spells: Add comments with id & name of spells part 4
(cherry picked from commit e7e4786606)
2022-03-10 23:53:31 +01:00
offl
0408693646 Scripts/Spells: Add comments with id & name of spells part 3
(cherry picked from commit 03c727326d)
2022-03-10 23:52:03 +01:00
offl
cec9718d22 Scripts/Spells: Add comments with id & name of spells part 2
(cherry picked from commit 0e804c95ac)
2022-03-10 23:13:25 +01:00
offl
f2777596a0 Scripts/Spells: Add comments with id & name of spells part 1
(cherry picked from commit 80a4b7f1e2)
2022-03-10 22:41:12 +01:00
offl
3532a88084 Scripts/Alterac: Update remaining scripts to new model (#26469)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 9f188d70fe)
2022-03-09 12:33:13 +01:00
offl
cd7eeea024 Scripts/BRS: Update scripts to new model (3/3) (#26418)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 3b863f6a20)
2022-03-08 22:37:10 +01:00
offl
128f989c3f Scripts/BRS: Update scripts to new model (2/3) (#26417)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 0fc3a05d3c)
2022-03-08 22:36:56 +01:00
offl
843b8116bc Scripts/BRS: Update scripts to new model (1/3) (#26416)
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 747333149d)
2022-03-08 22:35:23 +01:00
offl
581a573c09 Scripts/Misc: Let core take care of Feign Death related flags
(cherry picked from commit 62594c62f6)
2022-03-07 20:25:57 +01:00
Shauren
fc456f7512 Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
(cherry picked from commit a34519bded)
2022-03-06 23:58:00 +01:00
offl
ca76786faf Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DB
(cherry picked from commit 3cb70ee62a)
2022-03-06 20:01:06 +01:00
offl
8e9e15629f Core/Scripts: Verify & migrate spell school immunities to DB
Some already are stored in DB. Looks like they all are still valid for master

(cherry picked from commit 1ed79d7a2e)
2022-03-06 16:30:51 +01:00
Giacomo Pozzoni
a66b968f91 Core/Misc: Fix static analysis issues (#25924)
* Core/Misc: Fix static analysis issues

* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"

(cherry picked from commit 661f554b9e)
2022-03-06 01:35:01 +01:00
offl
1d09bd112a DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
Ref #25764

(cherry picked from commit 7b79adf5b1)
2022-03-06 00:05:49 +01:00
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
2022-03-05 20:07:57 +01:00
Keader
2e2f93b94f Scripts/ScarletMonastery: Decrease boss number
Headless Horseman do not use BossAI anymore (since it can be done multiple times)

(cherry picked from commit 3c201b7554)
2022-02-28 23:38:49 +01:00
Keader
8d841679fc Scripts/ScarletMonastery: Headless Horseman Rewrite (#25614)
(cherry picked from commit a93abcf803)
2022-02-28 23:38:36 +01:00
Shauren
439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +01:00
Shauren
8e2d1e328e Core/Spells: Pass cast item level to triggered spells
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
offl
bb468708e6 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239

(cherry picked from commit 8c303e4f97)
2022-02-05 23:45:58 +01:00