[svn] * Implement honor rewards from quests - Source Mangos

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-10-22 07:02:05 -05:00
parent bde02d6829
commit 14598dd84f
7 changed files with 43 additions and 50 deletions
+7
View File
@@ -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 };