Commit Graph

1086 Commits

Author SHA1 Message Date
GrenderG fb63f071cf Fix some quest issues in Duskwood. (#1135)
* Fix some quest issues in Duskwood.

* Removed not needed GossipHello from Lord Ello Ebonlocke.
2021-04-21 19:05:45 +03:00
GrenderG 26b7dc422e Vaelastraz shouldn't despawn after 1 hour in Patch 1.8 or greater. (#1129)
* Vaelastraz shouldn't despawn after 1 hour in Patch 1.8 or greater.

* Fixed content patch to check.
2021-04-21 19:00:45 +03:00
ratkosrb d54dbd66c2 Cleanup header dependencies. 2021-04-12 14:34:00 +03:00
ratkosrb b335e44fd8 Add old levels for Duskwood bossed and remove useless script.
Closes https://github.com/vmangos/core/pull/1083
2021-04-08 03:08:28 +03:00
WobLight 990297a252 Implement dithering of fractional values (#1100) 2021-04-04 00:09:22 +03:00
ratkosrb af745365e9 Don't use bounding radius for aggro distance checks. 2021-04-01 23:44:56 +03:00
ratkosrb 5b98daa7a5 New script for quest One Shot. One Kill. 2021-03-17 16:29:40 +02:00
ratkosrb 57c6cef625 New script for quest Counterattack.
Closes https://github.com/vmangos/core/issues/830
2021-03-12 13:53:21 +02:00
ratkosrb e02d6af4c3 Don't despawn Mizzle the Crafty until the dungeon is reset.
Closes https://github.com/vmangos/core/issues/1093
2021-03-07 00:18:47 +02:00
GrenderG a8fb18de80 Various fixes to AQ scripts (#1070) 2021-03-03 02:25:27 +02:00
schell244 fd9c1dd29e Update Barrens scripts to use broadcast texts (#1031) 2021-03-01 18:10:11 +02:00
ratkosrb b5111a3ca4 Fix issues with The Great Masquerade. 2021-02-28 19:39:33 +02:00
gamemechanicwow f83eab4207 Improve quest Rise Obsidion. 2021-02-24 23:07:28 +02:00
ratkosrb 4ee22bb33f Improve Omen script. 2021-02-18 16:02:46 +02:00
Velite12 757fa749c5 Reset threat after casting Wrath of Ragnaros (#1068) 2021-02-18 11:20:17 +02:00
Velite12 6152e80892 Fix Might of Ragnaros Combat Bug (#1067)
* Update flame of ragnaros to despawn if the spell resists

* Fixed Might Of Ragnaros Combat Bug
2021-02-18 11:19:04 +02:00
insuna 9543db68e3 Fix Razuvious leash height (#1045)
Increased the height at which Razuvious resets to the mid-way point of the stairs, instead of the foot of the stairs.
2021-02-09 06:49:14 +02:00
WobLight 7795e4a534 Default to old PCH implementation when using MSVC (#1041) 2021-02-01 19:56:35 +02:00
WobLight 7d452af163 Some cmake cleanup (#1035)
* Use ON/OFF instead of 1/0 for booleans in CMake

* Fix typo in CMake

* Suggest to update cmake to use PCH

* Refactor PCH -> USE_PCH

* Refactor SCRIPTS -> USE_SCRIPTS

* Fix typo

* Change STATUS -> WARNING for PCH reset message
2021-01-30 21:53:37 +02:00
ratkosrb d9a02aa552 Add legacy cmake support for PCH. (#1032) 2021-01-28 22:36:33 +02:00
WobLight 1b3274d278 Use cmake pch instead of custom FindPCH (#1022)
* Use cmake pch

* Move PCH option up to the other options

* Allow lower cmake version when PCH is OFF

Co-authored-by: 놀린 <nolin.nolin.nolin.nolin@gmail.com>
2021-01-28 16:44:16 +01:00
ratkosrb a927e5b7f3 Refactor valid attack target checks. 2021-01-24 22:47:36 +02:00
ratkosrb 8d806cf7bd New script for Princess Theradras.
Closes https://github.com/vmangos/core/pull/978
2021-01-24 04:58:32 +02:00
schell244 72bfa1ba86 Use broadcast texts ids for quest Counterattack script (#940)
* Quest: Counterattack! - use broadcast texts, added sound

* remove aggro texts from horde npc, reduce change of sound to be get played
2021-01-23 17:47:31 +02:00
ratkosrb 9567ba0d79 Improve Zum'rah encounter in Zul'Farrak.
Zombies will now run to Zum'rah first on spawn if you activate the areatrigger that makes him hostile.
2021-01-19 19:57:21 +02:00
ratkosrb 1b7ecdd3b8 New script for Darkmaster Gandling. 2021-01-15 22:51:08 +02:00
ratkosrb 376e77112c Remove hardcoded script for Razormane Stalker. 2021-01-12 15:03:57 +02:00
schell244 6369bb5acf Update Wailing Caverns scripts to use Broadcast Texts (#910) 2021-01-10 23:38:54 +02:00
ratkosrb 7d2f1e2923 Rework creature leashing logic to match classic.
- If you pull 1 mob among a group of others with a single target spell, it's leash timer should become linked with those who answer its initial call for assistance.

- Pulling a whole group of mobs at the same time using an AoE spell should not cause the mobs to become linked.

A mob aggroing another later on through its periodic call for help should not cause mobs to become linked.

A negative spell hit or melee attack on the mob should reset it's leash timer.

If a mob using chase movement does not need to move for around 5 second, it's leash timer should reset.

Closes https://github.com/vmangos/core/issues/793
2021-01-08 23:08:48 +02:00
Velite12 7dd37129b2 Correct Ouro Submerge timer (#965) 2021-01-07 14:31:58 +02:00
ratkosrb c99acdba8e Remove custom creature used for Lava Fissure Eruption. 2021-01-01 05:03:36 +02:00
ratkosrb 16aa5be3d8 Remove not needed workaround from cthun tentacle script. 2021-01-01 03:47:11 +02:00
ratkosrb 7dac563fc2 Replace IsWithinMeleeRange with more accurate check.
Closes https://github.com/vmangos/core/issues/914
2021-01-01 03:30:01 +02:00
ratkosrb 44753a574f Replace tabs with spaces in scripts project. 2021-01-01 02:52:27 +02:00
ratkosrb c24d7a6d9e Update dreadsteed ritual to make gameobjects cast auras instead of custom creature. 2021-01-01 02:43:56 +02:00
ratkosrb 6005cb29b3 Improve Mindless Undead event in Stratholme. 2020-12-27 04:16:31 +02:00
ratkosrb 0ccd53f59f Add new script for Aurius. 2020-12-27 02:25:09 +02:00
ratkosrb 88955825fc Misc small fixes. 2020-12-14 20:36:42 +02:00
ratkosrb 0a24e43fe3 Update multiple escort scripts to remove immune to npc flag. 2020-12-11 11:47:39 +02:00
Gamemechanic 67839c0fdb Fix Free at Last and Homeward Bound escorts (#894)
Fixes to two escort quest in thousand needles.

UNIT_FLAG_IMMUNE_TO_NPC caused the escort npcs to not engage in combat and/or being stuck in combat.
2020-12-11 10:04:20 +02:00
ratkosrb 6f8de5b19f Update AQ20 scripts to check original leader guid. 2020-12-10 14:29:24 +02:00
ratkosrb 35f3eb2281 Pick new creature group leader on death of old leader.
Allows groups with formation movement to continue waypoints like on classic.
2020-12-10 01:23:17 +02:00
ratkosrb 76821316aa New script for Niby the Almighty. 2020-11-21 00:03:27 +02:00
ratkosrb 71f44965b1 Remove Immune to NPC flag when starting Gizelton Caravan escort.
Closes https://github.com/vmangos/core/issues/862
2020-11-19 20:30:39 +02:00
ratkosrb 72f743945e Fix more issues with Buru's Eggs. 2020-11-18 19:18:20 +02:00
ratkosrb 5863b79b31 Remove spell hack for Buru's Egg Explosion. 2020-11-18 06:16:12 +02:00
ratkosrb 7caa4247da Fix remaining text issues in Naxxramas. 2020-11-17 06:05:30 +02:00
ratkosrb 1c183c246a Make C'Thun cast Digestive Acid instead of the player. 2020-11-17 04:55:25 +02:00
ratkosrb 4f05939da1 Remove Immune to NPC flag from Gilthares Firebough when starting escort.
Closes https://github.com/vmangos/core/issues/827
2020-11-16 06:09:45 +02:00
ratkosrb 39960c4fcc New script for quest Vorsha the Lasher. 2020-11-16 05:10:23 +02:00