Commit Graph

27795 Commits

Author SHA1 Message Date
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
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
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
offl
0a682fdd74 Scripts/OL: Update Onyxia to new register model (#26683)
(cherry picked from commit fc14d4f30a)
2022-03-11 16:15:14 +01:00
offl
252ca85c7c Scripts/FoS: Update Bronjahm to new register model (#26682)
(cherry picked from commit 4f1fd20eaf)
2022-03-11 16:14:08 +01:00
offl
8b7e9c5f39 Scripts/Ruby Sanctum: Update Baltharus to new register model (#26681)
(cherry picked from commit 0265f17eae)
2022-03-11 16:13:23 +01:00
offl
ea19fda6a4 Scripts/Obsidian Sanctum: Update instance scripts to new register model (#26680)
(cherry picked from commit 8e0429d6ab)
2022-03-11 16:12:33 +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
offl
e141bd384d Scripts/SH: Update scripts to new register model (#26678)
(cherry picked from commit db1ec411cc)
2022-03-11 15:47:57 +01:00
offl
ea5823151a Scripts/SL: Update scripts to new register model (#26677)
(cherry picked from commit 4bca9c990d)
2022-03-11 15:47:43 +01:00
offl
b0745fab33 Scripts/BT: Remove unconfirmed parts of Teron's intro (#26670)
(cherry picked from commit b15359a1e2)
2022-03-11 15:44:01 +01:00
offl
09e358076e Scripts/The Eye: Update Kael'thas to new register model (#26669)
(cherry picked from commit 8cbedef11b)
2022-03-11 15:41:23 +01:00
offl
d829214080 Scripts/Spells: Update Winter Veil holiday scripts to new register model (#26668)
(cherry picked from commit 0ddcfbf8a0)
2022-03-11 15:37:35 +01:00
Shauren
8a1e635e6a Scripts/Spells: Update warlock scripts to new register model 2022-03-11 15:37:13 +01:00
Shauren
54974d3113 Scripts/Spells: Update paladin scripts to new register model 2022-03-11 15:28:25 +01:00
offl
b42e5d4251 Scripts/Pet: Update pet scripts to new register model (2/2) (#26662)
(cherry picked from commit 2681143141)
2022-03-11 15:25:29 +01:00
offl
72ea274df8 Scripts/Pet: Update pet scripts to new register model (1/2) (#26661)
(cherry picked from commit 51c94fed9a)
2022-03-11 15:25:17 +01:00
jackpoz
779053ab90 Core/Unit: Include m_Controlled in crashlogs
(cherry picked from commit 40f4b141bd)
2022-03-11 15:23:48 +01:00
Peter Keresztes Schmidt
28a7ca9183 Scripts/SholazarBasin: Fix a possible nullptr dereference issue found by coverity (#26648)
(cherry picked from commit 3bcda5acf4)
2022-03-11 14:33:57 +01:00
Carbenium
7b2ff1c1fc Scripts/Commands: Convert misc command table to new system
(cherry picked from commit 6b9afac82f)
2022-03-11 14:08:17 +01:00
Carbenium
e3730b7847 Scripts/Commands: Convert honor command table to new system
(cherry picked from commit 5a5b232a44)
2022-03-11 13:53:58 +01:00
Giacomo Pozzoni
9c3dc31a37 Core/Pools: Fix pools with 1 member never spawning anything anymore (#26620)
* Core/Pools: Fix pools with 1 member never spawning anything anymore

Attempts to fix a 6 years old bug and never fixed by the original author.

* Remove respawn times from db once a respawn has been handled

* Allow to specify if Despawn1Object() should save or not the respawn time. We don't need to do that when respawning an object.

* Apply the same fix to GameObjects too

(cherry picked from commit c8ca48823d)
2022-03-11 13:39:15 +01:00
Giacomo Pozzoni
a85e77b47a Core/SAI: Add a warning when a boolean value is outside of [0,1] range (#26608)
* Core/SAI: Add a warning when a boolean value is outside of [0,1] range

*  Replace boolean fields in SAI with SAIBool (from uint32)

(cherry picked from commit 84c8d21ad3)
2022-03-11 13:30:59 +01:00
Carbenium
169c6a522b Scripts/SholazarBasin: Make quest "Engineering a Disaster" more retail-like
* Use correct spells and add the appropriate spell scripts
* Use correct flame GOs
* Fix emotes of the escortee

(cherry picked from commit c08f086a02)
2022-03-11 12:54:22 +01:00
Kelno
b6af6634f4 Core/Misc: Clear unused undef leftover in a refactor (#26616)
Previously this function was using a macro that was #undef at the end of the function. Since then it uses a lambda function and the undef is not needed anymore.

(cherry picked from commit 17ed3fd1dc)
2022-03-11 12:14:39 +01:00
Giacomo Pozzoni
2bc1bbd91d Common/Misc: Replace old macros with modern C++ attributes (#26613)
(cherry picked from commit 5ae2a0f47d)
2022-03-11 11:48:31 +01:00
jackpoz
d0fe16b787 Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
2022-03-11 11:48:18 +01:00
Gildor
7d01ad8b8f Scripts/Commands: Minor improvements in .pinfo and .unban character commands (#26586)
* Scripts/Commands: Minor improvements in .pinfo and .unban character commands

(cherry picked from commit 5446209b89)
2022-03-11 11:33:37 +01:00
Kelno
6e182ebe05 Core/Config:Remove now unused CONFIG_SET_SHAPASSHASH config (#26606)
This is a leftover from bcdbdd6f23

(cherry picked from commit c3a013c499)
2022-03-11 10:52:00 +01:00
jackpoz
40416d62f3 Core/SAI: Allow SMART_ACTION_SUMMON_CREATURE to summon more than 1 creature
Add 6th parameter "count" to SMART_ACTION_SUMMON_CREATURE action to summon more than 1 creature. For backward compatibility, a value of 0 will be treated as 1.

(cherry picked from commit 5628ca7f7c)
2022-03-11 10:43:08 +01:00
jackpoz
cc38710adb Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 32fd44d2aa)
2022-03-11 01:52:04 +01:00
jackpoz
e8ea10a6a2 Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 4b9465e1f9)
2022-03-11 01:50:09 +01:00
Giacomo Pozzoni
9d4c57074f Core/Loot: Allow master looter to see all quest items (#26584)
(cherry picked from commit 8d92f6f2b4)
2022-03-11 01:49:51 +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
c6e8b5ad31 Scripts/Quest: Rework 'Taken by the Scourge' (11611) (#26578)
(cherry picked from commit 8a2c1377a9)
2022-03-11 01:41:18 +01:00
offl
b2212e2dcd Scripts/Instances/Underbog: Rework Hungarfen (#26567)
(cherry picked from commit 3d0a081f8e)
2022-03-11 01:23:45 +01:00
Giacomo Pozzoni
76c470fb32 Core/SAI: Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#26579)
Change SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS first parameter to have 3 values:
- 0 : Hostile
- 1 : Not hostile (not that Friendly and Not hostile have different meanings)
- 2 : Any, as in both Hostile and Not hostile

Close #24789

* Add validation on startup for allowed values.
Code cleanup.

* Fix errors

(cherry picked from commit 9e7cdb02d2)
2022-03-11 01:04:48 +01:00
offl
bea0528436 Scripts/Instances/EoE: Update Malygos to new register model (#26583)
(cherry picked from commit 7c6ee033e0)
2022-03-11 01:04:48 +01:00
offl
ba691ba96c Scripts/Instances/DK: Update Trollgore to new register model (#26582)
(cherry picked from commit 2a556b900c)
2022-03-11 01:04:48 +01:00
offl
3bf762d1f2 Scripts/Instances/DK: Update Tharon'ja to new register model (#26581)
(cherry picked from commit f5a4b95a02)
2022-03-11 01:04:48 +01:00
offl
4c97169c46 Scripts/Instances/DK: Update Novos to new register model (#26580)
(cherry picked from commit cdfce090fc)
2022-03-11 01:04:48 +01:00
offl
4b2478088b Scripts/Zone: Update IoC scripts to new register model (#26571)
(cherry picked from commit 0051b3e345)
2022-03-11 01:04:48 +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
091d38c67c Scripts/Instances: Update Mechanar scripts to new register model (#26569)
(cherry picked from commit 7b9476ea4b)
2022-03-11 01:04:46 +01:00
offl
857db113c0 Scripts/Instances: Update Slave Pens scripts to new register model (#26568)
(cherry picked from commit 57d369dd6a)
2022-03-11 00:00:16 +01:00
jackpoz
67541c58ba Core/SAI: Fix typo
(cherry picked from commit 483f24c5ed)
2022-03-10 23:57:14 +01:00