[Core] Fix item Lifegiving Gem, in classic it was providing 15% health (c2644)
Was changed to 1500 in tbc.
This commit is contained in:
parent
c68ae831b6
commit
25cb227e14
@ -842,9 +842,12 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||||||
m_caster->RemoveAurasDueToSpell(23170); // Brood Affliction: Bronze
|
m_caster->RemoveAurasDueToSpell(23170); // Brood Affliction: Bronze
|
||||||
return;
|
return;
|
||||||
case 23725: // Gift of Life (warrior bwl trinket)
|
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;
|
return;
|
||||||
|
}
|
||||||
case 24781: // Dream Fog
|
case 24781: // Dream Fog
|
||||||
{
|
{
|
||||||
if (m_caster->GetTypeId() != TYPEID_UNIT || !unitTarget)
|
if (m_caster->GetTypeId() != TYPEID_UNIT || !unitTarget)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user