fp: Add cooldowns to attacks
This commit is contained in:
@@ -169,6 +169,8 @@ struct FP_GameEntity
|
||||
Dqn_V2 attack_box_offset;
|
||||
bool attack_processed;
|
||||
bool is_dying;
|
||||
uint64_t last_attack_timestamp;
|
||||
uint64_t attack_cooldown_ms;
|
||||
|
||||
Dqn_FArray<Dqn_V2, 8> spawner_waypoints;
|
||||
FP_SentinelList<FP_GameEntityHandle> spawn_list;
|
||||
|
||||
Reference in New Issue
Block a user