Commit Graph

1072 Commits

Author SHA1 Message Date
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
ratkosrb 9dd5f97482 New script for quest Ulag the Cleaver.
Closes https://github.com/vmangos/core/issues/860
2020-11-14 21:46:21 +02:00
ratkosrb f8b965a399 Fix a bug that was preventing Field Marshal Teravaine from spawning. 2020-11-10 01:09:39 +02:00
ratkosrb 85ac585662 Redesign creature addon table. 2020-11-08 02:45:00 +02:00
ratkosrb 91134917bf Rename unit byte flags and add offsets enum. 2020-11-07 15:22:38 +02:00
NickTyrer f0cd647c06 Update abilities of faction leaders (#819) 2020-11-02 12:48:47 +02:00
Grodien 97a013283b Princess Huhuran should not cast Wyvern Sting after Berserk (#798) 2020-11-02 12:04:40 +02:00
ratkosrb ca8f5d3e1b Update Hateful Strike targeting logic.
https://www.youtube.com/watch?v=TBW_tvnKy1w
2020-10-24 06:57:05 +03:00
ratkosrb 2ab9b85b84 Correct factions for multiple creatures. 2020-10-23 11:07:20 +03:00
놀린 3d738329f6 Remove french debug code from winterspring.cpp 2020-10-13 16:46:06 +02:00
ratkosrb b99344ebfc Add gossip menu for Nelson the Nice. 2020-10-11 05:32:10 +03:00
ratkosrb e0a7820c61 Replace irand usage with urand to fix Naxx text errors. 2020-10-08 05:32:54 +03:00
alexkulya 70000972a3 Replace script texts ids with broadcast texts in Naxx scripts (#810) 2020-10-08 05:31:30 +03:00
ratkosrb 4ba6a87d19 Add more missing gossip menus.
Closes https://github.com/vmangos/core/issues/806

Closes https://github.com/vmangos/core/issues/805
2020-10-08 05:05:02 +03:00
ratkosrb ce8cc4a642 Add more missing gossip menus. 2020-09-28 15:29:11 +03:00