Ninjamon Posted March 4, 2013 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
Capuche Posted March 4, 2013 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
Capuche Posted March 5, 2013 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
nanakiwurtz Posted March 5, 2013 Posted March 5, 2013 for (i=0 ; i<4; i++) {sc_start (SC_CP_WEAPON+i),350000,5;} Quote
Capuche Posted March 5, 2013 Posted March 5, 2013 It also works I would make .@i instead of i to avoid permanent char variable Quote
nanakiwurtz Posted March 5, 2013 Posted March 5, 2013 Ahh right, I always forgot about those var types Quote
Capuche Posted March 5, 2013 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
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.
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.