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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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