Jump to content
  • 0
Sign in to follow this  
esquilla13

Question : How to enable Mjolnir for Acolyte Classes

Question

4 answers to this question

Recommended Posts

  • 0

Find

 

1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x000444A2,63,2,2,4,95,0,8,{},{},{}

0x000444A2

 

Replace it with

 

0x0004C5B2

 

1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x0004C5B2,63,2,2,4,95,0,8,{},{},{}

It will now applicable for Merchant/Swordsman/acolyte class..

 

of if you want change it to 0xFFFFFFFF so that all jobs can use it.

Edited by sevenzz23

Share this post


Link to post
Share on other sites
  • 0

Find

 

 

1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x000444A2,63,2,2,4,95,0,8,{},{},{}
0x000444A2

 

Replace it with

 

0x0004C5B2

 

1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x0004C5B2,63,2,2,4,95,0,8,{},{},{}
It will now applicable for Merchant/Swordsman/acolyte class..

 

of if you want change it to 0xFFFFFFFF so that all jobs can use it.

Ill try it later thanks sir. how about for thief class also?

Share this post


Link to post
Share on other sites
  • 0

Hi. For editing the Mjolnir server-side (its actual properties as an item) you have to go to db/re or pre-re/item_db.txt as Emistry said (the actual rute depends on whether you're using Renewal or Pre-Renewal, for example here's the item_db.txt for Renewal). Then you've got to look for the Mjolnir item ID number, which is ID# 1530.

 

You've got the file structure at the start of that same file. Putting these lines along, you've got something like this:

// Structure of Database:// ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x000444A2,63,2,2,4,95,0,8,{ bonus bAtkEle,Ele_Wind; bonus bDex,50; bonus bStr,20; bonus bAspdRate,10; bonus3 bAutoSpell,"MG_THUNDERSTORM",10,100; autobonus "{ bonus bSplashRange,1; }",50,10000; },{},{}

 

Then take a look at the item_db.txt documentation located at doc/item_db.txt and realise you're looking for the job column in your item_db.txt:

Job: Equippable jobs. Uses the following bitmask table:(S.) Novice    (2^00): 0x00000001Swordman       (2^01): 0x00000002Magician       (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): 0x00200000Star Gladiator (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): 0x40000000

 

These are hexadecimal numbers (they all start with the 0x thingy for the server to tell them apart from decimal numbers, but they don't usually start like this elsewhere). From now on, if you have problem summing hexadecimal numbers try to use an online hexadecimal calculator (or even Windows calculator can do it for you if you want) just like the one I just provided.

 

So let's get the jobs that the server currently lets the users to wield this weapon: in item_db it says 0x000444A2, which means:

Swordman     (2^01): 0x00000002Merchant     (2^05): 0x00000020Knight       (2^07): 0x00000080Blacksmith   (2^10): 0x00000400Crusader     (2^14): 0x00004000Alchemist    (2^18): 0x00040000Jobs allowed to use: 0x000444A2

If you want it to be also allowed to use by Thief and Acolyte classes, (and their respective second jobs), just add their bitmasks to the original bitmask, so that this value should change to:

 

Swordman     (2^01): 0x00000002Acolyte      (2^04): 0x00000010Merchant     (2^05): 0x00000020Thief        (2^06): 0x00000040Knight       (2^07): 0x00000080Priest       (2^08): 0x00000100Blacksmith   (2^10): 0x00000400Assassin     (2^12): 0x00001000Crusader     (2^14): 0x00004000Monk         (2^15): 0x00008000Rogue        (2^17): 0x00020000Alchemist    (2^18): 0x00040000Jobs allowed to use: 0x0006D5F2

 

So then, put that value inside your item_db.txt on your Mjolnir:

1530,Mjolnir,Mjolnir,4,20,,6000,350,,1,0,0x0006D5F2,63,2,2,4,95,0,8,{ bonus bAtkEle,Ele_Wind; bonus bDex,50; bonus bStr,20; bonus bAspdRate,10; bonus3 bAutoSpell,"MG_THUNDERSTORM",10,100; autobonus "{ bonus bSplashRange,1; }",50,10000; },{},{}

 

And reload your items on the server side. You're now good to go and will be able to perform some item edits (and maybe making your own ones server-side by yourself after this ;) .

 

P.S.: There could be some possible sprite missing errors, especially with thiefs using maces. Be extremely careful with this.

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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