Scripts/BloodFurnace:
* cleanup InstanceScript * fix broggok poison cloud Scripts/Naxxramas/Grobbulus: * fix poison cloud * fix mutating injection
This commit is contained in:
1 parent
1a5c0ad92f
commit
e80d1f3465
9 files changed
+541
-432
No files matched your search
@@ -879,7 +879,7 @@ class spell_dk_presence : public SpellScriptLoader
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
|
||||
if (GetSpellInfo()->Id == SPELL_DK_BLOOD_PRESENCE)
|
||||
if (GetId() == SPELL_DK_BLOOD_PRESENCE)
|
||||
target->CastSpell(target, SPELL_DK_IMPROVED_BLOOD_PRESENCE_TRIGGERED, true);
|
||||
else if (AuraEffect const* impAurEff = target->GetAuraEffectOfRankedSpell(SPELL_DK_IMPROVED_BLOOD_PRESENCE_R1, EFFECT_0))
|
||||
if (!target->HasAura(SPELL_DK_IMPROVED_BLOOD_PRESENCE_TRIGGERED))
|
||||
@@ -890,7 +890,7 @@ class spell_dk_presence : public SpellScriptLoader
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
|
||||
if (GetSpellInfo()->Id == SPELL_DK_FROST_PRESENCE)
|
||||
if (GetId() == SPELL_DK_FROST_PRESENCE)
|
||||
target->CastSpell(target, SPELL_DK_FROST_PRESENCE_TRIGGERED, true);
|
||||
else if (AuraEffect const* impAurEff = target->GetAuraEffectOfRankedSpell(SPELL_DK_IMPROVED_FROST_PRESENCE_R1, EFFECT_0))
|
||||
if (!target->HasAura(SPELL_DK_FROST_PRESENCE_TRIGGERED))
|
||||
@@ -901,12 +901,12 @@ class spell_dk_presence : public SpellScriptLoader
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
|
||||
if (GetSpellInfo()->Id == SPELL_DK_UNHOLY_PRESENCE)
|
||||
if (GetId() == SPELL_DK_UNHOLY_PRESENCE)
|
||||
target->CastSpell(target, SPELL_DK_UNHOLY_PRESENCE_TRIGGERED, true);
|
||||
|
||||
if (AuraEffect const* impAurEff = target->GetAuraEffectOfRankedSpell(SPELL_DK_IMPROVED_UNHOLY_PRESENCE_R1, EFFECT_0))
|
||||
{
|
||||
if (GetSpellInfo()->Id == SPELL_DK_UNHOLY_PRESENCE)
|
||||
if (GetId() == SPELL_DK_UNHOLY_PRESENCE)
|
||||
{
|
||||
// Not listed as any effect, only base points set
|
||||
int32 bp = impAurEff->GetSpellInfo()->Effects[EFFECT_1].CalcValue();
|
||||
|
||||
Reference in new issue
Block a user