[7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-29 17:21:06 -06:00
parent 77d2786091
commit 7668b6aae6
4 changed files with 17 additions and 13 deletions
+3
View File
@@ -1293,6 +1293,9 @@ struct SpellEntry
uint32 runeCostID; // 229 m_runeCostID
//uint32 spellMissileID; // 230 m_spellMissileID not used
// helpers
int32 CalculateSimpleValue(uint8 eff) const { return EffectBasePoints[eff]+int32(EffectBaseDice[eff]); }
private:
// prevent creating custom entries (copy data from original in fact)
SpellEntry(SpellEntry const&); // DON'T must have implementation