Jump to content
Sign in to follow this  
tierrilopes

[Game] Tempo De Rodar Pelo Config

Recommended Posts

Abrir o ficheiro game\config.cpp

 

Procurar por:

 

int gPlayerMaxLevel = 99;

 

Adicionar por baixo (60=60segundos em cada troca de bónus, valor por defeito. Pode ser alterado aqui ou pelo ficheiro CONFIG):

 

int attr_change_limit = 60;

 

Procurar por:

 

TOKEN("max_level")

{

str_to_number(gPlayerMaxLevel, value_string);

 

gPlayerMaxLevel = MINMAX(1, gPlayerMaxLevel, PLAYER_MAX_LEVEL_CONST);

 

fprintf(stderr, "PLAYER_MAX_LEVEL: %d\n", gPlayerMaxLevel);

}

 

Adicionar por baixo:

 

TOKEN("attr_change_limit")

{

str_to_number(attr_change_limit, value_string);

 

attr_change_limit = MINMAX(0, attr_change_limit, 32767);

 

fprintf(stderr, "ATTR_CHANGE_LIMIT: %d\n", attr_change_limit);

 

}

 

Please login or register to see this link.

 

Abrir o ficheiro game\char_item.cpp

 

Procurar por:

 

const BYTE g_aBuffOnAttrPoints[] = { POINT_ENERGY, POINT_COSTUME_ATTR_BONUS };

 

Adicionar por baixo:

 

extern int attr_change_limit;

 

Procurar por:

 

Please login or register to see this spoiler.

Abrir o ficheiro game\config.h

 

Procurar por:

 

extern int gPlayerMaxLevel;

 

Adicionar por baixo:

 

extern int attr_change_limit;

 

 

Ficheiro config:

 

ATTR_CHANGE_LIMIT: X

Onde X = número em segundos

  • Upvote 2

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.