Jump to content
  • 0

NEED HELP WITH 255 LUK = UNFRO


Question

Posted

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

  • -1
Posted

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

Posted

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:
Posted

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. /heh

conf/battle/status.conf

Posted (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 by Yusoke

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...