DarkflameServer/dGame/dGrim/DamageProfile.h
wincent 5973430720 Grim LU
Wincent's attempt at making LU into something it isn't supposed to be, an ARPG.
2023-07-15 10:54:41 +02:00

33 lines
663 B
C++

#pragma once
#ifndef __EDAMAGEPROFILE__H__
#define __EDAMAGEPROFILE__H__
#include <cstdint>
#include <vector>
#include <map>
#include "ItemModifierTemplate.h"
class DamageProfile {
public:
DamageProfile(int32_t skillID);
~DamageProfile() = default;
void AddDamageProfile(eStatTypes statType, float value);
float GetDamageProfile(eStatTypes statType) const;
static void LoadDamageProfiles(const std::string& filename);
static DamageProfile* FindDamageProfile(int32_t skillID);
private:
int32_t m_SkillID;
std::map<eStatTypes, float> m_DamageProfile;
static std::map<int32_t, DamageProfile> s_DamageProfiles;
};
#endif //!__EDAMAGEPROFILE__H__