Reducto Posted October 20, 2012 Posted October 20, 2012 Can anybody here help me duplicate this status. I'm having trouble duplicating this status. Thanks! Quote
Bin4ry Posted October 20, 2012 Posted October 20, 2012 (edited) Open up status.c, find StatusChangeFlagTable[sC_ITEMSCRIPT] |= SCB_ALL; Add below StatusChangeFlagTable[sC_ITEMSCRIPT2] |= SCB_ALL; Find if( sc->count && sc->data[sC_ITEMSCRIPT] ) { struct item_data *data = itemdb_exists(sc->data[sC_ITEMSCRIPT]->val1); if( data && data->script ) run_script(data->script,0,sd->bl.id,0); } Add below if( sc->count && sc->data[sC_ITEMSCRIPT2] ) { struct item_data *data = itemdb_exists(sc->data[sC_ITEMSCRIPT2]->val1); if( data && data->script ) run_script(data->script,0,sd->bl.id,0); } For status.h, find #ifdef RENEWAL SC_EXTREMITYFIST2, #endif Add below SC_ITEMSCRIPT2, Then use sc_start sc_itemscript2 instead for 2nd sc Edited October 20, 2012 by darristan 1 Quote
Reducto Posted October 20, 2012 Author Posted October 20, 2012 Thanks! Did what you said. The problem now is when I use the item with ITEMSCRIPT2, I turned into stone. Hmmm.. Help me pls. Quote
Bin4ry Posted October 20, 2012 Posted October 20, 2012 (edited) Then I think you need define a sc_number to sc_itemscript2 in status.h, it must have been skipping to sc_max and which will returns to stone curse as 0. You can try SC_ITEMSCRIPT2 = 544, Edited October 20, 2012 by darristan 1 Quote
Bin4ry Posted October 20, 2012 Posted October 20, 2012 Oh dang, did you add entry into /db/const.txt? 1 Quote
Reducto Posted October 20, 2012 Author Posted October 20, 2012 (edited) Oh forgot to add those. Thank you very much its working now! Edited October 20, 2012 by Cuspid Quote
Question
Reducto
Can anybody here help me duplicate this status. I'm having trouble duplicating this status. Thanks!
6 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.