2017-11-21 03:19:08 -02:00
|
|
|
#ifndef _CALCSTATS_H
|
|
|
|
#define _CALCSTATS_H
|
2017-08-20 02:46:06 -03:00
|
|
|
|
2018-03-06 22:22:19 +01:00
|
|
|
#include <Common.h>
|
2018-02-28 11:14:25 +01:00
|
|
|
#include "Forwards.h"
|
2017-08-20 02:46:06 -03:00
|
|
|
|
2017-09-27 04:31:41 -03:00
|
|
|
using namespace Core::Entity;
|
|
|
|
|
2017-08-20 02:46:06 -03:00
|
|
|
namespace Core {
|
2017-11-21 03:19:08 -02:00
|
|
|
namespace Math {
|
|
|
|
|
|
|
|
class CalcStats
|
2017-08-20 02:46:06 -03:00
|
|
|
{
|
|
|
|
public:
|
2017-09-15 00:56:29 -03:00
|
|
|
static float calculateBaseStat( PlayerPtr pPlayer );
|
2017-08-20 19:20:37 -03:00
|
|
|
static uint32_t calculateMaxMp( PlayerPtr pPlayer );
|
|
|
|
static uint32_t calculateMaxHp( PlayerPtr pPlayer );
|
2017-08-20 02:46:06 -03:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-08 15:38:25 +01:00
|
|
|
#endif
|