Yoona Posted October 5, 2013 Posted October 5, 2013 Cos on my server when you get Freeze 12 sec before it unfreeze? Quote
0 Playtester Posted February 8, 2018 Posted February 8, 2018 22 hours ago, skymia said: how to make this only for 4-5 secs Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 6000 + status->mdef*40; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; 1 Quote
0 skymia Posted February 6, 2018 Posted February 6, 2018 did anyone have a guide on reducing it already? Quote
0 Playtester Posted February 6, 2018 Posted February 6, 2018 I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; And change it to: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 8000 + status->mdef*20; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior. 1 Quote
0 skymia Posted February 6, 2018 Posted February 6, 2018 9 hours ago, Playtester said: I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; And change it to: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 8000 + status->mdef*20; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior. ok sir i will try this later i will let you know if working now...thanks sir Quote
0 skymia Posted February 7, 2018 Posted February 7, 2018 20 hours ago, Playtester said: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 8000 + status->mdef*20; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; how to make this only for 4-5 secs Quote
0 skymia Posted February 8, 2018 Posted February 8, 2018 5 hours ago, Playtester said: Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 6000 + status->mdef*40; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; done sir..thanks alot Quote
0 LearningRO Posted May 3, 2018 Posted May 3, 2018 On 2/8/2018 at 4:17 PM, Playtester said: Well the resist does not affect the base duration which is different for each skill. But if you want 12 seconds to be reduced to 4-5 seconds then try: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 6000 + status->mdef*40; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; how about to increase into 15 seconds? @Playtester Quote
0 TrustGTX Posted January 17, 2019 Posted January 17, 2019 (edited) On 2/6/2018 at 3:12 PM, Playtester said: I'm not sure why you would want that. Freeze would be useless if it only lasted 2 seconds and also makes spells like Storm Gust abusable, BUT if you really insist then find this in status.cpp: case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; And change it to: sir @Playtester im getting error when compling this script to my status.c .. case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10 + status_get_lv(bl)*10 - status_get_lv(src)*10; tick_def = 8000 + status->mdef*20; tick_def2 = status_src->luk*-10; // Caster can increase final duration with luk break; That way all Freeze durations are reduced by 5 times, but you still maintain same immunity and other behavior. Edited January 17, 2019 by TrustGTX Quote
Pink Guy Posted October 5, 2013 Posted October 5, 2013 You mean when you "@reloadscript"? I think it depends on the host. Quote
a p Posted October 5, 2013 Posted October 5, 2013 (edited) He means the general Frozen duration. How can he reduce it..i've never actually reduce the Frozen duration but decrease the stats required to gain resistance from such effects. LUK & MDEF = Frozen On "status.conf" From pc_status_def_rate: 100 To pc_status_def_rate: 120 But if you use this method, every other status resistance influenced by Stats will be affected too. This means players can gain Stun Immunity by just having the right amount of Stats. Edited October 5, 2013 by a p Quote
Yoona Posted October 7, 2013 Author Posted October 7, 2013 He means the general Frozen duration. How can he reduce it..i've never actually reduce the Frozen duration but decrease the stats required to gain resistance from such effects. LUK & MDEF = Frozen On "status.conf" From pc_status_def_rate: 100 To pc_status_def_rate: 120 But if you use this method, every other status resistance influenced by Stats will be affected too. This means players can gain Stun Immunity by just having the right amount of Stats. i already did this, thanks by the way @a p @bump ! @Bump ! Please Quote
Yoona Posted October 7, 2013 Author Posted October 7, 2013 How can i fix this Freeze Duration? and make it 2 Seconds Freeze only? Please Help me I really need it.. ! Quote
Question
Yoona
Cos on my server when you get Freeze 12 sec before it unfreeze?
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.