Commit Graph

6047 Commits

Author SHA1 Message Date
Shauren b7287e85e4 Core/Misc: Fixed deprecation warnings for c++20
(cherry picked from commit ba9bbbc9d0)
2023-08-12 14:24:24 +02:00
Shauren f9033a5dbd Scripts/Forge of Souls: Fixed achievement_bronjahm_soul_power script registration 2023-07-19 13:45:17 +02:00
Shauren aa96aa4783 Core/Misc: Cleanup Expression is converted to bool and can be replaced with 'boolean constant' 2023-05-07 18:52:34 +02:00
Shauren 7e0b28c70c Scripts/Undercity: Fixed NPC_HIGHBORNE_BUNNY being told to MoveJump to { target->GetPositionX(), 0, 0 } with speedXY = target->GetPositionY() and speedZ = target->GetPositionZ() 2023-05-07 18:35:53 +02:00
Gildor 431a59eae1 Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl) (#28933)
* Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl)
2023-04-25 08:35:38 +02:00
Adam B 63790adbfe Add code that changes the faction of Tortheldrin in Dire Maul (#28581)
* Add code that changes the faction of Tortheldrin

Per WoW Classic, Tortheldrin becomes hostile after Immolthar is killed. This code implements an event that does this.

* Bug fix.

Fixed a bug where the server would crash if the bosses were already dead and the player zoned in.

* Recommited with the correct path.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Removed wrong file.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Made changes requested by jackpoz.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Corrected a syntax error after testing.
- Tested in game and confirmed all is working.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Removed whitespace changes.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Changed the script to use OnUnitDeath rather than an event.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Removed the IMMO_DEAD_CHECK event.

Signed-off-by: Adam Bajac <adam@asblab.work>

* Removed redundant comma.

Signed-off-by: Adam Bajac <adam@asblab.work>

---------

Signed-off-by: Adam Bajac <adam@asblab.work>
Co-authored-by: Adam B <adam@avalonglobal.com>
2023-04-11 23:11:48 +02:00
lee 60b75e3b6e Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-03-24 10:52:44 +01:00
M'Dic 48f9a807f3 Update (core\log): Log correction (#28802)
Loading AreaTrigger definitions to Loading Area Trigger Teleports definitions
and also Re-Loading AreaTrigger teleport definitions to Re-Loading Area Trigger Teleport definitions
2023-03-10 10:26:25 +01:00
Shauren 70e985c7f7 Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each other when unit is removed from map 2023-02-09 10:26:42 +01:00
Shauren 9d8fc90371 Scripts/Icecrown Citadel: Added missing empty check before SelectRandomContainerElement 2023-01-06 01:46:57 +01:00
Mikhail Redko dc221604d9 Core/Scripts: Implemented Zort's Protective Elixir (#28372)
* Core/Scripts: Implemented Zort's Protective Elixir

* Rename XXXX_XX_XX_XX_world.sql to 2022_12_23_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-12-23 15:08:58 +01:00
Badgersson d91c4526e1 Core/Spells: resurrection after raise ally (#28582)
(fix #26296)player->IsResurrectRequested() now is called with spell_dk_raise_ally_Aura removing
2022-12-23 14:26:28 +01:00
Ovah f2fcd6746c Scripts/Halls of Lightning: reworked General Bjarngrim Encounter (#28457)
* handle missing visuals
* reworked all AI scripts
* handle missing mechanic of Arc Weld
* reworked the whole waypoint and tempoary electrical charge handling
* moved Stormforged Lieutenants to their own spawn group to handle their spawning/despawning via boss
* moved the Tempoary Electrical Charge mechanic from spell_linked_spell to spell script instead
* replaced hacky virtual items for Bjarngrim's stances with sniffed ones
2022-11-04 13:08:34 +01:00
Malcrom 8c64457edc Scripts/Quest: Refactor Last Rites (#28328) 2022-10-14 19:54:35 +02:00
Malcrom f7ebdd3631 Scripts/Quest: Improved script for Abduction (#28306) 2022-10-14 14:33:35 +02:00
Malcrom f98e2bcab4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304) 2022-10-14 14:09:48 +02:00
Shauren 900a2f6d88 Scripts/Gossips: Set gossip menu id for scripts that load menu items from database 2022-10-12 00:41:49 +02:00
Malcrom 0174e6ba80 Scripts/Eversong Woords: Add cosmetic script for a party (#28308) 2022-10-04 10:24:54 +02:00
Malcrom 5ffe5bd43a DB/Scripts: Move Quest "Aces High!" gossip menu to database (#28300) 2022-10-02 13:45:23 +02:00
Malcrom c0758ae6f3 Scripts/BoreanTundra: Modernized Unfit for Death (11865) implementation (#28297) 2022-10-02 04:47:02 +02:00
Shauren 753a901928 Scripts/Hyjal: Change boss state management from SetData to SetBossState 2022-09-29 00:39:44 +02:00
Shauren 08d2b6743a Scripts/Karazhan: Mark optional boss as completed when it dies 2022-09-28 00:40:06 +02:00
Shauren 6260a95763 DB/Ahn'Qiraj Temple: Added spawn groups for bosses 2022-09-28 00:15:00 +02:00
Shauren 349ba4e74a DB/Ruins of Ahn'Qiraj: Added spawn groups for bosses 2022-09-27 23:40:04 +02:00
Shauren ace57b11c2 DB/Zul'gurub: Added spawn groups for bosses and prevent multiple Gahz'ranka summons 2022-09-27 20:14:11 +02:00
Shauren 7114bc6881 Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5 2022-09-27 16:17:43 +02:00
Shauren 2d027e56ad Scripts/The Escape From Durnholde: Minor improvements
* Converted to BossAI
* Prevent repeating boss kills on Thrall event wipe
2022-09-27 00:08:16 +02:00
Shauren 7eb482ed84 Nopch build fix 2022-09-26 00:25:02 +02:00
Shauren e3ac84b929 Scripts/The Underbog: Added spawn groups for bosses and implemented boss state tracking 2022-09-25 23:10:09 +02:00
Ovah 9ef9b79e84 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
2022-09-25 20:21:44 +02:00
Shauren 9082eca660 DB/Icecrown Citadel: Migrate linked_respawn to spawn groups 2022-09-25 00:15:12 +02:00
Ovah f82f97305d Scripts/Halls of Stone: Modernized Halls of Stone instance script (#28280) 2022-09-24 15:06:08 +02:00
Shauren 7893c52fb7 Nopch build fix 2022-09-23 19:30:38 +02:00
Ovahlord 8b87b6a058 Scripts/HoL: follow naming standards for boss enums and dropped unused overriden methods from instance script 2022-09-23 19:06:12 +02:00
Ovahlord 9dcb602138 Scripts/HoO: removed a redudant summons.DespawnAll() call from Ionar's script 2022-09-23 19:06:12 +02:00
Ovahlord dfcc9c69e7 Scripts/HoL: converted Ionar's AI to BossAI 2022-09-23 19:06:12 +02:00
Ovahlord 0efe2a0fa5 Scripts/HoL: converted General Bjarngrim's to BossAI 2022-09-23 19:06:12 +02:00
Ovahlord 7a73b8412a Scripts/HoL: modernized instance script 2022-09-23 19:06:12 +02:00
Shauren 63275e7316 Dynamic build fix 2022-09-23 19:04:35 +02:00
Shauren 46560070ae DB/The Sunwell: Migrate linked_respawn to spawn groups
* Also fixed Felmyst not spawning after server reset if Brutallus was killed

Closes #27904
2022-09-23 17:56:50 +02:00
Shauren 8962d80224 Scripts/The Sunwell: Move Brutallus and Felmyst to BossAI 2022-09-23 16:43:41 +02:00
Shauren 01f0f83139 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
2022-09-23 09:59:58 +02:00
Shauren 9fcc820016 Nopch build fix 2022-09-21 21:51:20 +02:00
Shauren 4af8548206 DB/Mana-Tombs: Migrate linked_respawn to spawn groups 2022-09-21 01:02:50 +02:00
Shauren 400d7e20d0 Scripts/Serpentshrine Cavern: Move to BossAI 2022-09-20 19:53:50 +02:00
Shauren c0c8c3bf5d DB/The Slave Pens: Migrate linked_respawn to spawn groups 2022-09-20 19:01:12 +02:00
Shauren f982e566a7 DB/Shattered Halls: Migrate linked_respawn to spawn groups 2022-09-20 16:24:31 +02:00
Shauren 9cac8d88cf DB/Naxxramas: Migrate linked_respawn to spawn groups 2022-09-20 16:00:21 +02:00
Shauren cc6e0bfeb4 DB/Karazhan: Migrate linked_respawn to spawn groups 2022-09-19 22:56:20 +02:00
Shauren ec085ffc85 DB/Deadmines: Migrate Deadmines linked_respawn to spawn groups 2022-09-19 21:54:28 +02:00