Jump to content
  • 0

NEED HELP WITH 255 LUK = UNFRO


soulreaperro

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  11/08/12
  • Last Seen:  

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

  • -1

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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:
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  10/19/12
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...