Jump to content

[Duvida] Como aumento o limite dos bônus?


Luffy
 Share

Recommended Posts

2 horas atrás, Luffy disse:

Eu quero aumentar o limite pra que não fique como na imagem abaixo, @Tierri Lopes

VdqaXmh.png

Vá em common/tables.h (typedef struct SPlayerTable)  e altere:

short       hp;
	short       sp;
	short    sRandomHP;
short    sRandomSP;

Por

int       hp;
	int       sp;
	int    sRandomHP;
int    sRandomSP;

short = -32,768 / 32,767

int = -2,147,483,648  / 2,147,483,647

Obs: não testei ....

Link to comment
Share on other sites

4 horas atrás, juniorsilva disse:

Vá em common/tables.h (typedef struct SPlayerTable)  e altere:

 


short       hp;
	short       sp;
	short    sRandomHP;
short    sRandomSP;

 

Por

 


int       hp;
	int       sp;
	int    sRandomHP;
int    sRandomSP;

 

short = -32,768 / 32,767

int = -2,147,483,648  / 2,147,483,647

Obs: não testei ....

Valeu pela ajuda @juniorsilva. Eu consegui fazer aqui, mas pra funcionar tive que editar outros lugares desse arquivo e outros 2 arquivos da source e também da source do client.

Edited by Luffy
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...