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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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