Jade Posted June 22, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 03/27/18 Last Seen: November 14, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 crazyarashi Posted June 22, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Jade Posted June 22, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 03/27/18 Last Seen: November 14, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 crazyarashi Posted June 22, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Jade Posted June 23, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 03/27/18 Last Seen: November 14, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 Jade Posted June 23, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 03/27/18 Last Seen: November 14, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 crazyarashi Posted June 23, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 10 hours ago Share Posted June 23, 2018 Adding it in the item_combo_db would simplify it. :)) Quote Link to comment Share on other sites More sharing options...
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
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.