Jade Posted June 22, 2018 Posted June 22, 2018 how to have item combo bonus script for .... either of the following is equip {}{}{} example: 1 upper + 1 mid + 1 lower = bonus stat upper ( hat, cap, helm ) mid ( glasses, elven, binocular ) lower ( r.leaf, r.flower, flu mask ) if equip ( either of the following upper head + either of mid + either of low ) = bonus stat TIA = thanks in advance Quote
0 crazyarashi Posted June 22, 2018 Posted June 22, 2018 HATID:GLASSESID:RLEAFID:,{ bonus bStr,1; } //Bonus stat not specified Just add every combination of your item id in item_combo_db. Quote
0 Jade Posted June 22, 2018 Author Posted June 22, 2018 Just now, crazyarashi said: HATID:GLASSESID:RLEAFID:,{ bonus bStr,1; } //Bonus stat not specified Just add every combination of your item id in item_combo_db. what i mean is, either of the following UPPER + either of the ff MID + either of the ff LOW = bonus yours be like... what if i wear "cap" + glasses + leaf .. not like your hat + glasses + leaf ... there's no bonus on that.. Quote
0 crazyarashi Posted June 22, 2018 Posted June 22, 2018 That's why you add every possible combination of your item in item_combo_db, please do read the guides :)) Ex. HATID:GLASSESID:RLEAFID:,{ bonus bStr,1; }CAPID:GLASSESID:RLEAFID:,{ bonus bStr,1; }HELMID:GLASSESID:RLEAFID:,{ bonus bStr,1; } Quote
0 Jade Posted June 23, 2018 Author Posted June 23, 2018 11 hours ago, crazyarashi said: That's why you add every possible combination of your item in item_combo_db, please do read the guides :)) Ex. HATID:GLASSESID:RLEAFID:,{ bonus bStr,1; }CAPID:GLASSESID:RLEAFID:,{ bonus bStr,1; }HELMID:GLASSESID:RLEAFID:,{ bonus bStr,1; } yes, i've done that in other set of items... my question is... is there any general script if you have tons of items to add (not one by one like that) eg: 10 upper / 10mid / 10 lower ... well you can't add all the possible combination for those items ... like setting array? if isequipped ? sorry i have the idea but i don't know how to add that script Quote
0 Jade Posted June 23, 2018 Author Posted June 23, 2018 i've come up with this.... now my question is how to simplify this script? i'll just put this into the UPPER HEADGEAR SCRIPT those are the MID and LOWER headgear { if((isequipped(41411) || isequipped(41412) || isequipped(41413) || isequipped(41414) || isequipped(41415) || isequipped(41416) || isequipped(41417) || isequipped(41429)) && (isequipped(41418) || isequipped(41419) || isequipped(41420) || isequipped(41421) || isequipped(41422) || isequipped(41423) || isequipped(41424) || isequipped(41425) || isequipped(41426) || isequipped(41427) || isequipped(41428))) bonus bAllStats,2; } Quote
0 crazyarashi Posted June 23, 2018 Posted June 23, 2018 Adding it in the item_combo_db would simplify it. :)) Quote
Question
Jade
how to have item combo bonus script for ....
either of the following is equip {}{}{}
example:
1 upper + 1 mid + 1 lower = bonus stat
upper ( hat, cap, helm )
mid ( glasses, elven, binocular )
lower ( r.leaf, r.flower, flu mask )
if equip ( either of the following upper head + either of mid + either of low ) = bonus stat
TIA = thanks in advance
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.