mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 09:17:47 +00:00
27 lines
No EOL
476 B
C++
27 lines
No EOL
476 B
C++
#ifndef _CALCBATTLE_H
|
|
#define _CALCBATTLE_H
|
|
|
|
#include <src/servers/Server_Common/Common.h>
|
|
|
|
#include "Actor.h"
|
|
|
|
namespace Core {
|
|
namespace Entity {
|
|
|
|
class CalcBattle
|
|
{
|
|
public:
|
|
|
|
static float calculateBaseStat( PlayerPtr pPlayer );
|
|
static uint32_t calculateMaxMp( PlayerPtr pPlayer );
|
|
static uint32_t calculateMaxHp( PlayerPtr pPlayer );
|
|
static uint32_t calculateHealValue( PlayerPtr pPlayer, uint32_t potency );
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif |