mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 19:58:24 +00:00
Linux test?
This commit is contained in:
+16
@@ -212,6 +212,22 @@ static std::map<uint16, std::string> botSubType_names = {
|
|||||||
{ CommandedSubTypes::Selo, "Selo" }
|
{ CommandedSubTypes::Selo, "Selo" }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct CombatRangeInput {
|
||||||
|
Mob* target;
|
||||||
|
float target_distance;
|
||||||
|
bool behind_mob;
|
||||||
|
uint8 stop_melee_level;
|
||||||
|
const EQ::ItemInstance* p_item;
|
||||||
|
const EQ::ItemInstance* s_item;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct CombatRangeOutput {
|
||||||
|
bool at_combat_range = false;
|
||||||
|
float melee_distance_min = 0.0f;
|
||||||
|
float melee_distance = 0.0f;
|
||||||
|
float melee_distance_max = 0.0f;
|
||||||
|
};
|
||||||
|
|
||||||
class Bot : public NPC {
|
class Bot : public NPC {
|
||||||
friend class Mob;
|
friend class Mob;
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -127,20 +127,4 @@ struct BotSpellTypesByClass_Struct {
|
|||||||
std::string description;
|
std::string description;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CombatRangeInput {
|
|
||||||
Mob* target;
|
|
||||||
float target_distance;
|
|
||||||
bool behind_mob;
|
|
||||||
uint8 stop_melee_level;
|
|
||||||
const EQ::ItemInstance* p_item;
|
|
||||||
const EQ::ItemInstance* s_item;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct CombatRangeOutput {
|
|
||||||
bool at_combat_range = false;
|
|
||||||
float melee_distance_min = 0.0f;
|
|
||||||
float melee_distance = 0.0f;
|
|
||||||
float melee_distance_max = 0.0f;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // BOT_STRUCTS
|
#endif // BOT_STRUCTS
|
||||||
|
|||||||
Reference in New Issue
Block a user