Commit graph

66 commits

Author SHA1 Message Date
cala
8645d64dab Move slow/freeze phases of Viscidus to aura proc
* Use proper aura proc in Viscidus encounter to handle slow down effect on frost damage or shatter on melee damage
* Move hit count for each phase to a dedicated function as ground work for a coming update
2021-03-29 23:17:31 +02:00
cala
2feaef679e Move spell 29201 to SpellScript
* Move spell 29201 (Corrupted Mind) to SpellScript used by Loatheb in Naxxramas
2021-03-22 22:08:33 +01:00
killerwife
83ec4854ad Rogue: Distract, earthbind and mass dispel should not proc stealth
Closes https://github.com/cmangos/mangos-tbc/pull/443
2021-03-16 18:43:34 +01:00
cala
887e536808 Move spell 2400 to SpellScript
* Move spell 2400 (Transfer Powers) to SpellScript
2021-03-15 00:00:37 +01:00
cala
57d6caec6a Move Hateful Strike to SpellScript 2021-03-14 22:34:57 +01:00
cala
606753ab43 Re-implement Hakkar's health scaling
* Re-implement Hakkar's health scaling using proper spells.
Closes https://github.com/cmangos/issues/issues/2189
2021-03-12 21:32:25 +01:00
cala
7376183eaa Move spell 28732 to SpellScript
* Move spell 28732 (Widow's Embrace) used in Grand Widow Faerlina to SpellScript
2021-03-11 21:16:57 +01:00
MantisLord
ad7bcb5ed7 Spell: Add script for ABEffect000 28441
Also remove old hack for the spell in IsPositiveEffect
2021-03-11 11:21:15 -05:00
Grz3s
a95914cef7 Spell: 17016 Radius corrected
Rarius corrected for both effects
- eff0 must be 0
- eff1 set to 10
Will prevent charges wastege in case if summoned out of  source radius. (spellfocus)
2021-02-13 11:56:22 +01:00
cala
03b7725e23 Implement Digestive Acid auto-reapply
* Implement Digestive Acid auto-reapply in C'Thun encounter in Temple of Ahn'Qiraj
2021-02-06 17:29:16 +01:00
cala
7edcdc912d Implement reset through spell in C'Thun encounter
* Implement reset through spell in C'Thun encounter: use proper spell mechanics to reset C'Thun encounter both in Phase 1 and Phase 2 (excluding weakened phase rotation)
Thanks @Tobschinski for his precious help on the matter
2021-02-04 22:51:50 +01:00
cala
3f113aae5c Sunken Temple: Rework Avatar of Hakkar summoning with SpellScript
* Sunken Temple: Rework Avatar of Hakkar summoning with SpellScript: drop old dummy effect handling and use SpellScrip instead
2021-01-25 23:01:47 +01:00
cala
72033b2d25 Sunken Temple: complete summoning circles implemention
* Sunken Temple: complete summoning circles implemention in Avatar of Hakkar event
2021-01-25 21:46:29 +01:00
cala
e904d18512 Remove script for non-existing spell
* Spell 26980 (Regrowth) was added in TBC
2021-01-12 14:30:52 +01:00
killerwife
e9c015370b Reimplement Rogue Preparation using SpellScript and adjust rule for vanilla 2021-01-12 09:56:31 +01:00
cala
37eae40766 Script spell 26230
* Script spell 26230 (Exit Stomach) used in C'Thun encounter in Temple of Ahn'Qiraj. Effect 1 now properly removes Digestive Acid debuff.
2021-01-08 14:33:23 +01:00
Warlockbugs
8d5bbc6576
Refactor a few scripted bounces into separate SpellScripts 2021-01-08 12:07:27 +03:00
killerwife
925750dc58 Readd missing comma in spell.sql file 2021-01-02 18:13:41 +01:00
killerwife
8fda00970b Fix merge conflict due to blackout in spell.sql 2021-01-01 17:44:38 +01:00
killerwife
37f59a6476 Reimplement Regrowth tick tier3 set bonus using OnPeriodicTickEnd 2021-01-01 17:08:31 +01:00
killerwife
1c4adc0a50 Add script to Blackout to prevent proccing from non damage spells 2021-01-01 17:05:12 +01:00
killerwife
9e2acb57fa Give Spirit of Redemption full damage immunity and use heal properly 2021-01-01 16:56:03 +01:00
cala
76bf87e9d0 Script spell 26332
* Script spell 26332 (Summon Mouth Tentacle) used in C'Thun encounter in Temple of Ahn'Qiraj: players affected by Summon Mouth Tentacle spell are teleported to C'Thun stomach area when aura is removed
2020-12-17 14:37:14 +01:00
cala
1319aefd4a Merge all C'Thun's tentacles summon spells
* Merge all C'Thun's tentacles summon spells into a single one spell script
2020-12-17 14:36:55 +01:00
cala
fbd7793d38 Implement spell 26237
* Implement spell 26237 (Summon Mouth Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-12-17 14:36:47 +01:00
cala
cf46edf85f Rework Giant Claw Tentacle AI
* Rework Giant Claw Tentacle AI:
- Use proper spells for teleporting when not tanked
- Prevent teleporting if not tanked only for a short time when check timer expires
- Implement spell 26205 (Teleport Giant Hook Tentacle Trigger)
2020-12-17 14:36:25 +01:00
cala
521240e50d Implement spell 26213
* Implement spell 26213 (Summon Giant Hook Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-12-17 14:36:14 +01:00
cala
966fcc2bad Implement spell 26769
* Implement spell 26769 (Summon Eye Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-12-17 14:35:06 +01:00
cala
ebedc5ef87 Implement spell 26766
* Implement spell 26766 (Summon Giant Eye Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-12-17 14:34:53 +01:00
MantisLord
b15568a7d1 Dire Maul: Warlock Dreadsteed ritual event fixes
- Fix errors and add proper failure condition

- Use proper GameObject casting for ritual objects now that it's possible to do

Requires pending DB update
2020-12-13 16:24:46 -05:00
killerwife
b74f2dde41 Script one instance of 50% removal possess spell 2020-11-04 14:00:14 +01:00
killerwife
7ad0c029e5 Implement Gnomish Death Ray spell script
Closes https://gitlab.com/lights-vengeance/issues/-/issues/406
2020-11-04 13:18:37 +01:00
killerwife
4bf57fa63f Make Arcane Concentration proc only once per spellcast 2020-11-04 12:29:13 +01:00
killerwife
6e5c3b9a9b Fix warrior execute consuming rage erratically 2020-11-04 12:21:01 +01:00
killerwife
28eba0fb92 Reimplement warrior execute more in line with mechanics and fix errors with it 2020-11-04 12:03:53 +01:00
killerwife
a96ae5a2e8 Implement prototype script for s16380 for aggroing in proximity 2020-10-25 10:00:22 +01:00
killerwife
eb40dfb3aa Add ashbringer spell changes and script for force reaction 2020-10-15 12:22:57 +02:00
Xfurry
6a4e7f79d9 Spell scripts: Add spell scripts for BG and OPvP banners
These spells handle player click on flag for battleground and outdoor pvp scripts

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com>

(based on cmangos/mangos-wotlk@99db19bc6)

(based on cmangos/mangos-tbc@2d3958900)
2020-10-11 00:58:57 +02:00
killerwife
a596f6ac05 Implement BG capture animation and add missing spell for Zangar OPVP 2020-09-27 17:35:19 +02:00
cala
cda9ff912f Rework Dark Glare in C'Thun encounter
* Rework Dark Glare in C'Thun encounter in Temple of Ahn'Qiraj :
- use Spell Script
- Move it to boss script
- Fix spell by preventing conflicting NPC orientation instructions
2020-09-18 16:58:17 +02:00
cala
ee2accf064 Script spell 26152
* Script spell 26152 (Summon Eye Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-09-18 16:57:52 +02:00
cala
e783c301d8 Script spell 26398
* Script spell 26398 (Summon Hook Tentacles) used in C'Thun encounter in Temple of Ahn'Qiraj
2020-09-18 16:57:35 +02:00
killerwife
b42e306d35 Reimplement Life Tap using SpellScript 2020-08-31 11:48:39 +02:00
Warlockbugs
930ee3004a
Fix scriptdev2 spellscript sql file structure
Take in account repo-specific changes

Close https://github.com/cmangos/issues/issues/2170
2020-04-18 19:52:29 +03:00
Warlockbugs
f2dabbffb0
Aura Stacking Rewrite: Implement rules for Power Infusion and Arcane Power
> Patch 1.10.2 (2006-05-02):
> Arcane Power: This aura will no longer stack with Power Infusion. If you use it, Arcane Power's aura will replace Power Infusion's aura.
> Power Infusion: This aura will no longer stack with Arcane Power. If you attempt to cast it on someone with Arcane Power, the spell will fail.

Implementation notes:
* These spells have no auras in common, so aura comparision is not used
* Dedicated spell specific will make sure these spells are unique per target, they will compete for single buff slot
* Spell script will prevent Power Infusion from being casted on a target when Arcane Power buff is present
2020-04-18 08:49:59 +03:00
cala
5f7a9959f4 Rework and/or add phase 2 and 3 of Kel'Thuzad encounter
* Rework and/or add phase 2 and 3 of Kel'Thuzad encounter in Naxxramas:
- Remove unused emotes (added in WotLK)
- Fix many timers
- Fix some targets in Kel'Thuzad abilities
- Fix Frost Blast
- Implement Chains of Kel'Thuzad (group mind control)
- Properly summon adds in phase 3
- Add Blood Tap ability for Guardian of Icecrown in phase 3
- Add dispell for Kel'Thuzad in phase 3 if more than 3 Guardians of Icecrown are crowd controlled
- Fix and add emotes
2020-04-13 16:50:04 +02:00
cala
ff7fc6337a Implement spell 28408
* Implement spell 28408 (Chains of Kel'Thuzad) used in Kel'Thuzad encounter in Naxxramas
2020-04-08 13:52:58 +02:00
cala
7fbc7e3f9f Fix spell 27808
* Fix spell 27808 (Frost Blast) used by Kel'Thuzad in Naxxramas. Triggered spell requires the original aura caster (Kel'Thuzad) as caster and not the targetted player.
2020-04-07 17:53:26 +02:00
cala
0f2247ad99 Full rework of Kel'Thuzad phase 1
* Full rework of Kel'Thuzad phase 1 in Naxxramas:
- Remove WotLK emote
- Use proper spells for summoning and spell logic
- Improve timers so that adds come more and more quickly, as they should
- Add visual effects on channeling
- Improve intro and encounter start flavour by adding and activating missing GO and spawning initial adds in three waves
- Initiate encounter through dedicated area trigger and not through LoS
- Change Kel'Thuzad combat start (he does not aggro until phase 2)
- Move almost all phase 1 control to the related periodic aura
- Fix adds AI: only those periodically summoned should aggro on spawn

Important note: Timers for periodic summon auras are guesswork based on severals original videos as WotLK sniffs are of no use here. Basic statistic analysis were used to define these timers but there are other solutions to that same mathematical problems. It is also possible (though unlikely) that auras stacks at some point instead of replacing each other. We will need Classic sniffs when available to improve this.
2020-04-04 13:51:36 +02:00
cala
3ce3d2a96b Full rework of Gothik script
* Full rework of Gothik script in Naxxramas:
- Properly implement summoning of Unrelenting adds
- Correct timers
- Handle edge cases
- Properly reset stage to prevent Gothik from being stuck below his balcony on evade or adds to linger in the room
- Remove WotLK emotes
- Fix balcony phase for Gothik
- Revert central gate opening to what it was in Classic/TBC
2020-02-18 15:32:54 +01:00