Server files / resource / scripts / calculation / variable.lua
Ctrl + f ( FIND ) "StoneAttrType_Num"
edit the number to + 1 w/e it is currently is (adding 1 gem) this will be known as ##
StoneAttrType_Num = ##
Continue scrolling to the end of "StoneAttrType" list, add, and edit this
StoneAttrType [##] = ITEMATTR_VAL_AAAA
## = same as above
Replace AAAA with one of the following
STR --Strength
DEX --Accuracy
AGI --Agility
CON --Constitution
STA --Spirit
MXHP --Max Hp
MXSP --Max Sp
MNATK --Attack
DEF --Defense
HIT --Hit rate
FLEE --Dodge
MF --Raise drop rate o_O untested --lol pick pocket--
CRT --Crit rate
HREC --Hp rec
SREC --Sp rec
ASPD --Attack speed
MSPD --Movement speed
PDEF --Physical resistance
Next Find "StoneEff_Num"
Then edit the number ## to same as above
Continue Scrolling to the end of "StoneEff" list, add, and edit this
StoneEff [##] = #
## = same as above
Replace # with the amount of stats the gem will give
Next Find "StoneTpye_ID_Num"
Then edit the number ## to same as above
Continue Scrolling to the end of "StoneTpye_ID" list, add, and edit this
StoneTpye_ID [##] = ####
## = same as above
Replace #### with Iteminfo.txt ID
Next find "StoneEffType"
Continue Scrolling to the end of "StoneEffType" list, add, and edit this
StoneEffType[##] = #
## = same as above
Replace # with effect type 1-4
1) attack
2) defense
3) havent seen it used
4) other
Next find "StoneItemType"
Continue Scrolling to the end of "StoneItemType" list, add, and edit this
StoneItemType[##] = { #,0 }
## = same as above
Replace # with where u want the gem to go (can be more than one ex: {11,22,27,0})
1) 1 handed sword
2) 2 handed sword
3) Bow
4) Firegun
7) daggers
9) Staffs
11) shield
20) ami caps
22) armors
23) gloves
24) shoes
27) tattoos
Note: I don't know who owns this guide, it's been posted by serverdev admin so I'm sure it's not his guide.