Brynner Posted July 11, 2012 Posted July 11, 2012 how to enable valkyrie armor can be equipped by all class except novice. Quote
Rayan Posted July 11, 2012 Posted July 11, 2012 change in item_db , u will find the tutorial in the starting of the file ,for the classes code use docs in server folder [ i don't remember if its there or not] or find here somewhere.... Quote
Euphy Posted July 11, 2012 Posted July 11, 2012 Check the Wiki. "Custom Items" > "Structure" > "Job" http://rathena.org/wiki/Custom_Items#Structure Quote
Brynner Posted July 11, 2012 Author Posted July 11, 2012 oh ok thanks Euphy Check the Wiki. "Custom Items" > "Structure" > "Job" http://rathena.org/w...Items#Structure is this a bug @Euphy? Every Job Except Novice : 0xFFFFFFFE but the ninja class still can't equip the valkyrie armor.?and i already set it to All Classes : 0xFFFFFFFF Quote
Euphy Posted July 11, 2012 Posted July 11, 2012 Upper: Specifies whether the item can be used by normal, baby or reborn classes. 1 = Normal 2 = Reborn Classes (High Wizards, Champions etc.) (includes 3rd classes) 4 = Baby Classes 8 = 3rd Classes Quote
Brynner Posted July 12, 2012 Author Posted July 12, 2012 Upper: Specifies whether the item can be used by normal, baby or reborn classes. 1 = Normal 2 = Reborn Classes (High Wizards, Champions etc.) (includes 3rd classes) 4 = Baby Classes 8 = 3rd Classes where can i find this sir? Quote
Brynner Posted July 12, 2012 Author Posted July 12, 2012 http://rathena.org/wiki/Custom_Items Euphy is already send that link. Quote
Haziel Posted July 13, 2012 Posted July 13, 2012 (edited) Brynner, in a Item, there is three sets of restrictions. 2357,Valkyrie_Armor,Valkyrian Armor,5,0,,2800,,6,,1,0xFFFFFFFE,2,2,16,,1,1,0,{ bonus bAllStats,1; bonus bUnbreakableArmor,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000; else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000; },{},{} Red: Means which Classes can use it, the value is in Hexadecimal, for your needs, don't touch it. Blue: Means wich Types of Classes can use it. 1 = Normal 2 = Reborn Classes (High Wizards, Champions etc.) (includes 3rd classes) 4 = Baby Classes 8 = 3rd Classes Plus the values you want to make it work. For what you asked, the value must be changed to 3 (1 + 2 = Normal and Reborn Classes) or 7 (1 + 2 + 4 = Normal, Baby and Reborn Classes). Green: Sets wich gender can use the item, 0 for male, 1 for female and 2 for both. Good luck. Edited July 13, 2012 by Haziel 1 Quote
Brynner Posted July 14, 2012 Author Posted July 14, 2012 Brynner, in a Item, there is three sets of restrictions. 2357,Valkyrie_Armor,Valkyrian Armor,5,0,,2800,,6,,1,0xFFFFFFFE,2,2,16,,1,1,0,{ bonus bAllStats,1; bonus bUnbreakableArmor,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus2 bResEff,Eff_Silence,5000; else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus2 bResEff,Eff_Stun,5000; },{},{} Red: Means which Classes can use it, the value is in Hexadecimal, for your needs, don't touch it. Blue: Means wich Types of Classes can use it. 1 = Normal 2 = Reborn Classes (High Wizards, Champions etc.) (includes 3rd classes) 4 = Baby Classes 8 = 3rd Classes Plus the values you want to make it work. For what you asked, the value must be changed to 3 (1 + 2 = Normal and Reborn Classes) or 7 (1 + 2 + 4 = Normal, Baby and Reborn Classes). Green: Sets wich gender can use the item, 0 for male, 1 for female and 2 for both. Good luck. problem solve. the problem is on the Upper. i forgot to make an combination. Quote
Question
Brynner
how to enable valkyrie armor can be equipped by all class except novice.
10 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.