aboutsummaryrefslogtreecommitdiff
path: root/src/game/Formulas.h
diff options
context:
space:
mode:
authorRat <none@none>2010-06-03 16:32:28 +0200
committerRat <none@none>2010-06-03 16:32:28 +0200
commit9ebb2dcca8121be8938b380b4fd58116ebbacaf1 (patch)
tree1ed4aec254785a42a30f535c0891f26e21113361 /src/game/Formulas.h
parent2e5edd301b5d1800213f0ceafda5af5dd4e2c0f6 (diff)
removed old and incorrect 80-120% honor bonus (leftover from preBC O.o)
added new honor formula for player kills added new formula for bonus honor calculation (*HK) pls test and compare with retial --HG-- branch : trunk
Diffstat (limited to 'src/game/Formulas.h')
-rw-r--r--src/game/Formulas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Formulas.h b/src/game/Formulas.h
index 81c7383de37..e5961834a78 100644
--- a/src/game/Formulas.h
+++ b/src/game/Formulas.h
@@ -29,7 +29,7 @@ namespace Trinity
{
inline uint32 hk_honor_at_level(uint8 level, uint32 count = 1)
{
- return uint32(ceil(count*2*(-0.53177f + 0.59357f * exp((level + 23.54042f) / 26.07859f))));
+ return uint32(ceil(count * (33.333f * ((float)level) / 21.50537f)));
}
}
namespace XP