Jump to content

[Dica]Por os pets para sempre correr aos invés de andar


Luffy
 Share

Recommended Posts

[EU SEI QUE ISSO É UMA DICA QUASE INÚTIL]

Essa dica e recomendada pra quem pretende usar os mobs como pets, já que a animação de andar de muitos deles é meio zoada. Então vamos-lá. É bem simples.

../game/src

PetSystem.cpp

Procurem:

(fDist >= START_FOLLOW_DISTANCE)

Editem assim:

Spoiler

    if (fDist >= START_FOLLOW_DISTANCE)
    {
        //if (fDist >= START_RUN_DISTANCE)
        //{
        bRun = true;
        //}

        m_pkChar->SetNowWalking (!bRun);

        Follow (APPROACH);

        m_pkChar->SetLastAttacked (currentTime);
        m_dwLastActionTime = currentTime;
    }

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...