diff options
| author | KingPin <none@none> | 2008-10-22 07:02:05 -0500 |
|---|---|---|
| committer | KingPin <none@none> | 2008-10-22 07:02:05 -0500 |
| commit | 14598dd84f489a31cf451aeadd1bfea82f9a1cd7 (patch) | |
| tree | c3954d0871e76a2cdb244a178acf74e9678d092f /src/game/Formulas.h | |
| parent | bde02d68298e31eb972ada39e5730786d629d32a (diff) | |
[svn] * Implement honor rewards from quests - Source Mangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Formulas.h')
| -rw-r--r-- | src/game/Formulas.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Formulas.h b/src/game/Formulas.h index d7ddebe6ada..c4906dde888 100644 --- a/src/game/Formulas.h +++ b/src/game/Formulas.h @@ -25,6 +25,13 @@ namespace Trinity { + namespace Honor + { + inline uint32 hk_honor_at_level(uint32 level, uint32 count=1) + { + return ceil(count*(-0.53177f + 0.59357f * exp((level +23.54042f) / 26.07859f ))); + } + } namespace XP { typedef enum XPColorChar { RED, ORANGE, YELLOW, GREEN, GRAY }; |
