mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-31 00:42:38 +00:00
Grim LU
Wincent's attempt at making LU into something it isn't supposed to be, an ARPG.
This commit is contained in:
33
dGame/dGrim/DamageProfile.h
Normal file
33
dGame/dGrim/DamageProfile.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#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__
|
||||
Reference in New Issue
Block a user