Commit Graph

6890 Commits

Author SHA1 Message Date
Ovahlord
0299fa4fe1 Core/Misc: replace boost::optional with std::optional 2021-02-19 14:07:43 +01:00
Ovahlord
63f2dcd05e Core/Spells: dropped Fingers of Frost charge drop spell script and use the new proc attribute instead. 2021-02-19 12:56:01 +01:00
Ovahlord
1e1ebf16bd Scripts/HoO: scripted Sun-Touched Servants 2021-01-29 21:27:31 +01:00
Ovahlord
0bb7e3a385 Scripts/LCT: reworked Siamat encounter
* Modernized code all across the board
* Wailing Winds are now much closer to retail behavior
* Minions of Siamat are no longer chasing players and properly transform into clouds when possible instead of abruptly interrupting all actions
* Fixed an edge in which Siamat absorbed clouds but did not get his Gathered Storms effect
* Dropped all hacks
2021-01-26 23:19:02 +01:00
Ovahlord
9e50267eae Scripts/LCT: fixed Siamat's availability check 2021-01-26 18:13:11 +01:00
Ovahlord
f91c30868f Core/Spells: 6c0cf9580b followup and improved readability of the code
superceeds #223
2021-01-19 14:18:48 +01:00
Ovahlord
6c0cf9580b Core/Spells: block Bandit's Guile procs when the rogue has reached deep insight 2021-01-18 23:57:19 +01:00
Ovahlord
8204a3e93d Core/Spells: Bandit's Guile will now require a certain amount of successful procs before gaining the Insight buffs
closes #221
2021-01-18 19:01:48 +01:00
Ovahlord
38b4485e09 Scripts/LCT: reworked High Prophet Barim encounter
* modernized code style
* corrected behaivior of Blaze of the Heaven
* improved Plague of Age's spread reliability so it wont target already infected players
2021-01-18 18:15:41 +01:00
Ovahlord
ef4e3c675b Scripted/ZG: Ohgan is no longer on a spiritless diet and kills Chained Spirits again 2021-01-18 09:14:58 +01:00
Ovah
4a158fdf22 Core/Spells: Ancestral Vigor will now stack it's health bonus values up to 10% of their target's maximum health
closes #212
2021-01-13 05:54:54 +01:00
Giacomo Pozzoni
5e3b57bae7 Core/Unit: Fix movement hiccups in water
* Core/Unit: Allow to define Units which can enter water but cannot swim

Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea.

* Add UNIT_FLAG_SWIMMING to creatures when entering combat

* Fix charmed creatures not entering water

* Always allow Creatures controlled by players to enter water

* Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after.
When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required.
2021-01-11 12:33:54 +01:00
Ovahlord
4f50bafd03 Scripts/Ulduar: apply stalker feedback
:)
2021-01-06 15:59:33 +01:00
Ovahlord
4bc9b50a76 Scripts/Ulduar:
* initialize Assembly of Iron's boss state on instance creation
* corrected the spell id usage for Steelbreaker's Static Disruption
* moved the Lightning Elemental Passive aura to the AI script instead of setting it in template addon
* Static Disruption will no longer target non-player targets to reflect its spell attributes
* apply the Shield of Runes buff only when the aura has been removed by breaking the absorb aura instead of when it has expired
* apply script naming consistency to Molgeim's Shield of Runes script name
* removed wrong instance bind extra flags from Assembly of Iron bosses
* corrected credit type for Assembly of Iron's instance encounter entry
* registered a missing spell script function
2021-01-06 15:32:33 +01:00
Treeston
f7a79750c9 Core/Maps: All RespawnInfo* handed to outside code are now RespawnInfo const*, to signify that outside code has zero business changing these. 2021-01-03 09:44:08 +01:00
Ovahlord
89d11739a7 fixed warnings 2020-12-31 15:20:17 +01:00
Ovahlord
adb6664ab7 Scripts/BoT:
* modernized all remaining scripts
* no longer save already triggered area triggers in instance save data and block their execution only when the corresponding boss has been defeated already
* optimized area trigger scripts for boss intros by using a single shared script with different ctor arguments
* handle Cho'Gall's intro and outro texts for Halfus Wyrmbreaker
2020-12-31 15:02:17 +01:00
Ovahlord
1edd5e8c12 Scripts/FL:
* corrected Clump Check functionality to reflect retail behaivior
* Leaping Flames will now prefer nontank targets if available
2020-11-25 15:16:09 +01:00
Ovahlord
aff2bad534 Scripts/FL: implement Majordomo Staghelm encounter 2020-11-25 10:07:37 +01:00
Ovahlord
7be90a5bc7 Scripts/FL: modernize instance script to latest standards 2020-11-25 10:07:36 +01:00
Ovahlord
4ff5b6189d Core/Maps: implement new flags for instance spawn groups to allow to restrict spawn groups to horde or alliance only
*use the new flags to restrict the Scarlet Monastery Alliance spawns to alliance players only
2020-11-16 18:55:27 +01:00
Ovahlord
4a28a9d700 Core/Spells: added visual indicator when reaching max Maelstrom Weapon stacks 2020-11-14 21:42:38 +01:00
Ovahlord
40a3d5fe1f Scripts/BT: fixed warnings 2020-11-05 18:02:57 +01:00
Keader
3b2ef0ec45 Scripts/BT: full instance rewrite 2020-11-05 17:42:33 +01:00
Ovahlord
754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01:00
Ovahlord
b5f765986f Scripts/TwilightHighlands: added radius scaling for Cadaver Collage's Poison 2020-10-30 23:51:52 +01:00
Ovahlord
1174e446e0 Scripts/BWD: Maloriak's Magma Jets will now only target his victim 2020-10-30 23:35:14 +01:00
Ovahlord
3926de0ba5 Core/Spells: fixed Euphoria's mana energize effect when entering an Eclipse state 2020-10-30 22:54:31 +01:00
Ovahlord
579c6c4be2 Scripts/BWD: fixed a possible edge case in which Maloriak's Consuming Flames could get increased when taking damage from non damage class magic attacks 2020-10-30 22:22:14 +01:00
Ovahlord
d07abd9f60 Scripts/TwilightHighlands: scripted event for quest The Crucible of Carnage: Calder's Creation 2020-10-30 20:05:59 +01:00
Ovahlord
fdd96aadce Scripts/TwilightHighlands: scripted first three Crucible of Carnage arena events 2020-10-30 15:15:16 +01:00
Ovahlord
e5952a6bf5 Scripts/BRC: scripted dungeon quest chain inside of Blackrock Caverns 2020-10-29 23:12:40 +01:00
Ovahlord
4a324b3b2f fixed warnings 2020-10-29 17:28:20 +01:00
Ovahlord
33f3990f38 Scripts/ScarletMonestary: reworked Mograine and Whitemane's encounter 2020-10-29 17:10:25 +01:00
Ovahlord
38f1729a8e fixed nopch for real this time 2020-10-29 15:48:06 +01:00
Ovahlord
9b3c19fa94 nopch fix² 2020-10-29 14:32:55 +01:00
Ovahlord
101d0b44ed fixed nopch build 2020-10-29 14:20:19 +01:00
Ovahlord
3a89bf19af Scripts/TheStockades: updated all scripts to modern standards and execute Alliance specific events only when an Alliance player created the instance 2020-10-29 03:57:42 +01:00
Ovahlord
23d56d3bc6 Core/Spells: fixed warnings 2020-10-23 00:07:37 +02:00
Ovahlord
6d37b9a455 Core/Spells: Arcane Missiles will now proc on spell cast instead of spell hit and may proc from triggered missiles 2020-10-22 23:53:51 +02:00
Ovahlord
6335bccb72 Core/Spells: reworked Druid's Eclipse Handling 2020-10-22 23:51:34 +02:00
Ovahlord
561cb13ceb Scripts/Ulduar: some codestyle improvements for Assembly of Iron 2020-10-22 11:51:12 +02:00
Ovahlord
90e5e85afd Core/Misc: updated a bunch of packets to packet class 2020-10-21 12:04:13 +02:00
Ovahlord
973d4a139a Core/Spells: fixed DK T12 dps 2p and 4p bonus effects 2020-10-01 22:20:29 +02:00
Ovahlord
321a9d2b0a Scripts/Ulduar: added more cleanup mechanics to Runemaster Molgeim 2020-10-01 21:00:45 +02:00
Ovahlord
82a5ba527e Scripts/Ulduar: restored boundary functionality for Assembly of Iron encounter 2020-10-01 20:45:51 +02:00
Ovahlord
af164c8ace Scripts/Ulduar: minor cleanup 2020-10-01 20:28:56 +02:00
Ovahlord
d753df4ae9 Core/Spells: improved spell finish reason enum naming for finished channeled spells 2020-10-01 20:24:03 +02:00
Ovahlord
e04389e539 Scripts/Ulduar: reworked Assembly of Iron encounter 2020-10-01 16:59:18 +02:00
Ovahlord
84a5437001 Core/Spells: updated Lava Surge spell scripts to new model and added db proc entry 2020-09-28 21:05:34 +02:00