mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
29 lines
No EOL
505 B
C++
29 lines
No EOL
505 B
C++
#ifndef _CALCBATTLE_H
|
|
#define _CALCBATTLE_H
|
|
|
|
#include <src/servers/Server_Common/Common.h>
|
|
|
|
#include "Actor.h"
|
|
|
|
using namespace Core::Entity;
|
|
|
|
namespace Core {
|
|
namespace Data {
|
|
|
|
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 |