Jump to content
  • 0
Sign in to follow this  
minx123

how to change unfroze from mdef to stat luk

Question

i need help to change unfroze from mdef to 355 luk.

level player 255.

limit stat 200

change duration frost time.

Edited by minx123

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

map/status.c(6447-6451):

 

    case SC_FREEZE:        sc_def = st->mdef*100;        sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10);        tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk        break;


 

Change the

sc_def = st->mdef*100;

to

sc_def = st->luk*28;

You will have 99% defense from Freeze if you have 355 luk. (355*28 = 9940; 9940/100 = 99.4 = 99%);

for duration after

sc_def = st->mdef*100;

add

tick_def = st->luk*25;

You will have 71% of time reduction of freeze if you have 355 luk (355 * 25 = 7100, 7100/100 = 71%)

Edited by Oxxy

Share this post


Link to post
Share on other sites
  • 0

 

map/status.c(6447-6451):

 

    case SC_FREEZE:        sc_def = st->mdef*100;        sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10);        tick_def2 = status_get_luk(src) * -10; //Caster can increase final duration with luk        break;

 

 

Change the

sc_def = st->mdef*100;

to


 

sc_def = st->luk*28;

You will have 99% defense from Freeze if you have 355 luk. (355*28 = 9940; 9940/100 = 99.4 = 99%);

 

for duration after

sc_def = st->mdef*100;

add

tick_def = st->luk*25;
You will have 71% of time reduction of freeze if you have 355 luk (355 * 25 = 7100, 7100/100 = 71%)

 

 

i follow with this problem its be unfroze even player only have 200 luk..

for duration time.. when player get frost.. its take 10sec to break with luk 300

Edited by minx123

Share this post


Link to post
Share on other sites
  • 0

 

Did you recompile server after?

yup.. recompile.. 

Show your settings in 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: 100mob_status_def_rate: 100// Maximum resistance to status changes. (100 = 100%)// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.pc_max_status_def: 100mob_max_status_def: 100

Share this post


Link to post
Share on other sites
  • 0

 

 

Did you recompile server after?

yup.. recompile.. 

Show your settings in 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: 100mob_status_def_rate: 100// Maximum resistance to status changes. (100 = 100%)// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.pc_max_status_def: 100mob_max_status_def: 100

 

 

Here

i not change anything in this..

 

// Should skill casting be canceled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)?status_cast_cancel: 0// 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: 100mob_status_def_rate: 100// Maximum resistance to status changes. (100 = 100%)// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.pc_max_status_def: 100mob_max_status_def: 100

Share this post


Link to post
Share on other sites
  • 0

 

 

 

Did you recompile server after?

yup.. recompile.. 

Show your settings in 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: 100mob_status_def_rate: 100// Maximum resistance to status changes. (100 = 100%)// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.pc_max_status_def: 100mob_max_status_def: 100

 

 

Here

i not change anything in this..

 

// Should skill casting be canceled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)?status_cast_cancel: 0// 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: 100mob_status_def_rate: 100// Maximum resistance to status changes. (100 = 100%)// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist.pc_max_status_def: 100mob_max_status_def: 100

Strange, everything should be working fine. Double check if you recompiled server.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.