aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-06 13:55:14 -0600
committermegamage <none@none>2009-01-06 13:55:14 -0600
commit6288ca7c687bba7180f4aa6a3ac1de64abbfbe66 (patch)
tree39284cf3dea1d6deefce7ed699ba9bbf3a516910 /src/game/SpellEffects.cpp
parent5b2c61e95e3c46fbeaef53f4651c8198b68e4d3d (diff)
*Mangos [7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail. By VladimirMangos.
Support localization string fields for new table. Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr. *Mangos [7041] Add 7-8 rank warlock stone. By GriffonHeart. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d57c8875041..11d1fa7f501 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4750,13 +4750,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)
@@ -4767,6 +4769,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;
}