Jump to content
  • 0
Sign in to follow this  
Muyo

Luk e descongelamento

Question

O infeliz desde post não disse como que conseguiu arrumar. Alguém poderia ou terei que recorrer aos admin em inglês?

 

http://herc.ws/board/topic/1220-char-congelando-com-300-de-luk/

 

Eu achei o arquivo citado pelo Ind mas não sei como consertar.

 

//Applies SC defense to a given status change.//Returns the adjusted duration based on flag values.//the flag values are the same as in status_change_start.int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int tick, int flag){	//Percentual resistance: 10000 = 100% Resist	//Example: 50% -> sc_def=5000 -> 25%; 5000ms -> tick_def=5000 -> 2500ms	int sc_def = 0, tick_def = -1; //-1 = use sc_def	//Linear resistance substracted from rate and tick after percentual resistance was applied	//Example: 25% -> sc_def2=2000 -> 5%; 2500ms -> tick_def2=2000 -> 500ms	int sc_def2 = 0, tick_def2 = -1; //-1 = use sc_def2	struct status_data* status;	struct status_change* sc;	struct map_session_data *sd;	nullpo_ret(bl);

Gostaria de saber como deixar à moda antiga.

 

Grato

 

_____

 

@edit

 

resolvido

 

SOlução

 

//Applies SC defense to a given status change.//Returns the adjusted duration based on flag values.//the flag values are the same as in status_change_start.int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int tick, int flag){	//Percentual resistance: 10000 = 100% Resist	//Example: 50% -> sc_def=5000 -> 25%; 5000ms -> tick_def=5000 -> 2500ms	int sc_def = 5000, tick_def = 5000; //-1 = use sc_def	//Linear resistance substracted from rate and tick after percentual resistance was applied	//Example: 25% -> sc_def2=2000 -> 5%; 2500ms -> tick_def2=2000 -> 500ms	int sc_def2 = 2000, tick_def2 = 2500; //-1 = use sc_def2	struct status_data* status;	struct status_change* sc;	struct map_session_data *sd;	nullpo_ret(bl);
Edited by Muyo

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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