AdventuresInLestoria/Crawler/MonsterAttribute.h

31 lines
847 B
C
Raw Normal View History

#pragma once
#include <string>
#define F(attr) GetFloat(attr)
#define I(attr) GetInt(attr)
#define S(attr) GetString(attr)
#define B(attr) GetBool(attr)
#define V(attr) GetVf2d(attr)
enum class Attribute{
IFRAME_TIME_UPON_HIT, //When this is set, the monster gains iframes if they take damage based on the value this is set to.
SHOOT_RING_TIMER,
SHOOT_RING_DELAY,
SHOOT_RING_COUNTER,
SHOOT_RING_RIGHT,
SHOOT_RING_OFFSET,
PATTERN_REPEAT_COUNT,
JUMP_ORIGINAL_LANDING_TIMER,
JUMP_LANDING_TIMER,
JUMP_TARGET_POS,
RECOVERY_TIME,
SHOOT_ANIMATION_TIME,
SHOOT_TIMER,
JUMP_MOVE_SPD,
JUMP_COUNT,
CASTING_TIMER,
2023-09-23 15:10:59 -05:00
RUN_AWAY_TIMER,
PHASE_REPEAT_COUNT,
JUMP_TOWARDS_PLAYER,
HITS_UNTIL_DEATH, //When this is set, it is reduced by 1 each time the monster is hit.
INDEXED_THEME,
};