Setup King Slime encounter, Boss room map setup with spawn and player, made non-infinite. Implemented enemy iframes and added phase framework for the boss.
This commit is contained in:
@@ -85,6 +85,9 @@ private:
|
||||
int pathIndex=0;
|
||||
float lastHitTimer=0;
|
||||
std::shared_ptr<DamageNumber>damageNumberPtr;
|
||||
int phase=0;
|
||||
bool diesNormally=true; //If set to false, the monster death is handled in a special way. Set it to true when it's time to die.
|
||||
float iframeTimeUponHit=0;
|
||||
protected:
|
||||
public:
|
||||
Monster()=delete;
|
||||
@@ -128,6 +131,7 @@ public:
|
||||
static void InitializeStrategies();
|
||||
bool HasIframes();
|
||||
float GetZ();
|
||||
std::string GetStrategy();
|
||||
private:
|
||||
struct STRATEGY{
|
||||
static int _GetInt(Monster&m,std::string param,int strategyNumber,int index=0);
|
||||
|
||||
Reference in New Issue
Block a user