|
|
@ -116,6 +116,7 @@ struct MonsterData{ |
|
|
|
|
|
|
|
|
|
|
|
class Monster:IAttributable{ |
|
|
|
class Monster:IAttributable{ |
|
|
|
friend struct STRATEGY; |
|
|
|
friend struct STRATEGY; |
|
|
|
|
|
|
|
friend class AiL; |
|
|
|
public: |
|
|
|
public: |
|
|
|
Monster()=delete; |
|
|
|
Monster()=delete; |
|
|
|
Monster(vf2d pos,MonsterData data,bool upperLevel=false,bool bossMob=false); |
|
|
|
Monster(vf2d pos,MonsterData data,bool upperLevel=false,bool bossMob=false); |
|
|
@ -234,6 +235,8 @@ private: |
|
|
|
float knockUpTimer=0.f; |
|
|
|
float knockUpTimer=0.f; |
|
|
|
float totalKnockupTime=0.f; |
|
|
|
float totalKnockupTime=0.f; |
|
|
|
float knockUpZAmt=0.f; |
|
|
|
float knockUpZAmt=0.f; |
|
|
|
|
|
|
|
//Spawns the drops a monster would drop as if they were defeated. Returns what items were dropped and their amounts.
|
|
|
|
|
|
|
|
std::map<ItemInfo*,uint16_t>SpawnDrops(); |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
struct STRATEGY{ |
|
|
|
struct STRATEGY{ |
|
|
|