minx123 2 Posted July 17, 2015 (edited) i need help to change unfroze from mdef to 355 luk. level player 255. limit stat 200 change duration frost time. Edited July 17, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted July 17, 2015 (edited) 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 July 17, 2015 by Oxxy 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 18, 2015 (edited) 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 July 18, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted July 18, 2015 Did you recompile server after? Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 18, 2015 Did you recompile server after? yup.. recompile.. Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted July 18, 2015 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 Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 19, 2015 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 Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted July 19, 2015 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. Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 20, 2015 its ok.. i adjust lower than 28 then its work.. Quote Share this post Link to post Share on other sites
i need help to change unfroze from mdef to 355 luk.
level player 255.
limit stat 200
change duration frost time.
Edited by minx123Share this post
Link to post
Share on other sites