Jump to content
  • 0

item restriction.


Brynner

Question


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

how to enable valkyrie armor can be equipped by all class except novice.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

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....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

anyone knows?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Check the Wiki.

"Custom Items" > "Structure" > "Job"

http://rathena.org/wiki/Custom_Items#Structure

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Euphy is already send that link.

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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 by Haziel
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...