[Core] Fix item Lifegiving Gem, in classic it was providing 15% health (c2644)

Was changed to 1500 in tbc.
This commit is contained in:
krullgor 2015-03-26 12:15:43 +00:00 committed by Antz
parent c68ae831b6
commit 25cb227e14

View File

@ -842,9 +842,12 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->RemoveAurasDueToSpell(23170); // Brood Affliction: Bronze
return;
case 23725: // Gift of Life (warrior bwl trinket)
m_caster->CastSpell(m_caster, 23782, true);
m_caster->CastSpell(m_caster, 23783, true);
{
int32 basepoints = m_caster->GetMaxHealth() * 0.15;
m_caster->CastCustomSpell(m_caster, 23782, &basepoints, NULL, NULL, true, NULL);
m_caster->CastCustomSpell(m_caster, 23783, &basepoints, NULL, NULL, true, NULL);
return;
}
case 24781: // Dream Fog
{
if (m_caster->GetTypeId() != TYPEID_UNIT || !unitTarget)