Skip to content

Commit

Permalink
[z1243] Fixed 23881 and ranks for 1.x spell data.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
sidsukana authored and VladimirMangos committed Jan 13, 2011
1 parent 5e42fed commit e684aef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions src/game/Spell.cpp
Expand Up @@ -934,14 +934,8 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)

caster->DealSpellDamage(&damageInfo, true);

// Judgement of Blood
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000800000000) && m_spellInfo->SpellIconID==153)
{
int32 damagePoint = damageInfo.damage * 33 / 100;
m_caster->CastCustomSpell(m_caster, 32220, &damagePoint, NULL, NULL, true);
}
// Bloodthirst
else if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellInfo->SpellFamilyFlags & UI64LIT(0x40000000000))
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000002000000))
{
uint32 BTAura = 0;
switch(m_spellInfo->Id)
Expand All @@ -950,8 +944,6 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
case 23892: BTAura = 23886; break;
case 23893: BTAura = 23887; break;
case 23894: BTAura = 23888; break;
case 25251: BTAura = 25252; break;
case 30335: BTAura = 30339; break;
default:
sLog.outError("Spell::EffectSchoolDMG: Spell %u not handled in BTAura",m_spellInfo->Id);
break;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "1242"
#define REVISION_NR "1243"
#endif // __REVISION_NR_H__

0 comments on commit e684aef

Please sign in to comment.