Skip to content

Commit

Permalink
Remove reference to TBC rank of healthstone. (vmangos#2800)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamemechanicwow authored Oct 15, 2024
1 parent 617859b commit e20fe8a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5314,7 +5314,6 @@ void Spell::EffectScriptEffect(SpellEffectIndex effIdx)
case 5699:
case 11729:
case 11730:
case 27230:
{
if (!unitTarget)
return;
Expand All @@ -5336,14 +5335,13 @@ void Spell::EffectScriptEffect(SpellEffectIndex effIdx)
}
}

static uint32 const itypes[6][3] =
static uint32 const itypes[5][3] =
{
{ 5512, 19004, 19005}, // Minor Healthstone
{ 5511, 19006, 19007}, // Lesser Healthstone
{ 5509, 19008, 19009}, // Healthstone
{ 5510, 19010, 19011}, // Greater Healthstone
{ 9421, 19012, 19013}, // Major Healthstone
{22103, 22104, 22105} // Master Healthstone
{ 9421, 19012, 19013} // Major Healthstone
};

switch (m_spellInfo->Id)
Expand All @@ -5363,9 +5361,6 @@ void Spell::EffectScriptEffect(SpellEffectIndex effIdx)
case 11730:
itemtype = itypes[4][rank];
break; // Major Healthstone
case 27230:
itemtype = itypes[5][rank];
break; // Master Healthstone
default:
return;
}
Expand Down

0 comments on commit e20fe8a

Please sign in to comment.