Carbenium
49523a74a4
Battlefields: Move BF scripts out of game
...
This commit introduces the usual script interface
for battlefields.
(cherry picked from commit f7faf20254a120a90b8ee8eb55a284a6351aabc3)
2022-01-07 00:20:57 +01:00
NoName
959e84e715
Script/ScarletEnclave: Eye of acherus now rooted at spawn ( #24725 )
...
(cherry picked from commit 51b221c8f8c77ca627ac175481758b1dbd30a22e)
2022-01-06 23:31:12 +01:00
Peter Keresztes Schmidt
c4098897a8
game/AI: Convert SelectAggroTarget to enum class ( #24818 )
...
* game/AI: Convert SelectAggroTarget to enum class
* game/AI: Rename SelectAggroTarget to SelectTargetMethod
(cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06 21:53:27 +01:00
offl
5662d71708
DB/Instance: Convert some Uldaman scripts to DB
...
Closes #24744
(cherry picked from commit a117450ce9178c4afc769b3b747a24fbc6100912)
2022-01-06 21:36:29 +01:00
offl
ca964a0b03
DB/Quest: Convert & update support for 'All Along the Watchtowers' to SAI
...
Closes #24732
(cherry picked from commit 8bccb258ba027c013ee4e6e5d59f184129d27d5c)
2022-01-06 21:32:12 +01:00
offl
5f94d0f4c8
DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAI
...
Closes #24730
(cherry picked from commit d70eb96c85ab6b117e785261932ca7c454a5fad2)
2022-01-06 21:31:43 +01:00
offl
c088588701
DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAI
...
Closes #24728
(cherry picked from commit e47f302fc95d4e3f4d16b19950ce6172b549b166)
2022-01-06 21:30:28 +01:00
Keader
d48909b5d6
Scripts/ShadowfangKeep: Fixed a crash in spellscript
...
(cherry picked from commit be48fbc32ac49673ce2415b76cb447a61585ed01)
2022-01-06 20:47:11 +01:00
ForesterDev
3171cd3fa9
Core/AI: refactor SpellHit and SpellHitTarget. ( #24691 )
...
* Core/AI: refactor SpellHit and SpellHitTarget.
- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods
* Restore logic in Algalon script
* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2
* Fix build after merge
(cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2022-01-06 20:46:25 +01:00
jackpoz
9286734b55
Core/Misc: Fix static analysis issues reported by Coverity Scan
...
(cherry picked from commit adc7cd3ceec969488cd8d8fa93edc281f0169102)
2022-01-06 19:47:51 +01:00
jackpoz
d690648bce
Scripts/BWL: Fix crash in Razorgore encounter
...
(cherry picked from commit 7b8b02c32ebfb7c8c47ac1d1b94129c91346ad66)
2022-01-01 20:13:04 +01:00
Sven
2aa5f4e1b2
Improvements to Pyroguard Emberseer (UBRS) script ( #24405 )
...
* UBRS: Improve Pyroguard Emberseer script
* Remove whitespaces
* More whitespaces removed
* Addressing change requests
Removed cast from constructor
Removing unused member field
* That should be the last white spaces
* Forgot to remove the declaration
* Update boss_pyroguard_emberseer.cpp
* Add break to For loop
* War on white spaces
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit c3037c35639a547fca6be02ad1a0a2ed4c1c5fe9)
2022-01-01 14:52:43 +01:00
jackpoz
ecdc387df2
Core/Misc: Remove whitespace at the end of lines
...
(cherry picked from commit caae3886d24adf0a5fc95454bb1c45477057bde4)
2022-01-01 01:00:26 +01:00
Killyana
5cde08e6e8
Boss/Script: Disable Call assistance for Mr Smite
...
Closes #19164
(cherry picked from commit c026b3bad3deae7b2e49fb62a509e5e463d2893e)
2021-12-31 00:54:21 +01:00
Killyana
5e1f46f3c0
Boss/Script: Mr Smith will use the proc aura for Nimble Reflexes instead a script
...
(cherry picked from commit 5b2b2211771618420a555f6e7e2c68722202df36)
2021-12-31 00:54:06 +01:00
Shauren
70f1eaac48
Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY
2021-12-29 00:12:07 +01:00
Jeremy
15b9183635
Core/ZoneScript: Add "invoker" param to ProcessEvent ( #24758 )
2021-12-27 13:55:59 +01:00
Keader
5a8af62b15
Fixing some white spaces and unneeded header, added in previous commit
...
(cherry picked from commit 85d1fd3038a3d30d998643505837c6b354b8782f)
2021-12-24 00:58:20 +01:00
Jinnaix
340a107f6b
Scripts/Blackwing Lair - Doors correction ( #24327 )
...
Fix all doors
corrected the Chromaggus fight start
correctly close final bossfight door at fight and open it on reset or bosskill
(cherry picked from commit a8a0f6b261994712e0339be96b8174a8382c51f7)
2021-12-24 00:58:04 +01:00
Jinnaix
103f7f5e77
Scripts/Deadmines ( #24323 )
...
Remove obsolete Defias Companion spawn from BlastOutDoor Event
(cherry picked from commit c09d2b7206ae29c43acb1df098eceeff6db5581c)
2021-12-23 22:20:22 +01:00
Sorikoff
6dd74533d1
Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving ( #24223 )
...
* Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving
* Improve cosmetics for q. The Gift That Keeps On Giving
* Fixes
* Fix
* Rename 9999_99_99_99_world.sql to 2020_03_07_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 41d80f2d43863588dc4516ee80579f965b07391b)
2021-12-22 22:36:06 +01:00
Sorikoff
32a9191406
Scripts/Ebon Hold: Bloody Breakout ( #24126 )
...
* Scripts/Ebon Hold: Bloody Breakout
* Scripts/Ebon Hold: Bloody Breakout (part 2)
* Improvements
* Fail quest
* Spacing
* Update 9999_99_99_99_world.sql
* Update 9999_99_99_99_world.sql
* Rename 9999_99_99_99_world.sql to 2020_02_28_04_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 2b14b720da2bc38c84f373cb3ff4bcc24c1ddcf0)
2021-12-22 15:11:35 +01:00
Sorikoff
f0f7cecc01
Scripts/Ebon Hold: Massacre At Light's Point ( #24106 )
...
* Scripts/Ebon Hold: Massacre At Light's Point
* Update 9999_99_99_99_world.sql
* Final stuff
* Rename 9999_99_99_99_world.sql to 2020_02_22_00_world.sql
Co-authored-by: Eridium <[email protected] >
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 0f265b4af6c8c63539deaf781b742a743627206d)
2021-12-22 01:01:58 +01:00
Rushor
2326eac4f9
Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. ( #24157 )
...
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell)
* Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript
* Update boss_jandice_barov.cpp
Co-authored-by: Eridium <[email protected] >
(cherry picked from commit f0bf447cd14315f1fe0bdab7d051691113525762)
2021-12-21 16:33:47 +01:00
Sorikoff
6433ed6014
Scripts/Spells: Gift of the Harvester ( #24111 )
...
* Scripts/Spells: Gift of the Harvester
* Scripts/Spells: nopch
* Scripts/Spells: nopch
* Scripts/Spells: validate
* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit e10239311c95866f9316521b570f8600c08a2ff5)
2021-12-21 00:48:30 +01:00
Killyana
ac4df1d856
Spell/Script: Fix Prison chain for Unworty Initiate
...
Closes #24089
The spell 54613 is not used in the game
(cherry picked from commit 0ec2a5fd745c7bd12e96f1870689ce52751b467a)
2021-12-20 23:52:52 +01:00
Sorikoff
a463e7f1bd
Scripts/Ebon Hold: How To Win Friends And Influence Enemies ( #24090 )
...
* Scripts/Ebon Hold: How To Win Friends And Influence Enemies
* Scripts/Ebon Hold: Improve SQL!
* Scripts/Ebon Hold: Final touch
* Scripts/Ebon Hold: Actually final touch
* Rename 9999_99_99_99_world.sql to 2020_01_26_04_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 13c81f55e3314fede78acfbb72a47384961d1f25)
2021-12-20 23:47:37 +01:00
NoName
5e267dda71
Core/Gameobject: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED ( #24062 )
...
* Step 1: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED
* Update src/server/shared/SharedDefines.h
Co-Authored-By: Trond B. Krokli <[email protected] >
Co-authored-by: Trond B. Krokli <[email protected] >
(cherry picked from commit 50d9d9196da90f7696cf83f07115df3d4880c879)
2021-12-20 23:13:47 +01:00
Shauren
5d02739b98
Scripts: Fix rbac permission for skipping default boss sequencing check
...
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
2021-12-20 21:40:47 +01:00
Giacomo Pozzoni
7c97fa4449
Scripts/Misc: Fix build warnings
...
(cherry picked from commit 37ffdc05b23f079af3e22d7042f6ffe240e69cd5)
2021-12-19 23:31:30 +01:00
Killyana
71e474e14f
DB/Spawns: Remove "Hand of the Deceiver" spawns as summoned by a script
...
(cherry picked from commit 434cdb1fa0f5d2ea282c044771b96c9b0ad17f53)
2021-12-19 23:27:12 +01:00
Killyana
3f3abe9ad0
Creature/Script: Add text target for npc_shadowfang_prisoner
...
(cherry picked from commit 10ba39e62644c0d071013d50775790307de807c2)
2021-12-19 19:49:52 +01:00
Ovah
04ed6e292c
Scripts/ScarletEnclave: reworked Eye of Acherus script ( #23953 )
...
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks
(cherry picked from commit 60763fc5e2d7bb32150d8e03bfd0fb3e7cb890f3)
2021-12-19 01:05:59 +01:00
ccrs
6443116d5b
Scripts/ScarletMonastery: instance script cleanup ( #23889 )
...
Adapt InstanceScript into newer structure and style
Adapt existing boss scripts into newer structure and style
Improve existing boss related definitions
Should make each boss more functionally reliable, but nothing new has been added
(cherry picked from commit 06c6b30ed484850228c57313dc2c024c38e2055f)
2021-12-18 23:36:17 +01:00
jackpoz
d5d04a6c55
Core/Misc: Fix C++17 build errors
...
(cherry picked from commit 30823f9b79b4ad16f96e90692a900f68a7f63c0a)
2021-12-18 22:51:50 +01:00
ForesterDev
4a47e1c6be
Core/Defines: define UNIT_FLAG_SWIMMING ( #23630 )
...
(cherry picked from commit c03c88d0c02c5dda9f14dec1ed151ca30a92118e)
2021-12-18 22:50:52 +01:00
Artamedes
0b43b43566
Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter ( #23761 )
...
* Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter
* qq
* qq 2
* tryfix circleci build
* review suggestions
(cherry picked from commit 832c95fa4f3bb8897481b0c65975b14674bbf7ee)
2021-12-18 21:41:10 +01:00
Sorikoff
cd0fb6edbf
Scripts/Blackrock Depths: Use DB Texts for Doom'rel ( #23681 )
...
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel
* Quick Fix
(cherry picked from commit 33807a065a24410cb3daf17cea6eb31af408c4e8)
2021-12-18 15:36:00 +01:00
Sorikoff
1fd0ba816f
Scripts/Spells: Devour Humanoid ( #23660 )
...
(cherry picked from commit 0d53a0ba981a2471fcd951465f6be5d073fddd38)
2021-12-18 00:01:56 +01:00
ForesterDev
529ca2dd5d
Scripts/Defines: cleanup some magic numbers in factions ( #23631 )
...
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-17 20:48:31 +01:00
Wyrserth
f6df334bb6
Script/ScarletEnclave: remove Eye of Acherus control and speed auras from player when the Eye of Acherus is dismissed.
...
(cherry picked from commit bf8741c53d299a1d167354a174f5e40ae1981551)
2021-12-17 00:29:59 +01:00
Treeston
c13d83796f
Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time.
...
(cherry picked from commit 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-17 00:23:33 +01:00
ccrs
49bc6533fd
Scripts/ScarletEnclave: 4ee84bb followup
...
(cherry picked from commit 81475f709f067eea0437361e7098b7a6b9cf3a26)
2021-12-16 00:11:25 +01:00
ccrs
8c35206bb5
Scripts/ScarletEnclave: 4ee84bb followup
...
(cherry picked from commit fa9a4ee20d6a63f2e99e9feb45cd0ecf83ccc7f5)
2021-12-16 00:10:25 +01:00
Wyrserth
3bb61af113
Script/ScarletEnclave: use spline movement for the lauch phase of the Eye of Acherus.
...
Closes #22802 .
(cherry picked from commit 4ee84bbecbccee2adb093d4c30172edc22ef8499)
2021-12-15 23:39:51 +01:00
Wyrserth
756325bc84
Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout of Flame.
...
(cherry picked from commit 6ef1b3e6c6d51635dc4ba4cf4f9fb9565d390807)
2021-12-14 22:02:52 +01:00
Martin Topholm
dc0728b9a0
Script/BlackrockDepths: fix Ironhand Guardian's Gout of Flame spell cast. ( #21816 )
...
(cherry picked from commit 4529a94e0d093fb01c6ae4a98dade46ce75f82a9)
2021-12-14 21:19:01 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Shauren
116285818b
Core/Misc: Corrected file headers
2021-12-13 00:42:19 +01:00
ccrs
70fd6e7398
Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling
...
(cherry picked from commit 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21)
2021-12-13 00:42:18 +01:00