aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-14 16:11:58 +0100
committerBlaymoira <none@none>2008-12-14 16:11:58 +0100
commitd7f76aec992a36817a3ab474379aa2b7421ebfed (patch)
treebd085c7a211fc3e2e0c94eb665f00af68ee8421e /src
parent9b01f0055151fe2e9f5071d83a2abead1d0b4f4e (diff)
*Fixed spell 39445
*Added missing DoMeleeAttackIfReady(); in phase hunter script patch provided by Anubisss --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp5
-rw-r--r--src/game/Unit.cpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp b/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp
index fbb4c20379b..3449b863a27 100644
--- a/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp
+++ b/src/bindings/scripts/scripts/zone/netherstorm/netherstorm.cpp
@@ -444,8 +444,7 @@ struct TRINITY_DLL_DECL mob_phase_hunterAI : public ScriptedAI
DoCast(target, SPELL_MANA_BURN);
ManaBurnTimer = 8000 + (rand()%10 * 1000); // 8-18 sec cd
}
- }
- else ManaBurnTimer -= diff;
+ }else ManaBurnTimer -= diff;
if(!Weak && m_creature->GetHealth() < (m_creature->GetMaxHealth() / 100 * WeakPercent) && target->GetQuestStatus(10190) == QUEST_STATUS_INCOMPLETE) // start: support for quest 10190
{
@@ -473,6 +472,8 @@ struct TRINITY_DLL_DECL mob_phase_hunterAI : public ScriptedAI
DrainedPhaseHunter->AI()->AttackStart(target);
}
} // end: support for quest 10190
+
+ DoMeleeAttackIfReady();
}
};
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 8bf2968fd40..754717670f5 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8632,6 +8632,11 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
{
CastingTime = 0;
}
+ // Darkmoon Card: Vengeance - 0.1%
+ else if (spellProto->SpellVisual == 9850 && spellProto->SpellIconID == 2230)
+ {
+ CastingTime = 3.5;
+ }
case SPELLFAMILY_MAGE:
// Ignite - do not modify, it is (8*Rank)% damage of procing Spell
if(spellProto->Id==12654)