Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Confusion is </3


ay0konapala

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

I found out when im scripting, i think there are some TYPO ERROR?

 

The fourth place when scripting an item is Type. ID,DBName,Name,TYPE,Price,Sell Etc...

 

The guide says type 4 = Armor then type 5 = Weapon. (According to https://github.com/rathena/rathena/blob/master/doc/item_db.txt and http://rathena.org/wiki/Custom_Items)

 

When I looked at Item_db (which is from, if im not mistaken, official ragnarok online) the script for an armor is: 

 

2319,Glittering_Clothes,Glittering Jacket,5,20,,2500,,7,,1,0xFFFFFFFE,7,2,16,,60,1,0,{ bonus bMdef,5; bonus2 bAddEff,Eff_Blind,300; },{},{}

 

Then the Item is: 

 

1624,Lich_Bone_Wand,Lich's Bone Wand,4,20,,800,60,,1,2,0x00018314,2,2,2,3,70,1,10,{ bonus bInt,1; bonus bDex,1; bonus bAtkEle,Ele_Undead; bonus bMatkRate,20; bonus3 bAutoSpellWhenHit,"NPC_WIDECURSE",5,10+getrefine(); if(getrefine()>=9){ bonus bMatkRate,3; bonus bMaxSP,300; } },{},{}

 

I need answers! ASAP!

 

Its so confusing! MY MIND'S GONNA BLOOOOW!!! GRRAAAAAA!!!!!!!!

 

THANK YOU :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2373
  • Joined:  10/28/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

Thank you emistry :) . You're so Genius :) . Please Close this topic :)

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