donkeyg Posted October 17, 2012 Posted October 17, 2012 (edited) how do i make the +20 stats food cant eat at the same time, even relog also cant.... same like +10 stats food's function Edited October 17, 2012 by donkeyg Quote
goddameit Posted October 17, 2012 Posted October 17, 2012 same like +10 stats food's function then change 10 to 20 Quote
donkeyg Posted October 17, 2012 Author Posted October 17, 2012 same like +10 stats food's function then change 10 to 20 change at where Quote
Emistry Posted October 17, 2012 Posted October 17, 2012 change sc_start SC_STRFOOD, 1200000, 10; into sc_start SC_STRFOOD, 1200000, 20; Quote
donkeyg Posted October 17, 2012 Author Posted October 17, 2012 lol, what i meant to say was, how to make the +20 stats food cant be use at the same time?? even relog also can only use 1 type of stats food.... example: u used a STR +20 stats food, then u are unable to use other Stats food (AGI / VIT / DEX / LUK / INT ) already. Quote
Emistry Posted October 17, 2012 Posted October 17, 2012 create a new sc script .... or you can just simply make use of these other sc script that are not using in your server... SC_STRFOOD 203 SC_AGIFOOD 204 SC_VITFOOD 205 SC_INTFOOD 206 SC_DEXFOOD 207 SC_INCALLSTATUS 187 SC_INCSTR 188 SC_INCAGI 189 SC_INCVIT 190 SC_INCINT 191 SC_INCDEX 192 SC_INCLUK 193 SC_FOOD_STR_CASH 303 SC_FOOD_AGI_CASH 304 SC_FOOD_VIT_CASH 305 SC_FOOD_DEX_CASH 306 SC_FOOD_INT_CASH 307 SC_FOOD_LUK_CASH 308 Quote
AnnieRuru Posted October 17, 2012 Posted October 17, 2012 (edited) sc_check http://www.eathena.w...dpost&p=1498382 hmm I didn't explain how to use sc_check <effect type>; sc_check <effect type> {, <account ID> }; sc_check <effect type> {, <type> }; sc_check <effect type> {, <type> {, <account ID> } }; <type> is only use for soul link because sc_spirit has extra argument that different to every jobs http://www.eathena.w...howtopic=274421 for agi: if ( sc_check(sc_strfood) || sc_check(sc_agifood) || sc_check(sc_vitfood ) end; else sc_start sc_agi, 1000,1; for str: if ( sc_check(sc_agifood) || sc_check(sc_agifood) || sc_check(sc_vitfood ) end; else sc_start sc_str, 1000,1; expand them as you see fit EDIT: there's getstatus script command implemented on newer rathena that's doing similar to my modification change my sc_check into official getstatus script command Edited October 31, 2012 by AnnieRuru Quote
Golem1988 Posted October 29, 2012 Posted October 29, 2012 There's cooldown settings in some of *.conf files... Something about: cash food use delay, just set value to 0 instead of 3600 and I hope it will help. Quote
donkeyg Posted October 31, 2012 Author Posted October 31, 2012 There's cooldown settings in some of *.conf files... Something about: cash food use delay, just set value to 0 instead of 3600 and I hope it will help. it's just for +10 stats food isnt? Quote
donkeyg Posted October 31, 2012 Author Posted October 31, 2012 /db/item_delay.txt is for any items. i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time.. Quote
goddameit Posted October 31, 2012 Posted October 31, 2012 (edited) /db/item_delay.txt is for any items. i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time.. http://rathena.org/board/topic/72590-20-stats-food/#entry147142 or just add a time record variable to use when eatting Edited October 31, 2012 by goddameit Quote
Golem1988 Posted November 1, 2012 Posted November 1, 2012 i mean i don wan to let players eat AGI +20 food and STR +20 foods in the same time.. I'ts like kinda player abuse, isn't it? Even kRO let them do so You have what, 0.001 exp and etc rates on your server? Oh I see, oldschool "pre- re without 3rd and 99/70" Than, just remove the food, thats more episodes later than 99/70 Just kidding, lol ) Quote
nanakiwurtz Posted November 1, 2012 Posted November 1, 2012 12202,Str_Dish10_,Steamed Tongue,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if(getstatus(304)||getstatus(305)||getstatus(306)||getstatus(307)||getstatus(308)) end; else sc_start SC_FOOD_STR_CASH,1800000,10; percentheal 15,5; },{},{} Quote
Bin4ry Posted November 1, 2012 Posted November 1, 2012 If end after sc check then the item will be consumed right? Why not getitem 12202 again. Quote
Question
donkeyg
how do i make the +20 stats food cant eat at the same time, even relog also cant....
same like +10 stats food's function
Edited by donkeyg14 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.