Initial MSVC 2008 projects workspace
This commit is contained in:
28
l2packets/l2world/L2Experience.h
Normal file
28
l2packets/l2world/L2Experience.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef H_L2_EXPERIENCE_
|
||||
#define H_L2_EXPERIENCE_
|
||||
|
||||
/** \class L2Experience
|
||||
* Some functions and constants to work with player exp values.
|
||||
*/
|
||||
|
||||
class L2Experience
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Converts exp value to current exp percent.
|
||||
* \param exp current experience value
|
||||
* \return precent value in current level
|
||||
*/
|
||||
static double getExpPercent( long long exp );
|
||||
|
||||
public:
|
||||
/**
|
||||
* This is the first UNREACHABLE level.<BR>
|
||||
* ex: If you want a max at 85 & 100.00%, you have to put 86.<BR><BR>
|
||||
*/
|
||||
static const int MAX_LEVEL = 86;
|
||||
static const int MIN_NEWBIE_LEVEL = 6;
|
||||
static const int MAX_NEWBIE_LEVEL = 39;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user