mirror of
https://github.com/Astatin3/meteorbot-old.git
synced 2026-06-09 08:38:07 -06:00
17 lines
554 B
C++
17 lines
554 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "botcraft/AI/BehaviourClient.hpp"
|
|
#include "botcraft/AI/Status.hpp"
|
|
|
|
/// @brief Hit all nearby monster, respecting the invulnerability cooldown of 0.5s
|
|
/// @param c The client performing the action
|
|
/// @return Always return Success
|
|
Botcraft::Status HitCloseHostiles(Botcraft::BehaviourClient& c);
|
|
|
|
/// @brief Remove entries in Entities.LastTimeHit if last seen > 10s
|
|
/// @param c The client performing the action
|
|
/// @return Always return Success
|
|
Botcraft::Status CleanLastTimeHit(Botcraft::BehaviourClient& c);
|