Luk e descongelamento

Muyo

New member
Messages
8
Points
0
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

Code:
//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);
 
Last edited by a moderator:
Back
Top