Jump to content
  • 0
Sign in to follow this  
xlaws27

[help] modify freeze duration

Question

someone help me please!!

 

help me to make mdef won't affect freeze duration/freeze status

and every 40 luk there will be a 10% reduce of freeze duration.

 

 

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;

Edited by xlaws27

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

 

 

someone help me please!!

 

help me to make mdef won't affect freeze duration/freeze status

and every 40 luk there will be a 10% reduce of freeze duration.

 

 

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;

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

helllo! thanks for this but i haven't seen any mdef changes

 

 

does mdef will still affect the freeze chance/freeze duration?

sorry , I didn't read the topic well. If you want mdef not affect  freeze status

you can try to comment out this line 'sc_def = st->mdef*100;' ,

so it should look like

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

Share this post


Link to post
Share on other sites
  • 0

someone help me please!!

 

help me to make mdef won't affect freeze duration/freeze status

and every 40 luk there will be a 10% reduce of freeze duration.

 

 

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;

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

Share this post


Link to post
Share on other sites
  • 0

 

someone help me please!!

 

help me to make mdef won't affect freeze duration/freeze status

and every 40 luk there will be a 10% reduce of freeze duration.

 

 

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;

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

helllo! thanks for this but i haven't seen any mdef changes

 

 

does mdef will still affect the freeze chance/freeze duration?

Share this post


Link to post
Share on other sites
  • 0

 

 

 

someone help me please!!

 

help me to make mdef won't affect freeze duration/freeze status

and every 40 luk there will be a 10% reduce of freeze duration.

 

 

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;

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

helllo! thanks for this but i haven't seen any mdef changes

 

 

does mdef will still affect the freeze chance/freeze duration?

sorry , I didn't read the topic well. If you want mdef not affect  freeze status

you can try to comment out this line 'sc_def = st->mdef*100;' ,

so it should look like

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

thanks

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.