This commit is contained in:
aozhiwei 2021-04-13 14:10:19 +08:00
parent af7e06aea8
commit 6a4131726f
2 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,7 @@ class Human : public Creature
int today_enter_times = 0;
int account_registertime = 0;
int channel = 0;
HumanBehavior behavior;
MetaData::Player* meta = nullptr;
MetaData::Equip* helmet_meta = nullptr;
MetaData::Equip* chest_meta = nullptr;

View File

@ -131,6 +131,14 @@ struct HumanAbility
float fire_rate = 0.0f;
};
struct HumanBehavior
{
long long last_destory_box_frameno = 0;
int total_destory_box_times = 0;
long long curr_start_destory_box_frameno = 0;
int curr_destory_box_times = 0;
};
struct ObstacleData
{
int flags = 0;