mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
added some pet debug commands
This commit is contained in:
@@ -155,12 +155,12 @@ void PetComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpd
|
||||
void PetComponent::OnUse(Entity* originator) {
|
||||
LOG("PET USE!");
|
||||
|
||||
if(m_ReadyToDig) {
|
||||
/*if(m_ReadyToDig) {
|
||||
LOG("Dig initiated!");
|
||||
m_TresureTime = 2.0f;
|
||||
//m_ReadyToDig = false;
|
||||
SetAbility(PetAbilityType::DigAtPosition);
|
||||
}
|
||||
}*/
|
||||
|
||||
if (m_Owner != LWOOBJID_EMPTY) {
|
||||
return;
|
||||
@@ -434,9 +434,9 @@ void PetComponent::Update(float deltaTime) {
|
||||
|
||||
skipTresure:
|
||||
|
||||
m_MovementAI->SetHaltDistance(haltDistance);
|
||||
//m_MovementAI->SetHaltDistance(haltDistance);
|
||||
|
||||
m_MovementAI->SetMaxSpeed(2.5f);
|
||||
//m_MovementAI->SetMaxSpeed(2.5f);
|
||||
|
||||
m_MovementAI->SetDestination(destination);
|
||||
|
||||
|
@@ -8,10 +8,6 @@
|
||||
|
||||
enum PetStatus : uint32_t {
|
||||
NONE,
|
||||
UNKNOWN1 = 0x1,
|
||||
UNKNOWN2 = 0x2,
|
||||
UNKNOWN3 = 0x4,
|
||||
UNKNOWN4 = 0x8,
|
||||
BEING_TAMED = 0x10,
|
||||
IS_NOT_WAITING = 0x20, // Right name? - used to be decimal 20
|
||||
PLAY_SPAWN_ANIM = 0x80,
|
||||
|
Reference in New Issue
Block a user