soulreaperro Posted June 3, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 11/08/12 Last Seen: November 24, 2014 Share 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 Link to comment Share on other sites More sharing options...
-1 Akbare Posted June 5, 2014 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted June 5, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted June 9, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Yusoke Posted June 11, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 27 Reputation: 1 Joined: 10/19/12 Last Seen: June 14, 2014 Share 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 Link to comment Share on other sites More sharing options...
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 !!!
Link to comment
Share on other sites
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.