1
This commit is contained in:
parent
7617eeb487
commit
7339526263
@ -3928,3 +3928,8 @@ void Creature::AdjustMobaBornDir()
|
||||
SetAttackDir(GlmHelper::LEFT);
|
||||
}
|
||||
}
|
||||
|
||||
void Creature::SetHeroGrowMeta(mt::BattleHeroGrow* grow_meta)
|
||||
{
|
||||
hero_grow_meta_ = grow_meta;
|
||||
}
|
||||
|
@ -159,6 +159,8 @@ class Creature : public MoveableEntity
|
||||
virtual bool IsCreature(Room* room) override { return true;};
|
||||
virtual void OnBattleStart(Room* room) override;
|
||||
virtual const mt::Hero* GetHeroMeta() { return nullptr; };
|
||||
virtual const mt::BattleHeroGrow* GetHeroGrowMeta() { return hero_grow_meta_; };
|
||||
virtual void SetHeroGrowMeta(mt::BattleHeroGrow* grow_meta);
|
||||
virtual void FillMFObjectImage(Room* room, Human* hum, cs::MFCharacterImage* image_data) {};
|
||||
virtual void SetPos(Position pos) override;
|
||||
virtual float GetSpeed();
|
||||
@ -476,6 +478,7 @@ private:
|
||||
a8::XTimerWp reload_delay_timer_;
|
||||
int follow_times_ = 0;
|
||||
std::map<int, int> buff_tags_;
|
||||
const mt::BattleHeroGrow* hero_grow_meta_ = nullptr;
|
||||
|
||||
int disable_move_dir_times_ = 0;
|
||||
int disable_attack_dir_times_ = 0;
|
||||
|
@ -17,7 +17,7 @@ namespace mt
|
||||
|
||||
}
|
||||
|
||||
BattleHeroGrow* BattleBasicAttribute::GetGrowMeta(int map_id)
|
||||
const BattleHeroGrow* BattleBasicAttribute::GetGrowMeta(int map_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace mt
|
||||
void Init1();
|
||||
void Init2();
|
||||
|
||||
BattleHeroGrow* GetGrowMeta(int map_id);
|
||||
const BattleHeroGrow* GetGrowMeta(int map_id);
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ namespace mt
|
||||
class SkillNumber;
|
||||
class Grasp;
|
||||
class GraspBuff;
|
||||
class BattleHeroGrow;
|
||||
|
||||
struct SkillPhase;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user