xlaws27 3 Posted December 14, 2015 (edited) 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 December 14, 2015 by xlaws27 Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted December 14, 2015 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; Quote Share this post Link to post Share on other sites
0 xlaws27 3 Posted December 14, 2015 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? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted December 14, 2015 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; Quote Share this post Link to post Share on other sites
0 xlaws27 3 Posted December 15, 2015 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 Quote Share this post Link to post Share on other sites
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:
Edited by xlaws27sc_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;
Share this post
Link to post
Share on other sites