AllHailToTheKing Posted February 1, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Share Posted February 1, 2013 how to fix the foods being dispell when somone use skill dispel on you.. Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted February 1, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted February 1, 2013 use the cash food. Quote Link to comment Share on other sites More sharing options...
AllHailToTheKing Posted February 1, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
nanakiwurtz Posted February 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 2, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
AllHailToTheKing Posted February 2, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted February 2, 2013 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share 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 Link to comment Share on other sites More sharing options...
AllHailToTheKing Posted February 6, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
AllHailToTheKing Posted February 7, 2013 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 235 Reputation: 1 Joined: 11/22/11 Last Seen: May 26, 2014 Author Share Posted February 7, 2013 anyone error when recompile Quote Link to comment Share on other sites More sharing options...
OrengJ Posted March 26, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 08/04/12 Last Seen: February 6 Share 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 Link to comment Share on other sites More sharing options...
Question
AllHailToTheKing
how to fix the foods being dispell when somone use skill dispel on you..
Link to comment
Share on other sites
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.