Update 'Adventures in Lestoria/Monster.h'

pull/35/head
sigonasr2 10 months ago
parent e5ae58c4a3
commit c1c119e143
  1. 3
      Adventures in Lestoria/Monster.h

@ -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{

Loading…
Cancel
Save