Compare commits
	
		
			No commits in common. "cc77744827e6261c6c56ef5f16c3edee33525118" and "1a07874ff2cef0782757434bd17a493f3612a0cb" have entirely different histories.
		
	
	
		
			
				cc77744827
			
			...
			
				1a07874ff2
			
		
	
		
					 6 changed files with 4 additions and 35 deletions
				
			
		| 
						 | 
				
			
			@ -4,16 +4,11 @@
 | 
			
		|||
#include <random>
 | 
			
		||||
 | 
			
		||||
namespace character {
 | 
			
		||||
	class BillySheet final {
 | 
			
		||||
	class BillySheet {
 | 
			
		||||
	private:
 | 
			
		||||
		std::mt19937_64 engine{ std::random_device{ "rdseed" }() };
 | 
			
		||||
 | 
			
		||||
		std::string caractere{};
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		BillySheet() = default;
 | 
			
		||||
 | 
			
		||||
		~BillySheet() noexcept = default;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,17 +4,12 @@
 | 
			
		|||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
namespace character::characteristic {
 | 
			
		||||
	class Adresse final {
 | 
			
		||||
	class Adresse {
 | 
			
		||||
	private:
 | 
			
		||||
		const std::uint32_t base{ 1 };
 | 
			
		||||
		std::uint32_t carac{ 0 };
 | 
			
		||||
		std::uint32_t materiel{ 0 };
 | 
			
		||||
		std::uint32_t additional{ 0 };
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		Adresse() noexcept = default;
 | 
			
		||||
 | 
			
		||||
		~Adresse() noexcept = default;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,17 +4,12 @@
 | 
			
		|||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
namespace character::characteristic {
 | 
			
		||||
	class Chance final {
 | 
			
		||||
	class Chance {
 | 
			
		||||
	private:
 | 
			
		||||
		const std::uint32_t base{ 3 };
 | 
			
		||||
		std::uint32_t carac{ 0 };
 | 
			
		||||
		std::uint32_t materiel{ 0 };
 | 
			
		||||
		std::uint32_t additional{ 0 };
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		Chance() noexcept = default;
 | 
			
		||||
 | 
			
		||||
		~Chance() noexcept = default;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,19 +8,12 @@
 | 
			
		|||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
namespace character::characteristic {
 | 
			
		||||
	class Endurance final {
 | 
			
		||||
	class Endurance {
 | 
			
		||||
	private:
 | 
			
		||||
		const std::uint32_t base{ 2 };
 | 
			
		||||
		std::uint32_t carac{ 0 };
 | 
			
		||||
		std::uint32_t materiel{ 0 };
 | 
			
		||||
		std::uint32_t additional{ 0 };
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		Endurance() noexcept = default;
 | 
			
		||||
 | 
			
		||||
		~Endurance() noexcept = default;
 | 
			
		||||
 | 
			
		||||
		[[nodiscard]] std::uint32_t get_max_lp() const noexcept;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,11 +10,6 @@ namespace character::characteristic {
 | 
			
		|||
		std::uint32_t carac{ 0 };
 | 
			
		||||
		std::uint32_t materiel{ 0 };
 | 
			
		||||
		std::uint32_t additional{ 0 };
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		Habilete() noexcept = default;
 | 
			
		||||
 | 
			
		||||
		~Habilete() noexcept = default;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1 @@
 | 
			
		|||
#include "characteristic/endurance.hpp"
 | 
			
		||||
 | 
			
		||||
std::uint32_t character::characteristic::Endurance::get_max_lp() const noexcept {
 | 
			
		||||
	return (base + carac + materiel + additional) * 3;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue