[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user