Kido Posted May 23, 2014 Posted May 23, 2014 cool o:! yeah i forgot about 'else' D: alright i will try to edit/update when i finish more items o: i'm having a funny time dealing with this one 24084#The protective effect of the reinforcement can be obtained in combination with other Armors. Also your power protection is available as a single, but its protective effect is smaller.CRI + 5.Each 2 refines add CRI + 1.When equipped with ^32CD32 gemstone shadow set(armor, shield, shoes, weapon, earring, pendant)^000000All State + 1.If the amount of the entire set of refine is equal or superior 45 removes gemstone from the requirement of skills. increase in 100% the SP cost of skills.When refine total is superior to + 45 reduce % the sp cost of skills.Class : ^777777Shadow Equipment^000000Location: ^777777Armor^000000 Weight :^7777770^000000Required Level :^7777771^000000Applic If the amount of the entire set of refine is equal or superior 45 removes gemstone from the requirement of skills. increase in 100% the SP cost of skills. When refine total is superior to + 45 reduce % the sp cost of skills. o______o i have never see an effect like that, pretty new for me D: huh well i was into scrip commands looking at https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L2481 to see how i can get the a specified id and if that item refine is = to ? @_@ maybe like this? if ((getequipid(EQI_ARMOR) == 24084 && (getrefine()>=12) ) && ((getequipid(EQI_HAND_L) == 24086 && (getrefine()>=11) ) && ((getequipid(EQI_HAND_R) == 24087 && (getrefine()>=11) ) && ((getequipid(EQI_EQI_SHOES) == 24085 && (getrefine()>=11) ) { bonus bNoGemStone,0; bonus bUseSPrate,100; } or i just can go by if ((getequiprefinerycnt( 15 ) >=45) ) { bonus bNoGemStone,0; bonus bUseSPrate,100; } /spin also dunno this part When refine total is superior to + 45 reduce % the sp cost of skills. 89 rep lol i'm not even half of what you got guys
Cydh Posted May 23, 2014 Author Posted May 23, 2014 it's item_combo, I think @Lilith or @nanakiwurtz already made something like that. db/re/item_combo_db.txt#L259 If the amount of the entire set of refine is equal or superior 45 removes gemstone from the requirement of skills. increase in 100% the SP cost of skills. When refine total is superior to + 45 reduce % the sp cost of skills rough translation from Google Translate? it supposed if total refine >= 45, no gemstone. lol the SP part, just leave it alone first.
Kido Posted May 23, 2014 Posted May 23, 2014 i/t's item_combo, I think @Lilith or @nanakiwurtz already made something like that. db/re/item_combo_db.txt#L259 lol you mean i should leave the item combo script? @____________@ Edit: I couldn't finish them D: huh for now i will leave this o: [spoilera] http://pastebin.com/jvJ9Jbz1 [/spoilera]
nanakiwurtz Posted May 23, 2014 Posted May 23, 2014 My memory is a bit rusty 24084:24085:24086:24087,{ set .@i,getequiprefinerycnt(16) + getequiprefinerycnt(17) + getequiprefinerycnt(18) + getequiprefinerycnt(19) + getequiprefinerycnt(20) + getequiprefinerycnt(21); if(.@i>=45) { bonus bNoGemStone,1; bonus bUseSPrate,100; } } Add more items to the list, because I didn't fully read Kido's post... 1
Cydh Posted May 23, 2014 Author Posted May 23, 2014 @kido, no u should make it! didn't I give you the line that use something like that? just like nanakiwurtz wrote, u can remove the set .@i and use constant for item location.
Kido Posted May 23, 2014 Posted May 23, 2014 huh i'll continue this tonight o:! so, combo items too? o: alright !
Cydh Posted May 24, 2014 Author Posted May 24, 2014 and item_trade. in the desc, there is info about item that cannot be traded. xD
nanakiwurtz Posted May 24, 2014 Posted May 24, 2014 Hmm I think this will be shorter, why would we need the .@i temp variable anyway? 24084:24085:24086:24087,{if(getequiprefinerycnt(16) + getequiprefinerycnt(17) + getequiprefinerycnt(18) + getequiprefinerycnt(19) + getequiprefinerycnt(20) + getequiprefinerycnt(21))>=45){bonus bNoGemStone,1; bonus bUseSPrate,100;}}
Cydh Posted May 24, 2014 Author Posted May 24, 2014 @Kido, are u done yet? I just finished my 2014 items (at least cleared all item in Ziu file, until kRO 2014-03-26 patch)
Kido Posted May 24, 2014 Posted May 24, 2014 @Kido, are u done yet? I just finished my 2014 items (at least cleared all item in Ziu file, until kRO 2014-03-26 patch) ow i'm not z_z i fell asleep at 3am lol huh i thinked it would be only the item bonus script D: it will take me some time more to do the restrict and combos DDD: but yeah i'm still in it, sry for no updates D:! /spin Edit 2: I will continue later, i'm almost done with the item bonus script, when i end with that i will take care of the combos and restricted and so on ;o going to sleep D: nights :33 http://upaste.me/012a125528203a752 Can't remember how to reduce a specific skill cool down/delay z_z!
Cydh Posted May 25, 2014 Author Posted May 25, 2014 for bonuses, doc/item_bonus.txt well, just say give up if you think you can't finish it, I'll take care of it
Kido Posted May 25, 2014 Posted May 25, 2014 for bonuses, doc/item_bonus.txt well, just say give up if you think you can't finish it, I'll take care of it i didn't say that i can't finish it D: only that it will take me a bit more of time or if i'm going too slow well i did all i can in that time DDD: as you wish, no problem with me
Cydh Posted May 27, 2014 Author Posted May 27, 2014 give me your latest paste, I'll continue it. then I prepare more items to script (I smells April ~ May items)
Kido Posted May 28, 2014 Posted May 28, 2014 give me your latest paste, I'll continue it. then I prepare more items to script (I smells April ~ May items) alright o: sorry for not complete it, i just got some extra tasks DD:! http://upaste.me/37f21260189e9f70b it will be deleted in 1 day lol 1
Cydh Posted May 28, 2014 Author Posted May 28, 2014 give me your latest paste, I'll continue it. then I prepare more items to script (I smells April ~ May items) alright o: sorry for not complete it, i just got some extra tasks DD:! http://upaste.me/37f21260189e9f70b it will be deleted in 1 day lol I'll check them
Cydh Posted May 28, 2014 Author Posted May 28, 2014 if from Ziu (idnum2displaynametable.txt) 2014-04 ~ 2014-05-21, about 70 items.
Ziu Posted May 30, 2014 Posted May 30, 2014 if from Ziu (idnum2displaynametable.txt) 2014-04 ~ 2014-05-21, about 70 items.
Cydh Posted June 28, 2015 Author Posted June 28, 2015 this post no longer need. thank for everyone who helped
Recommended Posts