Reducto Posted October 20, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted October 20, 2012 Can anybody here help me duplicate this status. I'm having trouble duplicating this status. Thanks! Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 20, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share 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 Link to comment Share on other sites More sharing options...
Reducto Posted October 20, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Bin4ry Posted October 20, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share 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 Link to comment Share on other sites More sharing options...
Reducto Posted October 20, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Author Share Posted October 20, 2012 Still the same. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 20, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 20, 2012 Oh dang, did you add entry into /db/const.txt? 1 Quote Link to comment Share on other sites More sharing options...
Reducto Posted October 20, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Author Share Posted October 20, 2012 (edited) Oh forgot to add those. Thank you very much its working now! Edited October 20, 2012 by Cuspid Quote Link to comment Share on other sites More sharing options...
Question
Reducto
Can anybody here help me duplicate this status. I'm having trouble duplicating this status. Thanks!
Link to comment
Share on other sites
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.