soulreaperro Posted June 3, 2014 Posted June 3, 2014 how can i i make 255 luk doesnt affect freeze status? because in my server when you have 255 luk its a very low chance to get frozen and if you do it doesnt last for long. someone help please !!! Quote
-1 Akbare Posted June 5, 2014 Posted June 5, 2014 conf/battle/status.conf // Adjustment for the natural rate of resistance from status changes. // If 50, status defense is halved, and you need twice as much stats to block // them (eg: 200 vit to completely block stun) pc_status_def_rate: 300 mob_status_def_rate: 100 // Required luk to gain inmunity to status changes. // Luk increases resistance by closing the gap between natural resist and max // linearly. This setting indicates required luk to gain complete immunity. // Eg: 40 vit -> 40% resist. 150 luk -> +50% of the missing gap. // So 40% + (50% of 60%) = 70% pc_luk_status_def: 80 mob_luk_status_def: 100 change duration all freeze skill in db skill_unit_db.txt Quote
Cydh Posted June 5, 2014 Posted June 5, 2014 Try this diff --git a/src/map/status.c b/src/map/status.c index d0b493b..96ec547 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7101,6 +7101,14 @@ int status_get_sc_def(struct block_list *src, struct block_list *bl, enum sc_typ if( sc && !sc->count ) sc = NULL; + /* DIY */ + switch (type) { + case SC_FREEZE: + if (status->luk >= 255) + return 0; + break; + } + switch (type) { case SC_POISON: case SC_DPOISON: Quote
Cydh Posted June 9, 2014 Posted June 9, 2014 conf/battle/status.conf // Adjustment for the natural rate of resistance from status changes. // If 50, status defense is halved, and you need twice as much stats to block // them (eg: 200 vit to completely block stun) pc_status_def_rate: 300 mob_status_def_rate: 100 // Required luk to gain inmunity to status changes. // Luk increases resistance by closing the gap between natural resist and max // linearly. This setting indicates required luk to gain complete immunity. // Eg: 40 vit -> 40% resist. 150 luk -> +50% of the missing gap. // So 40% + (50% of 60%) = 70% pc_luk_status_def: 80 mob_luk_status_def: 100 change duration all freeze skill in db skill_unit_db.txt idk which status.conf u were talking about. conf/battle/status.conf Quote
Yusoke Posted June 11, 2014 Posted June 11, 2014 (edited) Change on the conf file the maximun status defens a user can get with status, but this still wont fix the duration of status. What do i mean by this, you maybe wont get stun or freeze inmunity but still stun will just last 1 milisecond active. You need to modify the Tick time on status.c to make this longer. Edited June 11, 2014 by Yusoke Quote
Question
soulreaperro
how can i i make 255 luk doesnt affect freeze status?
because in my server when you have 255 luk its a very low chance to get frozen and if you do it doesnt last for long.
someone help please !!!
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.