fix(Core/Spells): Correct follow position for Pets and Companions. (#23154)

Co-authored-by: sogladev <sogladev@gmail.com>
This commit is contained in:
GrenderG
2025-10-09 20:09:40 +02:00
committed by GitHub
parent 8fbdca8d50
commit 8d2f307483
4 changed files with 17 additions and 7 deletions

View File

@@ -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
{