1
This commit is contained in:
parent
af7e06aea8
commit
6a4131726f
@ -52,6 +52,7 @@ class Human : public Creature
|
|||||||
int today_enter_times = 0;
|
int today_enter_times = 0;
|
||||||
int account_registertime = 0;
|
int account_registertime = 0;
|
||||||
int channel = 0;
|
int channel = 0;
|
||||||
|
HumanBehavior behavior;
|
||||||
MetaData::Player* meta = nullptr;
|
MetaData::Player* meta = nullptr;
|
||||||
MetaData::Equip* helmet_meta = nullptr;
|
MetaData::Equip* helmet_meta = nullptr;
|
||||||
MetaData::Equip* chest_meta = nullptr;
|
MetaData::Equip* chest_meta = nullptr;
|
||||||
|
@ -131,6 +131,14 @@ struct HumanAbility
|
|||||||
float fire_rate = 0.0f;
|
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
|
struct ObstacleData
|
||||||
{
|
{
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user