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