Jump to content
  • 0
karazu

Can be wear by specific class only.

Question

Hello guys, I am trying to make a custom items but i have confuse in this part.

My plan is to make a custom items that is not wearable by 3rd classes


So what is exactly the code?
http://herc.ws/wiki/Custom_Items
 

 

(S.) Novice (2^00): 0x00000001Swordman (2^01): 0x00000002Mage (2^02): 0x00000004Archer (2^03): 0x00000008Acolyte (2^04): 0x00000010Merchant (2^05): 0x00000020Thief (2^06): 0x00000040Knight (2^07): 0x00000080Priest (2^08): 0x00000100Wizard (2^09): 0x00000200Blacksmith (2^10): 0x00000400Hunter (2^11): 0x00000800Assassin (2^12): 0x00001000Unused (2^13): 0x00002000Crusader (2^14): 0x00004000Monk (2^15): 0x00008000Sage (2^16): 0x00010000Rogue (2^17): 0x00020000Alchemist (2^18): 0x00040000Bard/Dancer (2^19): 0x00080000Unused (2^20): 0x00100000Taekwon (2^21): 0x00200000StarGladiator (2^22): 0x00400000Soul Linker (2^23): 0x00800000Gunslinger (2^24): 0x01000000Ninja (2^25): 0x02000000Gangsi (2^26): 0x04000000Death Knight (2^27): 0x08000000Dark Collector (2^28): 0x10000000Kagerou/Oboro (2^29): 0x20000000Rebellion (2^30): 0x40000000Some other commonly used values:All Classes  : 0xFFFFFFFFEvery Job Except Novice  : 0xFFFFFFFE 

 



All in the list are all 2nd jobs and first job. so If I will use them I think it will be automatically wearable by the 3rd classes?

Edited by karazu

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Change the Upper field.

Normal jobs:      0x01 (1)Upper jobs:       0x02 (2)Baby jobs:        0x04 (4)Third jobs:       0x08 (8)Upper Third jobs: 0x10 (16)Baby Third jobs:  0x20 (32)

Either Change "Upper" Value to 7 or 0x07(if want in hexadecimal)

Share this post


Link to post
Share on other sites
  • 0

Change the Upper field.

Normal jobs:      0x01 (1)Upper jobs:       0x02 (2)Baby jobs:        0x04 (4)Third jobs:       0x08 (8)Upper Third jobs: 0x10 (16)Baby Third jobs:  0x20 (32)

Either Change "Upper" Value to 7 or 0x07(if want in hexadecimal)

I am getting ur point but I am still confused lol.. hmmm

 

i will make the Valk Armor as a sample

 

 

    Id: 2357	AegisName: "Valkyrie_Armor"	Name: "Valkyrian Armor"	Type: 5	Buy: 0	Weight: 2800	Def: 55	Slots: 1	Job: 0x000FDFFE	Upper: 58	Loc: 16	Script: <"		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;	">}, 

its  0x000FDFFE

Every Rebirth Job except High Novice 

 

so If I will make this 

Every Job Except Novice as long as they are not 3rd job?  : 0xFFFFFFFE x 0x02 = ??????????????

 

 

 

 

 

OMG why am I learning this things. hahahh

 

Share this post


Link to post
Share on other sites
  • 0

change Upper: 58 into Upper: 7 and test

My Current setting

 

	Id: 20360	AegisName: "test"	Name: "test"	Type: 5	Buy: 20	Weight: 100	Slots: 0	Job: 0x000FDFFE	Upper: 7	Loc: 136	EquipLv: 10	Refine: false	Script: <" 

Not working. I can still wear it with my GX

 

 

The answer of my question is supposed to be 7

 

 

Normal jobs: 0x01 (1)Upper jobs: 0x02 (2)Baby jobs: 0x04 (4) 

 

 

 

but it seems to be not working, 

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0
1,armor,armor,5,50,10,70,,10,,1,0x00098B1D,8,2,16,,10,1,1,{},{},{}

try this one if you want only Archer,Mage & Acolyte class can equip the armor you want.. the code is (0x00098B1D)

 

Change Upper into 5 and use this code for restricted jobs " 0x00098B1D "

Edited by WalkingBad

Share this post


Link to post
Share on other sites
  • 0

NVM! Just close this one..

I will just make another way ^_^

 

Thank you! 

 

indeed you can make a check to disable the item bonuses on third classes ;P

Share this post


Link to post
Share on other sites
  • 0

 

NVM! Just close this one..

I will just make another way ^_^

 

Thank you! 

 

indeed you can make a check to disable the item bonuses on third classes ;P

Thats what i did.. ^_^

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.