[7041] Add 7-8 rank warlock stone

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
GriffonHeart 2009-01-06 19:43:01 +03:00
parent dc19fc4ca3
commit e30f8dd816
2 changed files with 7 additions and 3 deletions

View file

@ -4615,13 +4615,15 @@ void Spell::EffectScriptEffect(uint32 effIndex)
}
}
static uint32 const itypes[6][3] = {
static uint32 const itypes[8][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
{22103,22104,22105}, // Master Healthstone
{36889,36890,36891}, // Demonic Healthstone
{36892,36893,36894} // Fel Healthstone
};
switch(m_spellInfo->Id)
@ -4632,6 +4634,8 @@ void Spell::EffectScriptEffect(uint32 effIndex)
case 11729: itemtype=itypes[3][rank];break; // Greater Healthstone
case 11730: itemtype=itypes[4][rank];break; // Major Healthstone
case 27230: itemtype=itypes[5][rank];break; // Master Healthstone
case 47871: itemtype=itypes[6][rank];break; // Demonic Healthstone
case 47878: itemtype=itypes[7][rank];break; // Fel Healthstone
default:
return;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7040"
#define REVISION_NR "7041"
#endif // __REVISION_NR_H__