[svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston. * Fixed compile warnings in gcc. Patch provided by WarHead. --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ namespace Trinity
|
||||
{
|
||||
inline uint32 hk_honor_at_level(uint32 level, uint32 count=1)
|
||||
{
|
||||
return ceil(count*(-0.53177f + 0.59357f * exp((level +23.54042f) / 26.07859f )));
|
||||
return (uint32) ceil(count*(-0.53177f + 0.59357f * exp((level +23.54042f) / 26.07859f )));
|
||||
}
|
||||
}
|
||||
namespace XP
|
||||
|
||||
Reference in New Issue
Block a user