#pragma once 
#include "mof/tstring.h"

namespace et{

	struct BattlerParameter{
		mof::tstring name;
		bool alive;
		bool guard;
		bool critical;
		int hp;
		int maxHp;

		int attack;
		int diffence;

		int actionPoint;
		int speed;
		int dActionPoint;

		BattlerParameter(){
			actionPoint = 0;
			alive = true;
			guard = false;
			dActionPoint = 0;
			critical = false;
		}

		BattlerParameter(TCHAR* _name , int _hp , int _attack , int _defence , int _speed)
			: name(_name) {
				hp = maxHp = _hp;
				attack = _attack;
				diffence = _defence;
				actionPoint = 0;
				speed = _speed;
				alive = true;
				guard = false;
				dActionPoint = 0;
				critical = false;
		}
	};

};