32 Commits
Author SHA1 Message Date
Unholychick f44364d72a Merge pull request #15164 from LuqJensen/mimiron
Scripts/Ulduar: Fix a visual issue with Mimirons Rocket Strike and Fix Mimiron DB target attacking players
(cherry picked from commit 66bbdfb82cc27eb6fd39b93e8c11ea0aedf21c75)

Conflicts:
	sql/updates/world/2015_07_26_05_world.sql
2015-07-27 01:31:25 +01:00
Unholychick 24af925c96 Spells/Scripts: Some small fixes to spell_dk.cpp 2015-01-28 21:58:08 +01:00
Unholychick 870d50648f Scripts/Spells: Fix some faulty code in spell_dk.cpp
thanks to @joschiwald
2015-01-27 17:38:06 +01:00
Unholychick 0eb025512d Scripts/Spells: Update several Death Knight spell scripts
New Scripts:
Army Transform
Festering Strike
Glyph of Death's Embrace
Glyph of Foul Menagerie
Glyph of Runic Power
Glyph of the Geist
Glyph of the Skeleton
Periodic Taunt
Soul Reaper
Unholy Blight

Updated to 6.x:
Anti-Magic Shell
Blood Boil
Death and Decay
Death Coil
Death Pact
Death Strike
Icebound Fortitude
Raise Dead
Vampiric Blood
Will of the Necropolis

Deprecated and removed Scripts:
spell_dk_anti_magic_shell_raid
spell_dk_anti_magic_shell_self
spell_dk_anti_magic_zone
spell_dk_blood_gorged
spell_dk_butchery
spell_dk_death_strike_enabler
spell_dk_improved_blood_presence
spell_dk_improved_frost_presence
spell_dk_improved_unholy_presence
spell_dk_necrotic_strike
spell_dk_pestilence
spell_dk_presence
spell_dk_rune_tap_party
spell_dk_scent_of_blood
spell_dk_scourge_strike

Closes #13759
2015-01-12 23:49:19 +00:00
Unholychick 1f39b1dbfa Core/Scripts: Rewrite Devour Magic
Rewrite Devour Magic to use new spellscript hook OnEffectSuccessfulDispel.
2014-12-25 22:28:57 +01:00
Unholychick ebf95e7ed7 Core/Scripts: Add new SpellScript hook OnEffectSuccessfulDispel
Adds SpellScript hook to execute scripts after succesful dispels, example could be warlock pets Devour Magic, which should only trigger when succesfully dispelling an aura.
2014-12-25 22:21:15 +01:00
Unholychick cedc971194 Scripts/Ulduar: Fix Ignis' golems not shattering in 25m
Closes #10519

(cherry picked from commit 60493b3057034833dc24674d688eae9bf3d77505)
2014-10-29 15:57:11 -02:00
yesitsme de7b503cc4 Core/SmartScripts: Fix multiple target_types
Checking the worldobjects GUID against the iterators GUID instead of pointer to worldobject against pointer to iterator, as 2 different pointers may point to the same object.
Closes #12670
2014-10-09 00:04:04 +02:00
Unholychick a51c3ac5fe Core/Mechanics: Fix prevent fleeing + fear
Closes #9754

Players should never have been affected by SPELL_AURA_PREVENTS_FLEEING in the first place.
Curse of Recklessness will no longer prevent Fear effects, only prevent NPCs from fleeing (e.g. at low health).
Judgement of Justice will no longer prevent Fear effects, but will only prevent NPCs from fleeing (e.g. at low health).
Source: http://www.wowwiki.com/Patch_3.0.2
2014-09-19 22:16:49 +02:00
Unholychick 6477e96cca Core/Spells: Fix some -Wconversion warnings
Attempt to fix #13152 by properly casting between data types during damage calculations.
2014-09-16 23:56:05 +02:00
Unholychick 7c13b383cd Scripts/Ulduar: Implement Mimiron
Closes #12894
Fixes #7652
Fixes #4736

Signed-off-by: DDuarte <[email protected]>
2014-08-28 22:04:01 +01:00
Unholychick 377f385c81 Scripts/Ulduar: Spellscripts for Mimiron
Closes #12579

Signed-off-by: DDuarte <[email protected]>
2014-08-18 22:01:47 +01:00
Unholychick 61f59acf81 Scripts/Ulduar: Implement Mimiron
TODO:
Make ACU hover properly (not fly, but hover).
Fix laser barrage visual not always being infront of VX-001. Problem is
caused by bad orientation update on spellcast.
2014-06-23 02:10:29 +02:00
yesitsme 77d70fbc0c Core/Spells fix 0442ff5c99
Let it apply only to players
2014-06-17 16:44:24 +02:00
Unholychick bd0dd6443f Core/Spells: Fix Leader of the Pack
Broken with 6b430db910 because we used the wrong spell...
2014-06-16 23:07:38 +02:00
Unholychick 6b430db910 Core/Spells: Implement SPELL_ATTR7_CAN_RESTORE_SECONDARY_POWER
spells without this attribute will no longer energize secondary power.
Druids in cat form will no longer be able to replenish mana from every kind of spell
2014-06-16 01:38:46 +02:00
Unholychick 52c0fc96bb Move pestilence to spellscripts
Fixes crash and warnings introduced in d4bbc26261
Fixes a bug that allowed dks to spread diseases using another dks diseases
Closes: https://github.com/TrinityCore/TrinityCore/issues/12245
2014-06-11 20:03:30 +02:00
Lucas d1e2768450 Fix Warnings 2014-06-09 23:11:06 +02:00
Unholychick b651789cb0 Core/Spells: Implement Periodic mechanics
Change behaviour of single target periodic aura ticks to be more blizzlike
Also add some missing handling of SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
Fixes Deep wounds and Chimera Shot Serpent
Remove an ancient hack with Drain Soul, spell id 100001 can now be deleted from spell_dbc table
Allows Rolling dot mechanics and allows DK's to roll diseases with pestilence,
see link for info:

http://forums.elitistjerks.com/topic/82503-frost-dps-in-333this-will-be-a-day-long-remembered/page-88
2014-06-09 23:10:56 +02:00
Lucas 5d40838207 Fix Warnings 2014-06-08 21:21:49 +02:00
Unholychick d4bbc26261 Core/Spells: Implement Periodic mechanics
Change behaviour of single target periodic aura ticks to be more blizzlike
Also add some missing handling of SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
Fixes Deep wounds and Chimera Shot Serpent
Remove an ancient hack with Drain Soul, spell id 100001 can now be deleted from spell_dbc table
Allows Rolling dot mechanics and allows DK's to roll diseases with pestilence,
see link for info:

http://forums.elitistjerks.com/topic/82503-frost-dps-in-333this-will-be-a-day-long-remembered/page-88
2014-06-07 19:13:57 +02:00
Lucas 82cefb661d Core/Spells: Implement SPELL_ATTR4_FIXED_DAMAGE
Spells with this attribute will ignore damage taken auras except for mechanic damage taken (trauma, etc) and will ignore resilience because the damage caused by those spells is based off another spell' damage
2014-06-02 15:41:02 +02:00
Lucas 065207b1b8 Core/Spells: Correct a mistake in HOT aura procs
A crash fix was added in 3e0d2e4944
but the usage of spellProcEvent itself was incorrect, we should instead use spellProto of aura to be procced
2014-05-03 02:28:49 +02:00
Lucas 3e78578f27 Core/Spells: Fix hots proccing wrong auras
& Partly revert unnecessary changes in 1719e19572
2014-05-02 16:17:45 +02:00
Lucas 1719e19572 Fix percentage HOTs proccing everything
Unforeseen sideeffect of 057169c21c
Percentage HOTs are not supposed to proc anything at all.
Closes: https://github.com/TrinityCore/TrinityCore/issues/11914
2014-04-27 22:47:54 +02:00
Unholychick 574fa30ea6 Core/Spells: Convert Avenging Wrath to spellscript
Closes #11896
Closes #3464
2014-04-18 20:21:05 +02:00
Unholychick 057169c21c Fix done & taken procs
Corrects the logic for dot/hot procs and fixes spells such as althor's abacus, egg of mortal essence, black magic, spiritual attunement etc etc.
Reverts the remaining part of 8edf6247c0
2014-04-15 00:03:01 +02:00
Unholychick 7a0c2fc4f7 Fix SPELL_DAMAGE_CLASS_NONE unable to crit
Corrected logic mistake where switch fallthrough was intended (or should have been).
Fixes the following.
// Earth Shield
// Lifebloom Final Bloom
// Divine Hymn
// Item - Bauble of True Blood 10m
// Item - Bauble of True Blood 25m
2014-04-08 14:32:31 +02:00
Unholychick 7b55dcf0f8 Fix SPELL_AURA_MOD_AOE_AVOIDANCE
There is not a single spell using this aura, but now it works :)
2014-04-07 09:50:05 +02:00
Unholychick 28ba3d04b3 Partly revert 8edf6247c0
This wasnt the correct way to fix trinkets and talents that should proc on periodic heals, as it also made talents that procs off spells with casttime proc...
Mentioned are affected, but there is a potential fix in:
https://github.com/TrinityCore/TrinityCore/issues/1896

NOTE to self: learn to use the proc_flag table
2014-04-05 21:06:14 +02:00
Unholychick 8edf6247c0 Fix trinkets/talents procs on hots taken/done 2014-04-01 10:09:26 +02:00
Unholychick 8f607ed8a3 Revert f79a8813a0 2014-04-01 10:06:37 +02:00