Ninjamon Posted March 4, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted March 4, 2013 Why is it that my script on this item doesn't work? 20515,FCP_Jewel,FCP Jewel,2,2,,10,,,,,0x00800000,7,2,,,,,,{ sc_start4 CR_FULLPROTECTION,350000,5,461,0,0; },{},{} I Can't click the item and it doesn't buff me FCP Skill Level 5. Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 4, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 4, 2013 (edited) sc_start works with { <effect type> }, you can find them in db/const.txt I can't find for full protection skill (maybe it doesn't exist) 20515,FCP_Jewel,FCP Jewel,2,2,,10,,,,,0x00800000,7,2,,,,,,{ skilleffect "AM_CP_WEAPON",0; sc_start SC_CP_WEAPON,350000,5; sc_start SC_CP_SHIELD,350000,5; sc_start SC_CP_ARMOR,350000,5; sc_start SC_CP_HELM,350000,5; },{},{} Edited March 4, 2013 by Capuche Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 5, 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 March 5, 2013 Skill #479, "CR_FULLPROTECTION" Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 5, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 5, 2013 Skill #479, "CR_FULLPROTECTION" For sc_start, I can't find it sc_start need { <effect type> } type SC_ in const.txt, not the skill ID Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 5, 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 March 5, 2013 for (i=0 ; i<4; i++) {sc_start (SC_CP_WEAPON+i),350000,5;} Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 5, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 5, 2013 It also works I would make .@i instead of i to avoid permanent char variable Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 5, 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 March 5, 2013 Ahh right, I always forgot about those var types Quote Link to comment Share on other sites More sharing options...
Ninjamon Posted March 5, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Author Share Posted March 5, 2013 None of these worked. up Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 5, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 5, 2013 The problem is for job type ,Slots,Job,Upper 20515,FCP_Jewel,FCP Jewel,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ skilleffect "AM_CP_WEAPON",0; sc_start SC_CP_WEAPON,350000,5; sc_start SC_CP_SHIELD,350000,5; sc_start SC_CP_ARMOR,350000,5; sc_start SC_CP_HELM,350000,5; },{},{} 0xFFFFFFFF : all job can use the item 0x00800000 : restricted to Class Monk Quote Link to comment Share on other sites More sharing options...
Question
Ninjamon
Why is it that my script on this item doesn't work?
I Can't click the item and it doesn't buff me FCP Skill Level 5.
Link to comment
Share on other sites
8 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.