AllHailToTheKing Posted February 1, 2013 Posted February 1, 2013 how to fix the foods being dispell when somone use skill dispel on you.. Quote
AllHailToTheKing Posted February 1, 2013 Author Posted February 1, 2013 use the cash food. i tried to use the cash food and it has cooldown and this foods came from brewing how can i change that to +20 cash foods? thank you for your reply Quote
nanakiwurtz Posted February 2, 2013 Posted February 2, 2013 (edited) Or just change the item code to one of the following SC_FOOD_STR_CASH SC_FOOD_AGI_CASH SC_FOOD_VIT_CASH SC_FOOD_DEX_CASH SC_FOOD_INT_CASH SC_FOOD_LUK_CASH Edited February 2, 2013 by nanakiwurtz 1 Quote
Emistry Posted February 2, 2013 Posted February 2, 2013 try these... inside this file trunk/src/map/status.c find these.. switch (i) { //Type 0: PC killed -> Place here statuses that do not dispel on death. case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK ) break; add below... case SC_FOOD_STR: case SC_FOOD_AG: case SC_FOOD_VIT: case SC_FOOD_DEX: case SC_FOOD_INT: case SC_FOOD_LUK: or any other food name / status name.... recompile... 1 Quote
AllHailToTheKing Posted February 2, 2013 Author Posted February 2, 2013 Or just change the item code to one of the following SC_FOOD_STR_CASH SC_FOOD_AGI_CASH SC_FOOD_VIT_CASH SC_FOOD_DEX_CASH SC_FOOD_INT_CASH SC_FOOD_LUK_CASH thank you. try these... inside this file trunk/src/map/status.c find these.. switch (i) { //Type 0: PC killed -> Place here statuses that do not dispel on death. case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK ) break; add below... case SC_FOOD_STR: case SC_FOOD_AG: case SC_FOOD_VIT: case SC_FOOD_DEX: case SC_FOOD_INT: case SC_FOOD_LUK: or any other food name / status name.... recompile... thanks also to emistry. and can you guys help me here? http://rathena.org/board/topic/78123-curse-water-and-converters/ i would really really appreciate Quote
QQfoolsorellina Posted February 2, 2013 Posted February 2, 2013 (edited) they should be in src/map/skill.c find //case SC_SAVAGE_STEAK: case SC_COCKTAIL_WARG_BLOOD: case SC_MINOR_BBQ: //case SC_SIROMA_ICE_TEA: case SC_DROCERA_HERB_STEAMED: case SC_PUTTI_TAILS_NOODLES: remove the comments and recompile Edited February 2, 2013 by QQfoolsorellina Quote
AllHailToTheKing Posted February 6, 2013 Author Posted February 6, 2013 try these... inside this file trunk/src/map/status.c find these.. switch (i) { //Type 0: PC killed -> Place here statuses that do not dispel on death. case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK ) break; add below... case SC_FOOD_STR: case SC_FOOD_AG: case SC_FOOD_VIT: case SC_FOOD_DEX: case SC_FOOD_INT: case SC_FOOD_LUK: or any other food name / status name.... recompile... emistry i tried this but im getting errors when recompile.. status.c: In function 'status_change_clear': status.c:9030: error: 'SC_FOOD_STR' undeclared (first use in this function) status.c:9030: error: (Each undeclared identifier is reported only once status.c:9030: error: for each function it appears in.) status.c:9031: error: 'SC_FOOD_AG' undeclared (first use in this function) status.c:9032: error: 'SC_FOOD_VIT' undeclared (first use in this function) status.c:9033: error: 'SC_FOOD_DEX' undeclared (first use in this function) status.c:9034: error: 'SC_FOOD_INT' undeclared (first use in this function) status.c:9035: error: 'SC_FOOD_LUK' undeclared (first use in this function) Quote
AllHailToTheKing Posted February 7, 2013 Author Posted February 7, 2013 anyone error when recompile Quote
OrengJ Posted March 26, 2013 Posted March 26, 2013 they should be in src/map/skill.c find //case SC_SAVAGE_STEAK: case SC_COCKTAIL_WARG_BLOOD: case SC_MINOR_BBQ: //case SC_SIROMA_ICE_TEA: case SC_DROCERA_HERB_STEAMED: case SC_PUTTI_TAILS_NOODLES: remove the comments and recompile It helps. Thanks! Quote
Question
AllHailToTheKing
how to fix the foods being dispell when somone use skill dispel on you..
9 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.