Commit Graph

2430 Commits

Author SHA1 Message Date
offl 7b79adf5b1 DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
Ref #25764
2021-01-15 01:53:43 +02:00
offl 95a2b906b0 DB/Creature: Remove remaining UNIT_FLAG_PACIFIED part 1
Ref #25764
2021-01-10 01:21:05 +02:00
wotlk-enthusiast a225717b99 Scripts/Utgarde Pinnacle: Svala Sorrowgrave Intro and Ritual of the Sword (#24503)
* Scripts/Svala SorrowGrave - Fix broken intro event and Ritual of the Sword

* Added missing header for non-PCH build.

* Added error checking for Svala's targeting, and tightened up the timing on the intro event.

* Update WorldDB\Creature_Template_Movement for Svala

* Fix movement during intro and ritual event

* Rename SQL file for merge

Co-authored-by: Carbenium <carbenium@outlook.com>
2021-01-08 22:56:55 +01:00
offl 27722d42ef DB/Creature: Add UNIT_FLAG2_UNK1 (CREATURE_DIFFICULTYFLAGS_2_HIDE_BODY) 2021-01-08 00:49:18 +02:00
Kargatum a32b6b8ac4 Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf
2021-01-03 11:47:07 +01:00
jackpoz 0ad1854d1c Scripts/ICC: Fix teleporter not removing players from Gunship
A more generic solution might be better, maybe depending on spell flags

Ref #25652
2020-12-28 12:38:34 +01:00
offl 8ca575ed52 DB/Spell: Add effects to more spells from Violet Hold
Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged
2020-12-27 03:06:31 +02:00
offl bb94aec975 Core/Scripts: Add missing spells to Violet Hold 2020-12-26 02:12:39 +02:00
Ovah 850b88546f Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map* (#25655)
# Conflicts:
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/game/Instances/InstanceScript.h
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockCaverns/instance_blackrock_caverns.cpp
#	src/server/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp
#	src/server/scripts/EasternKingdoms/TheStockade/instance_the_stockade.cpp
#	src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
#	src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
#	src/server/scripts/Maelstrom/Stonecore/instance_stonecore.cpp
#	src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-11-17 19:45:13 +01:00
Keader 5fee99bdbc Scripts/ICC: Some fixes in Valkyr Shadowguard (#25572)
- Added missing transformation spell
- Fixed Soul Siphon casted in random targets. It should always cast in top threat player.
- Fixed combat reach of transformation
2020-10-14 08:31:15 -03:00
Keader 3c0766df54 Scripts/ICC: Fixed Chocking Gas killing Abomination (#25565) 2020-10-12 19:56:56 -03:00
Keader 182fcc919e Scripts/UtgardPinnacle: Implemented Beast's Mark (#25557) 2020-10-11 13:35:33 -03:00
Keader dadc0c98c0 Scripts/IcecrownCitadel: Implemented Vampiric Might spell (#25556)
Closes #21294
2020-10-11 13:33:02 -03:00
Gildor ce2d441304 Scripts/Ulduar: Implemented Realm First! Death's Demise (#25530)
* Scripts/Ulduar: Implemented Realm First! Death's Demise

* comment line

* Rename 9999_99_99_99_world.sql to 2020_10_08_01_world.sql

Co-authored-by: offl <11556157+offl@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-10-08 19:57:41 +02:00
Ovah 77aa058504 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished (#25522)
* added support for calling the hook when completing a channeled spell as well
2020-10-03 00:48:32 +02:00
ForesterDev 54b9bb75e4 Scripts/ICC: update Icecrown Citadel scripts to new model (#25439) 2020-09-18 11:02:34 +02:00
ForesterDev 2e1a6aefd0 Scripts/ICC: update Gunship Battle scripts to new model (#25438) 2020-09-18 11:01:58 +02:00
ForesterDev d52acf1b72 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435) 2020-09-14 13:53:40 +02:00
Shauren c1af9bfb9f Warning fix 2020-09-13 18:55:38 +02:00
Shauren d704b89163 Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them 2020-09-13 18:23:31 +02:00
ForesterDev 1c41c5285a Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model (#25436) 2020-09-11 21:20:18 +02:00
ForesterDev def58965e8 Scripts/ICC: update Blood Queen Lana'thel scripts to new model (#25434) 2020-09-11 21:19:03 +02:00
Maks Szokalski 41188eb535 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp
2020-09-10 16:57:11 +02:00
Houston ca9c746767 DB/Misc: Move & update some VoA scripts to SAI, add waypoints (#25419)
Co-authored-by: Houston <houston@gmail.com>
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2020-09-08 23:37:28 +03:00
Houston f8db738e8d Scripts/Icecrown: Small event of the down Nerub'ar Broodkeep (#25410)
Updates #25193
Co-authored-by: Keader
Co-authored-by: Ovahlord (sucker)
2020-09-08 16:52:53 -03:00
NoName dad187615d Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <vertozor@gmail.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Carbenium <carbenium@outlook.com>
2020-09-08 17:12:52 +02:00
Treeston 0c7f6ac89f Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful. 2020-09-07 18:25:49 +02:00
Treeston fc3feebee9 Scripts/IcecrownCitadel: correct Rimefang's script name 2020-09-06 21:00:38 +02:00
jackpoz ca2159bf40 Scripts/Obsidian Sanctum: Fix portals not being visible
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned.
Fixes other occurrences where a similar issue exists.
2020-09-04 22:01:25 +02:00
Shauren 600a6b5f68 Scripts/Icecrown Citadel: Finish script registration refactoring - RegisterSpellScriptWithArgs 2020-09-04 18:33:22 +02:00
Shauren b63fa9c42f Scripts/Icecrown Citadel: Fix scriptname conflict 2020-09-04 17:50:29 +02:00
ForesterDev d04bdd0316 Scripts/ICC: update Lich King scripts to new model (#25396)
* Scripts/ICC: update Lich King scripts to new model

* fix build
2020-09-04 17:03:55 +02:00
ForesterDev deec517239 Scripts/ICC: update Sindragosa scripts to new model (#25395) 2020-09-04 17:01:53 +02:00
ForesterDev 0b0d5e9bea Scripts/ICC: update Professor Putricide scripts to new model (#25394)
* Scripts/ICC: update Professor Putricide scripts to new model

* fix build
2020-09-04 16:59:46 +02:00
ForesterDev aac3ae40f7 Scripts/ICC: update Lady Deathwhisper scripts to new model (#25393) 2020-09-04 16:58:57 +02:00
ForesterDev af78f4ffb5 Scripts/ICC: update Rotface scripts to new model (#25392) 2020-09-04 16:58:16 +02:00
ForesterDev 458867a2e1 Scripts/ICC: update Festergut scripts to new model (#25391) 2020-09-04 16:57:26 +02:00
ForesterDev 71f33d5764 Scripts/ICC: update Valithria Dreamwalker scripts to new model (#25390) 2020-09-04 16:55:41 +02:00
ForesterDev aedb8b80f3 Scripts/Icecrown Citadel: update Blood Council scripts to new model (#25389) 2020-09-04 11:23:19 +02:00
kvipka 5d2780c43c Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set (PR #25340) 2020-08-28 19:48:41 +02:00
offl 040fda87ef DB/Quest: Convert & update support for Borean Tundra escort quests to SAI
Closes #25001
2020-08-22 20:04:35 +03:00
Shauren 7d4fbf706a Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-20 16:03:47 +02:00
Peter Keresztes Schmidt 6c7837f947 Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter

* Scripts/HoR: Fix wrong emote during escape event

* Core/Unit: Make improve type safety of HandleEmoteCommand

Change argument type to the expected enum type Emote

* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE

UNIT_NPC_EMOTESTATE is no flag field
2020-08-15 15:29:43 +02:00
Gildor 7035a9caf1 Scripts/Naxxramas: Adjust Frogger event timer (#25214)
* Scripts/Naxxramas: Adjust Frogger event timer

Co-authored-by: Carbenium <carbenium@outlook.com>
2020-08-12 17:24:41 +02:00
jackpoz 6ad6d9e670 Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER 2020-08-05 18:46:02 +02:00
Gildor 174ac95800 Scripts/Naxxramas: Frogger event improvements (#25202)
* Scripts/Naxxramas: Frogger event improvements
* Prevent Living Poison accumulation
* Now Living Poison cast Explode

* check for a nearby player

* move event to the frogger trigger's AI

* Initialize and removing unnecessary things

* applying suggestions

* remove unnecessary header

* Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql
2020-08-05 14:16:19 +02:00
Carbenium 0dd4b685df Scripts/AzjolNerub: Fix potential error in pound spell script
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target.

Ref #21856
2020-08-04 17:22:18 +02:00
Giacomo Pozzoni 07fd84b679 Core/Misc: Fix static analysis issues (#25194) 2020-08-04 11:36:47 +02:00
Peter Keresztes Schmidt dab8768c18 Scripts/AzjolNerub: Update Anub'Arak encounter to current coding standards (#25192)
* Scripts/AzjolNerub: Update Anub'Arak to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Darter to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Assassin to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Guardian to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Venomancer to current coding standards

* no functional changes

* Scripts/AzjolNerub: Update Anub'Arak Impale Target to current coding standards

* Scripts/AzjolNerub: Update Anub'Arak Pound spell to current coding standards

* Scripts/AzjolNerub: Update Anub'Arak carrion beetles aura script to current coding standards
2020-08-01 23:32:10 +02:00
Peter Keresztes Schmidt 7abe9d66d0 Scripts/Gundrak: Update Slad'ran encounter to current coding standards (#25180)
* Scripts/Gundrak: Update Slad'Ran's script to use TaskScheduler

* No functional changes

* Scripts/Gundrak: Update Slad'Ran's adds to use TaskScheduler

* No functional changes
2020-08-01 23:15:25 +02:00