mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
fix(Core/Spells): Correct follow position for Pets and Companions. (#23154)
Co-authored-by: sogladev <sogladev@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <numbers>
|
||||
|
||||
enum ReactStates : uint8;
|
||||
|
||||
@@ -202,8 +203,10 @@ enum PetScalingSpells
|
||||
SPELL_RISEN_GHOUL_SELF_STUN = 47466,
|
||||
};
|
||||
|
||||
#define PET_FOLLOW_DIST 1.0f
|
||||
#define PET_FOLLOW_ANGLE (M_PI/2)
|
||||
constexpr float PET_FOLLOW_DIST = 2.0f;
|
||||
constexpr float PET_FOLLOW_ANGLE = std::numbers::pi_v<float> / 2;
|
||||
constexpr float MINI_PET_SUMMON_ANGLE = std::numbers::pi_v<float> / 4;
|
||||
constexpr float MINI_PET_FOLLOW_ANGLE = std::numbers::pi_v<float>;
|
||||
|
||||
class PetStable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user