* Do not let Seal of Command proc on anything other than a melee swing.

* Fix Judgement of Blood/Martyr dummy by nos4r2zod
* Fix Judgement of Command dummy by nos4r2zod

--HG--
branch : trunk
This commit is contained in:
Machiavelli committed 2009-10-06 17:09:11 +02:00
1 parent 1bd3f9604c
commit 2cd66e90c2
3 files changed
+51 -43

No files matched your search

-6
View File
@@ -1192,12 +1192,6 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
m_spellAura->SetProcDamage(damageInfo.damage);
caster->DealSpellDamage(&damageInfo, true);
// Judgement of Blood
if (m_caster && m_spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && m_spellInfo->SpellFamilyFlags[1] & 0x00000008 && m_spellInfo->SpellIconID==153)
{
int32 damagePoint = damageInfo.damage * 33 / 100;
m_caster->CastCustomSpell(m_caster, 32220, &damagePoint, NULL, NULL, true);
}
}
// Passive spell hits/misses or active spells only misses (only triggers)
else