Commit Graph

21600 Commits

Author SHA1 Message Date
Meji
4b06b8ec1e Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature (#28284) 2022-10-01 00:11:52 +02:00
Shauren
e5bf2608d7 Scripts/Hyjal: Change boss state management from SetData to SetBossState
(cherry picked from commit 753a901928)
2022-09-30 20:55:18 +02:00
Shauren
a515443a59 Core/Players: Added error message for death knights attempting to leave their starting zone early
(cherry picked from commit 2dc1b69a70)
2022-09-30 20:53:45 +02:00
Shauren
97fcf42888 Scripts/Karazhan: Mark optional boss as completed when it dies
(cherry picked from commit 08d2b6743a)
2022-09-30 20:53:32 +02:00
Shauren
52d6bdbe0a DB/Ahn'Qiraj Temple: Added spawn groups for bosses
(cherry picked from commit 6260a95763)
2022-09-30 20:53:11 +02:00
Shauren
fffe02db2c Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5
(cherry picked from commit 7114bc6881)
2022-09-30 20:50:39 +02:00
Shauren
0f15d74ffc Scripts/The Escape From Durnholde: Minor improvements
* Converted to BossAI
* Prevent repeating boss kills on Thrall event wipe

(cherry picked from commit 2d027e56ad)
2022-09-30 20:47:31 +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
Ovah
fd88a15f4c Scripts/Halls of Lightning: reworked Volkhan encounter (#28282)
* modernized the whole code
* moved several mechanics to spell script where they belong
* handle missing visuals for Volkhan's Anvil

(cherry picked from commit 9ef9b79e84)
2022-09-30 20:37:25 +02:00
Shauren
41419c90cf DB/Icecrown Citadel: Migrate linked_respawn to spawn groups
(cherry picked from commit 9082eca660)
2022-09-30 20:35:06 +02:00
Ovah
406663806d Scripts/Halls of Stone: Modernized Halls of Stone instance script (#28280)
(cherry picked from commit f82f97305d)
2022-09-30 20:29:10 +02:00
Shauren
6ff3d88868 Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups
(cherry picked from commit 881950c1d5)
2022-09-30 20:27:35 +02:00
Ovahlord
9f09165481 Scripts/HoL: follow naming standards for boss enums and dropped unused overriden methods from instance script
(cherry picked from commit 8b87b6a058)
2022-09-30 20:25:37 +02:00
Ovahlord
8743c509e6 Scripts/HoO: removed a redudant summons.DespawnAll() call from Ionar's script
(cherry picked from commit 9dcb602138)
2022-09-30 20:25:30 +02:00
Ovahlord
ffa0894199 Scripts/HoL: converted Ionar's AI to BossAI
(cherry picked from commit dfcc9c69e7)
2022-09-30 20:25:23 +02:00
Ovahlord
ea97ce2a17 Scripts/HoL: converted General Bjarngrim's to BossAI
(cherry picked from commit 0efe2a0fa5)
2022-09-30 20:25:13 +02:00
Ovahlord
60a2215669 Scripts/HoL: modernized instance script
(cherry picked from commit 7a73b8412a)
2022-09-30 20:25:05 +02:00
Shauren
4fd29adc59 Dynamic build fix
(cherry picked from commit 63275e7316)
2022-09-30 20:24:32 +02:00
Shauren
57c56a3ae7 DB/The Sunwell: Migrate linked_respawn to spawn groups
* Also fixed Felmyst not spawning after server reset if Brutallus was killed

Closes #27904

(cherry picked from commit 46560070ae)
2022-09-30 20:23:41 +02:00
Shauren
88060425b5 Scripts/The Sunwell: Move Brutallus and Felmyst to BossAI
(cherry picked from commit 8962d80224)
2022-09-30 20:17:34 +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
Shauren
224d764ded Core/Commands: Allow gameobject/gameobject_template chat links as input to .go gameobject commands 2022-09-30 15:19:42 +02:00
Shauren
d82bf6d7dc DB/Naxxramas: Migrate linked_respawn to spawn groups
(cherry picked from commit 9cac8d88cf)
2022-09-30 01:03:37 +02:00
Shauren
e602519675 DB/Karazhan: Migrate linked_respawn to spawn groups
(cherry picked from commit cc6e0bfeb4)
2022-09-29 23:48:00 +02:00
Giacomo Pozzoni
c80d7696c3 Core/World: Include more details about MaxCoreStuckTime asserts (#28188)
* Core/World: Include more details about MaxCoreStuckTime asserts

Include more details about MaxCoreStuckTime asserts that might help find why FreezeDetector gets triggered with idle MapThreads

* Codestyle fix

(cherry picked from commit de4920de81)
2022-09-29 22:00:08 +02:00
lee
063d9b156d Scripts/Battle for Mount Hyjal:Fix wrong npc text,trash movment,archimode last phase (#27910)
* Fix wrong npc text,trash movment,archimode last phase

1.Fix wrong npc text for Jania,Thrall,Tyrande.
2.Change Hyjal trash movement from walk to run.
3.Fix archimode drain worldtree event.
4.Fix archimode below 10% hp phase.Case Protection of elune on player.

* fix code style

fix code style

* fix wrong type

* Revert "fix wrong type"

This reverts commit 204c45f7d7.

* fix wrong type

* Update boss_archimonde.cpp

* add missing Creature Text

* fix code style

* Update hyjalAI.cpp

* do some work to prevent respawn mobs in combat

* remove dup yell at alliance base

* fix code style

* fix SPELL_METEOR unvisiable when spawn Giant Infernal

* change to DoCastSelf

* hide archimonde doomfire spirit visual

* fix code style

* fix SQL warning when startup server

* fix code style

* move SetRun out of constructor

* remove target list

* move setRun

* fix code style

* Change npctext ID to high ID.Fill text into Creature Text

Change npctext ID to high ID.
Fill text into Creature Text.

* Remove Magic Numbers

* change npctext high ID

* fix change high npc_text id in code

* remove setCanFly,add flight state to db

* change npc_text id

* change npc yell condition after second boss dead

* update npc_text IDs taken from sniff file.

Updated IDs taken from sniff file provided by Aokromes.

* remove MoveInLineOfSight

* move protection_of_elune immuity effect to spell script

* move worldtree channel target to db

Move worldtree channel target to db
Fix wrong position and movement_type of worldtree channel target

* update wrong npc_text IDs in code

* remove CastProtectionOfElune

* remove SetVisible(false),change flags_txtra of doomfire(18095) and doomfire_spirit(18104)

* update sql

* fix compile error

* revent spawntime,move guards say slay and say death to db

* Move code from Initialize() to Reset()

Move code from Initialize() to Reset()

Move code from Initialize() to Reset()

Update boss_archimonde.cpp

* remove unneeeary ->AI()

* Update hyjal_trash.cpp

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp

* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp

* Rename 9999_99_99_world.sql to 2022_09_11_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit fea9de5b17)
2022-09-29 21:59:52 +02:00
Shauren
ffbde7cccc Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
Closes #28237

(cherry picked from commit a55a566602)
2022-09-29 21:45:57 +02:00
M'Dic
400b8e3192 Scripts/Events: Ironforge hourly bell event correction (#28234)
Changes go_bells script to play the BellTollDwarfGnome once at every hour.

References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569)

Co-authored-by: schell244 <9536270+schell244@users.noreply.github.com>
(cherry picked from commit 5ec5e1e1d0)
2022-09-29 21:44:13 +02:00
Shauren
0c90378cec Core/Players: Fixed pvp talents being removed and immediately readded from players when entering/leaving Orgrimmar and Stormwind 2022-09-29 20:51:17 +02:00
DeadMouse
5c5446d63e Core/PacketIO: Fixed loading PreloadPos in character enum packet (#28285) 2022-09-24 23:57:12 +02:00
Meji
bc18b72d80 Core/Units: Set UNIT_FLAG2_UNTARGETABLE_BY_CLIENT as allowed flag for database column (#28281) 2022-09-24 21:43:58 +02:00
Teleqraph
68d6044a5c Scripts/Silverpine: Implemented quest The Warchief Cometh (questid 26965) (#28251) 2022-09-21 15:05:58 +02:00
Aqua Deus
56ef6c06eb Core/Spells: Fix glyph of stars (druid) (#28258) 2022-09-19 20:07:00 +02:00
Meji
b4d2166f0c Core/Items: Added correct context and bonus calculation for character loadout items (#28242) 2022-09-19 13:27:58 +02:00
Shauren
301572212f Core/Misc: Changed string formatting functions to accept std::string_view as format argument instead being templated on it to slightly improve compile times and reduce executable size 2022-09-19 00:33:19 +02:00
Shauren
f67cd38312 Core/Player: Extend action button value to uint64 to be able to hold battle pet guids 2022-09-18 23:52:17 +02:00
Meji
e15898bf56 Core/Player: Allow companion action buttons to be saved 2022-09-18 23:52:17 +02:00
Shauren
cbf2064c62 Core/Loot: Refactored Player::SendLoot to accept Loot object directly 2022-09-18 18:24:57 +02:00
Shauren
8c20f620d7 Core/Loot: Move loot generation out of Player::SendLoot 2022-09-18 16:33:38 +02:00
Shauren
c00e2e4851 Core/Loot: Simplify loot containers
* Unify items and quest_items
* Drop PlayerQuestItems and PlayerNonQuestNonFFAConditionalItems
2022-09-17 20:58:24 +02:00
Shauren
3ef5079fee Core/Loot: Move loot rolls from Group to Loot
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Shauren
9700b2a786 Core/Loot: Store method used at loot generation inside Loot object 2022-09-14 22:03:47 +02:00
Shauren
f19f32f2a4 Core/Loot: Store references to Loot objects directly in players loot view map instead of guids of world objects holding that loot 2022-09-14 20:49:38 +02:00
Gosha
d0a5d04c4c Core/Battlegrounds: Corrected unit of PLAYER_POSITION_UPDATE_INTERVAL, should be milliseconds not seconds (#28247) 2022-09-14 16:08:02 +02:00