mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
33 lines
653 B
C
33 lines
653 B
C
|
#ifndef MOB_SPELL_DATA_ENTRY_H
|
||
|
#define MOB_SPELL_DATA_ENTRY_H
|
||
|
|
||
|
#include "core/object.h"
|
||
|
|
||
|
enum class MobSpellDataType{
|
||
|
ATTACK,
|
||
|
CHARGE,
|
||
|
CC,
|
||
|
DPS,
|
||
|
REGENERATION,
|
||
|
STUNBREAK
|
||
|
};
|
||
|
|
||
|
class MobSpellDataEntry : public Object {
|
||
|
private:
|
||
|
MobSpellDataType type;
|
||
|
int spellId;
|
||
|
int priority;
|
||
|
|
||
|
public:
|
||
|
bool moveWhileCasting;
|
||
|
MobSpellDataType getType();
|
||
|
int getSpellId();
|
||
|
int getPriority();
|
||
|
bool getMoveWhileCasting();
|
||
|
MobSpellDataEntry();
|
||
|
MobSpellDataEntry(MobSpellDataType type, int spellId, int priority, bool moveWhileCasting);
|
||
|
int CompareTo(Object* other);
|
||
|
};
|
||
|
|
||
|
#endif
|