Browse Source

Follow up 402170c
- Added 'ID' as identifier/index for produce_db and skill_changematerial_db to avoid 'rewriting' product result with different materials. As we can see there 'Starsand_Of_Witch' can be produced by (1) 10 Insect Feeler + 15 Blue Porcelain or (2) 100 Moth Dust + 100 Scell.
- Map-server crashed issue while @reloadskilldb. Some counters aren't zeroed on skill_readdb() makes array overflow. (bugreport:9241, bugreport:9243)
- Allowing import file to remove original entry by put certain value. See the changed db files for more details.
- Relying to skill_spellbook_db for listing available book as spell book. For Warlock skill Reading Spellbook (WL_READING_SB).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>

Cydh Ramdh 10 years ago
parent
commit
51ecd9b2bc

+ 10 - 7
db/abra_db.txt

@@ -1,17 +1,20 @@
 // Hocus-Pocus (Abracadabra) Castable Skills Database
 //
 // Structure of Database:
-// SkillID,DummyName,RatePerLvl
+// SkillID,DummyName,ProbabilityPerLvl
 //
 // 01. SkillID                  Skill ID to be casted by hocus pocus.
 // 02. DummyName                Name of the skill (informative, not used by server).
-// 03. RatePerLvl               Chance at which the skill is selected (1 = 0.01%, 10000 = 100%).
+// 03. ProbabilityPerLvl        Not a rate! Chance at which the skill is selected compared
+//                              with other entries probabilties
 //
-// NOTE: The skill is picked at random from the entire database and then tested for rate. If it
-//       does not succeed at that rate, another skill is picked and tested. This continues
-//       until a skill succeeds. Abracadabra-specific skills have a different chance to occur
-//       depending on skill level used. All other skills have an equal chance and appear from
-//       level 1 onward.
+// NOTE:
+// - The skill is picked at random from the entire database and then tested for rate. If it
+//   does not succeed at that rate, another skill is picked and tested. This continues
+//   until a skill succeeds. Abracadabra-specific skills have a different chance to occur
+//   depending on skill level used. All other skills have an equal chance and appear from
+//   level 1 onward.
+// - To remove entry by importing, put "clear" (without quotes) in DummyName
 
 5,Bash,500
 6,Provoke,500

+ 3 - 1
db/create_arrow_db.txt

@@ -8,7 +8,9 @@
 // 03. MakeAmount   Amount of MakeID item received from Arrow Crafting.
 // ...
 //
-// NOTE: Up to MAX_ARROW_RESOURCE (typically 5) ID/Amount pairs can be specified.
+// NOTE:
+// - Up to MAX_ARROW_RESULT (typically 5) ID/Amount pairs can be specified.
+// - To remove entry by importing, put 0 on 'MakeID'
 
 // Old Blue Box --> 50 Sharp Arrows, 50 Sleep Arrows
 603,1764,50,1768,50

+ 10 - 7
db/import-tmpl/abra_db.txt

@@ -1,14 +1,17 @@
 // Hocus-Pocus (Abracadabra) Castable Skills Database
 //
 // Structure of Database:
-// SkillID,DummyName,RatePerLvl
+// SkillID,DummyName,ProbabilityPerLvl
 //
 // 01. SkillID                  Skill ID to be casted by hocus pocus.
 // 02. DummyName                Name of the skill (informative, not used by server).
-// 03. RatePerLvl               Chance at which the skill is selected (1 = 0.01%, 10000 = 100%).
+// 03. ProbabilityPerLvl        Not a rate! Chance at which the skill is selected compared
+//                              with other entries probabilties
 //
-// NOTE: The skill is picked at random from the entire database and then tested for rate. If it
-//       does not succeed at that rate, another skill is picked and tested. This continues
-//       until a skill succeeds. Abracadabra-specific skills have a different chance to occur
-//       depending on skill level used. All other skills have an equal chance and appear from
-//       level 1 onward.
+// NOTE:
+// - The skill is picked at random from the entire database and then tested for rate. If it
+//   does not succeed at that rate, another skill is picked and tested. This continues
+//   until a skill succeeds. Abracadabra-specific skills have a different chance to occur
+//   depending on skill level used. All other skills have an equal chance and appear from
+//   level 1 onward.
+// - To remove entry by importing, put "clear" (without quotes) in DummyName

+ 3 - 1
db/import-tmpl/create_arrow_db.txt

@@ -8,5 +8,7 @@
 // 03. MakeAmount   Amount of MakeID item received from Arrow Crafting.
 // ...
 //
-// NOTE: Up to MAX_ARROW_RESOURCE (typically 5) ID/Amount pairs can be specified.
+// NOTE:
+// - Up to MAX_ARROW_RESULT (typically 5) ID/Amount pairs can be specified.
+// - To remove entry by importing, put 0 on 'MakeID'
 

+ 3 - 1
db/import-tmpl/magicmushroom_db.txt

@@ -2,5 +2,7 @@
 // List of skills that are randomly used through Magic Mushroom status change.
 //
 // Structure of Database:
-// SkillID
+// SkillID{,RemoveFlag}
+//
+// - To remove entry by importing, put any value on 'RemoveFlag'
 

+ 6 - 3
db/import-tmpl/produce_db.txt

@@ -1,9 +1,12 @@
 // Item Produce Database
 //
 // Structure of Database:
-// ProduceItemID,ItemLV,RequireSkill,RequireSkillLv,MaterialID1,MaterialAmount1,......
+// ID,ProduceItemID,ItemLV,RequireSkill,RequireSkillLv,MaterialID1,MaterialAmount1,......
 //
 // Notes:
-// If MaterialAmount is 0, the player must have that item in their inventory (i.e. guides).
-// For example, Mine Bottle requires 0x Marine Sphere Creation Guide (ID 7131).
+// - ID is used to identify item order that will be used for overwriting on db/import.
+//   Value is started from 0 until 269 (MAX_PRODUCE_RESOURCE-1). Use same ID on import file to overwrite original result & requirements
+// - To remove entry by importing, put 0 on 'ProduceItemID'
+// - If MaterialAmount is 0, the player must have that item in their inventory (i.e. guides).
+//   For example, Mine Bottle requires 0x Marine Sphere Creation Guide (ID 7131).
 

+ 6 - 4
db/import-tmpl/skill_changematerial_db.txt

@@ -1,9 +1,11 @@
 // Change Material Database
 //
 // Structure of Database:
-// ProductID,BaseRate,MakeAmount1,MakeAmountRate1...,MakeAmount5,MakeAmountRate5
+// ID,ProductID,BaseRate,MakeAmount1,MakeAmountRate1...,MakeAmount5,MakeAmountRate5
 //
-// NOTE: 
-// Up to 5 ID/Amount pairs can be specified.
-// Rate = n/10%
+// NOTE:
+// - ID is used to identify item order that will be used for overwriting on db/import.
+//   Value is started from 0 until 74 (MAX_SKILL_CHANGEMATERIAL_DB-1). Use same ID on import file to overwrite original result & requirements
+// - Up to 5 ID/Amount pairs can be specified.
+// - Rate = n/10%
 

+ 2 - 0
db/import-tmpl/skill_improvise_db.txt

@@ -3,4 +3,6 @@
 //
 // Structure of Database:
 // SkillID,Rate
+//
+// - To remove entry by importing, put 0 on 'Rate'
 

+ 3 - 1
db/import-tmpl/spellbook_db.txt

@@ -3,5 +3,7 @@
 // Structure of Database:
 // SkillID,PreservePoints,Required Book
 //
-// NOTE: To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.h.
+// NOTE:
+// - To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.h.
+// - To remove entry by importing, put 0 for 'PreservePoints'
 

+ 3 - 1
db/magicmushroom_db.txt

@@ -2,7 +2,9 @@
 // List of skills that are randomly used through Magic Mushroom status change.
 //
 // Structure of Database:
-// SkillID
+// SkillID{,RemoveFlag}
+//
+// - To remove entry by importing, put any value on 'RemoveFlag'
 
 7	//SM_MAGNUM
 8	//SM_ENDURE

+ 270 - 267
db/produce_db.txt

@@ -1,137 +1,140 @@
 // Item Produce Database
 //
 // Structure of Database:
-// ProduceItemID,ItemLV,RequireSkill,RequireSkillLv,MaterialID1,MaterialAmount1,......
+// ID,ProduceItemID,ItemLV,RequireSkill,RequireSkillLv,MaterialID1,MaterialAmount1,......
 //
 // Notes:
-// If MaterialAmount is 0, the player must have that item in their inventory (i.e. guides).
-// For example, Mine Bottle requires 0x Marine Sphere Creation Guide (ID 7131).
+// - ID is used to identify item order that will be used for overwriting on db/import.
+//   Value is started from 0 until 269 (MAX_PRODUCE_RESOURCE-1). Use same ID on import file to overwrite original result & requirements
+// - To remove entry by importing, put 0 on 'ProduceItemID'
+// - If MaterialAmount is 0, the player must have that item in their inventory (i.e. guides).
+//   For example, Mine Bottle requires 0x Marine Sphere Creation Guide (ID 7131).
 
 //===== Weapon === ItemLV=1~3 ==================
 
 //---- One Handed Swords -----------------------
 //-- Sword <-- BS_SWORD & 2 Iron
-1101,1,99,1,998,2
+0,1101,1,99,1,998,2
 //-- Falchion <-- BS_SWORD & 30 Iron
-1104,1,99,1,998,30
+1,1104,1,99,1,998,30
 //-- Blade <-- BS_SWORD & 45 Iron, 25 Tooth of Bat
-1107,1,99,1,998,45,913,25
+2,1107,1,99,1,998,45,913,25
 //-- Rapier <-- BS_SWORD & 20 Steel
-1110,2,99,2,999,20
+3,1110,2,99,2,999,20
 //-- Scimiter <-- BS_SWORD & 35 Steel
-1113,2,99,2,999,35
+4,1113,2,99,2,999,35
 //-- Ring Pommel Saber <-- BS_SWORD & 40 Steel, 50 Wolf Claw
-1122,2,99,2,999,40,920,50
+5,1122,2,99,2,999,40,920,50
 //-- Saber <-- BS_SWORD & 5 Steel, 8 Oridecon, 1 Opal
-1126,3,99,3,999,5,984,8,727,1
+6,1126,3,99,3,999,5,984,8,727,1
 //-- Haedongum <-- BS_SWORD & 8 Oridecon, 10 Steel, 1 Topaz
-1123,3,99,3,984,8,999,10,728,1
+7,1123,3,99,3,984,8,999,10,728,1
 //-- Tsurugi <-- BS_SWORD & 8 Oridecon, 15 Steel, 1 Garnet
-1119,3,99,3,984,8,999,15,718,1
+8,1119,3,99,3,984,8,999,15,718,1
 //-- Flamberge <-- BS_SWORD & 16 Oridecon, 1 Cursed Ruby
-1129,3,99,3,984,16,724,1
+9,1129,3,99,3,984,16,724,1
 //----------------------------------------------
 
 //---- Daggers ---------------------------------
 //-- Knife <-- BS_DAGGER & 1 Iron, 10 Jellopies
-1201,1,98,1,998,1,909,10
+10,1201,1,98,1,998,1,909,10
 //-- Cutter <-- BS_DAGGER & 25 Iron
-1204,1,98,1,998,25
+11,1204,1,98,1,998,25
 //-- Main Gauge <-- BS_DAGGER & 50 Iron
-1207,1,98,1,998,50
+12,1207,1,98,1,998,50
 //-- Dirk <-- BS_DAGGER & 17 Steel
-1210,2,98,2,999,17
+13,1210,2,98,2,999,17
 //-- Dagger <-- BS_DAGGER & 30 Steel
-1213,2,98,2,999,30
+14,1213,2,98,2,999,30
 //-- Stiletto <-- BS_DAGGER & 40 Steel
-1216,2,98,2,999,40
+15,1216,2,98,2,999,40
 //-- Gladius <-- BS_DAGGER & 4 Oridecon, 40 Steel, 1 Sapphire
-1219,3,98,3,984,4,999,40,726,1
+16,1219,3,98,3,984,4,999,40,726,1
 //-- Damascus <-- BS_DAGGER & 4 Oridecon, 60 Steel, 1 Zircon
-1222,3,98,3,984,4,999,60,729,1
+17,1222,3,98,3,984,4,999,60,729,1
 //----------------------------------------------
 
 //---- Two Handed Swords -----------------------
 //-- Katana <-- BS_TWOHANDSWORD & 35 Iron, 15 Horrendous Mouth
-1116,1,100,1,998,35,958,15
+18,1116,1,100,1,998,35,958,15
 //-- Slayer <-- BS_TWOHANDSWORD & 25 Steel, 20 Decayed Nail
-1151,2,100,2,999,25,957,20
+19,1151,2,100,2,999,25,957,20
 //-- Bastard Sword <-- BS_TWOHANDSWORD & 45 Steel
-1154,2,100,2,999,45
+20,1154,2,100,2,999,45
 //-- Two-Handed Sword <-- BS_TWOHANDSWORD & 12 Oridecon, 10 Steel
-1157,3,100,3,984,12,999,10
+21,1157,3,100,3,984,12,999,10
 //-- Broad Sword <-- BS_TWOHANDSWORD & 12 Oridecon, 20 Steel
-1160,3,100,3,984,12,999,20
+22,1160,3,100,3,984,12,999,20
 //-- Claymore <-- BS_TWOHANDSWORD & 16 Oridecon, 20 Steel, 1 Cracked Diamond
-1163,3,100,3,984,16,999,20,733,1
+23,1163,3,100,3,984,16,999,20,733,1
 //----------------------------------------------
 
 //---- Axes ------------------------------------
 //-- Axe <-- BS_AXE & 10 Iron
-1301,1,101,1,998,10
+24,1301,1,101,1,998,10
 //-- Battle Axe <-- BS_AXE & 110 Iron
-1351,1,101,1,998,110
+25,1351,1,101,1,998,110
 //-- Hammer <-- BS_AXE & 30 Steel
-1354,2,101,2,999,30
+26,1354,2,101,2,999,30
 //-- Buster <-- BS_AXE & 4 Oridecon, 20 Steel, 30 Orcish Fang
-1357,3,101,3,984,4,999,20,922,30
+27,1357,3,101,3,984,4,999,20,922,30
 //-- Two-Handed Axe <-- BS_AXE & 8 Oridecon, 10 Steel, 1 Amthyst
-1360,3,101,3,984,8,999,10,719,1
+28,1360,3,101,3,984,8,999,10,719,1
 //----------------------------------------------
 
 //---- Maces -----------------------------------
 //-- Club <-- BS_MACE & 3 Iron
-1501,1,102,1,998,3
+29,1501,1,102,1,998,3
 //-- Mace <-- BS_MACE & 30 Iron
-1504,1,102,1,998,30
+30,1504,1,102,1,998,30
 //-- Smasher <-- BS_MACE & 20 Steel
-1507,2,102,2,999,20
+31,1507,2,102,2,999,20
 //-- Flail <-- BS_MACE & 33 Steel
-1510,2,102,2,999,33
+32,1510,2,102,2,999,33
 //-- Chain <-- BS_MACE & 45 Steel
-1519,2,102,2,999,45
+33,1519,2,102,2,999,45
 //-- Morning Star <-- BS_MACE & 85 Steel, 1 1 Carat Diamond
-1513,3,102,3,999,85,730,1
+34,1513,3,102,3,999,85,730,1
 //-- Sword Mace <-- BS_MACE & 100 Steel, 20 Sharp Scale
-1516,3,102,3,999,100,963,20
+35,1516,3,102,3,999,100,963,20
 //-- Stunner <-- BS_MACE & 120 Steel, 1 Heroic Emblem
-1522,3,102,3,999,120,968,1
+36,1522,3,102,3,999,120,968,1
 //----------------------------------------------
 
 //---- Knucklebracers --------------------------
 //-- Waghnakh <-- BS_KNUCKLE & 160 Iron, 1 Pearl
-1801,1,103,1,998,160,722,1
+37,1801,1,103,1,998,160,722,1
 //-- Knuckle Duster <-- BS_KNUCKLE & 50 Steel
-1803,2,103,2,999,50
+38,1803,2,103,2,999,50
 //-- Hora <-- BS_KNUCKLE & 65 Steel
-1805,2,103,2,999,65
+39,1805,2,103,2,999,65
 //-- Fist <-- BS_KNUCKLE & 4 Oridecon, 10 Ruby
-1807,3,103,3,984,4,723,10
+40,1807,3,103,3,984,4,723,10
 //-- Claw <-- BS_KNUCKLE & 8 Oridecon, 10 Topaz
-1809,3,103,3,984,8,728,10
+41,1809,3,103,3,984,8,728,10
 //-- Finger <-- BS_KNUCKLE & 4 Oridecon, 10 Opal
-1811,3,103,3,984,4,727,10
+42,1811,3,103,3,984,4,727,10
 //----------------------------------------------
 
 //---- Spears ----------------------------------
 //-- Javelin <-- BS_SPEAR & 3 Iron
-1401,1,104,1,998,3
+43,1401,1,104,1,998,3
 //-- Spear <-- BS_SPEAR & 35 Iron
-1404,1,104,1,998,35
+44,1404,1,104,1,998,35
 //-- Pike <-- BS_SPEAR & 70 Iron
-1407,1,104,1,998,70
+45,1407,1,104,1,998,70
 //-- Guisarme <-- BS_SPEAR & 25 Steel
-1451,2,104,2,999,25
+46,1451,2,104,2,999,25
 //-- Glaive <-- BS_SPEAR & 40 Steel
-1454,2,104,2,999,40
+47,1454,2,104,2,999,40
 //-- Partizan <-- BS_SPEAR & 55 Steel
-1457,2,104,2,999,55
+48,1457,2,104,2,999,55
 //-- Trident <-- BS_SPEAR & 8 Oridecon, 10 Steel, 5 Aquamarine
-1460,3,104,3,984,8,999,10,720,5
+49,1460,3,104,3,984,8,999,10,720,5
 //-- Halberd <-- BS_SPEAR & 12 Oridecon, 10 Steel
-1463,3,104,3,984,12,999,10
+50,1463,3,104,3,984,12,999,10
 //-- Lance <-- BS_SPEAR & 12 Oridecon, 3 Ruby, 2 Evil Horn
-1410,3,104,3,984,12,723,3,923,2
+51,1410,3,104,3,984,12,723,3,923,2
 //----------------------------------------------
 
 //==============================================
@@ -144,153 +147,153 @@
 //--------------------LEVEL 1-----------
 
 //-- Boiled Down Locust <-- 5 Grasshopper's Leg, 1 Old Frying Pan, 1 Cooking Oil
-12041,11,0,0,7472,0,940,5,7031,1,7457,1
+52,12041,11,0,0,7472,0,940,5,7031,1,7457,1
 //-- Herb Tea With Grape Juice <-- 3 Grape, 2 Red Potion
-12046,11,0,0,7472,0,514,3,501,2
+53,12046,11,0,0,7472,0,514,3,501,2
 //-- Steamed Crab Pincer <-- 10 Nipper, 10 Green Herb, 1 Yellow Potion
-12051,11,0,0,7472,0,960,10,511,10,503,1
+54,12051,11,0,0,7472,0,960,10,511,10,503,1
 //-- Frog Spawn Soup <-- 1 Grain, 10 Spawn, 1 Squid Ink
-12056,11,0,0,7472,0,577,1,908,10,1024,1
+55,12056,11,0,0,7472,0,577,1,908,10,1024,1
 //-- Grape Juice with Honey <-- 1 Honey, 2 Grape, 1 Red Potion
-12061,11,0,0,7472,0,518,1,514,2,501,1
+56,12061,11,0,0,7472,0,518,1,514,2,501,1
 //-- Fried Monkey Tail <-- 5 Yoyo Tail, 1 Old Frying Pan, 1 Cooking Oil
-12066,11,0,0,7472,0,942,5,7031,1,7457,1
+57,12066,11,0,0,7472,0,942,5,7031,1,7457,1
 
 //--------------------LEVEL 2-----------
 
 //-- Seasoned Webs <-- 20 Sticky Webfoot, 10 Green Herb, 10 Yellow Herb, 1 Plain Sauce
-12042,12,0,0,7473,0,918,20,511,10,508,10,7454,1
+58,12042,12,0,0,7473,0,918,20,511,10,508,10,7454,1
 //-- Sea Food <-- 10 Clam Flesh, 5 Gill, 5 Fin, 1 Yummy Fish
-12052,12,0,0,7473,0,966,10,956,5,951,5,579,1
+59,12052,12,0,0,7473,0,966,10,956,5,951,5,579,1
 //-- Black Tea <-- 5 Blue Herb, 10 Red Herb, 10 Yellow Herb
-12047,12,0,0,7473,0,510,5,507,10,508,10
+60,12047,12,0,0,7473,0,510,5,507,10,508,10
 //-- Smooth Noodle <-- 1 Grain, 1 Plain Sauce, 5 Jack o' Pumpkin, 3 Carrot
-12057,12,0,0,7473,0,577,1,7454,1,1062,5,515,3
+61,12057,12,0,0,7473,0,577,1,7454,1,1062,5,515,3
 //-- Chocolate Mousse Cake <-- 10 Cacao, 1 Piece of Cake, 1 Milk, 1 China
-12062,12,0,0,7473,0,7182,10,539,1,519,1,736,1
+62,12062,12,0,0,7473,0,7182,10,539,1,519,1,736,1
 //-- Mixed Juice <-- 3 Apple Juice, 2 Carrot Juice, 1 Grape Juice, 2 Orange Juice
-12067,12,0,0,7473,0,531,3,534,2,533,1,620,2
+63,12067,12,0,0,7473,0,531,3,534,2,533,1,620,2
 
 
 //--------------------LEVEL 3-----------
 
 //-- Fruit Punch <-- 5 Apple, 5 Banana, 5 Orange, 5 Strawberry, 1 Yellow Spice
-12063,13,0,0,7474,0,512,5,513,5,582,5,578,5,7452,1
+64,12063,13,0,0,7474,0,512,5,513,5,582,5,578,5,7452,1
 //-- Herb and Honey Tea <-- 2 Honey, 10 White Herb, 1 Yellow Spice
-12048,13,0,0,7474,0,518,2,509,10,7452,1
+65,12048,13,0,0,7474,0,518,2,509,10,7452,1
 //-- Bomber Steak <-- 4 Meat, 1 Old Frying Pan, 10 Green Herb, 5 Red Chili, 1 Hot Sauce
-12043,13,0,0,7474,0,517,4,7031,1,511,10,7286,5,7455,1
+66,12043,13,0,0,7474,0,517,4,7031,1,511,10,7286,5,7455,1
 //-- Clam Soup <-- 20 Clam Flesh, 10 Conch, 1 Honey, 1 Sweet Sauce
-12053,13,0,0,7474,0,966,20,961,10,518,1,7453,1
+67,12053,13,0,0,7474,0,966,20,961,10,518,1,7453,1
 //-- Tentacle and Cheese Gratin <-- 10 Tentacle, 10 Cheese, 5 Yam, 1 Sweet Sauce
-12058,13,0,0,7474,0,962,10,548,10,549,5,7453,1
+68,12058,13,0,0,7474,0,962,10,548,10,549,5,7453,1
 //-- Fried Sweet Potato with Syrup <-- 10 Potato, 10 Yam, 1 Sweet Potato, 1 Sweet Sauce 
-12068,13,0,0,7474,0,516,10,549,10,633,1,7453,1
+69,12068,13,0,0,7474,0,516,10,549,10,633,1,7453,1
 
 //--------------------LEVEL 4-----------
 
 //-- Morroc Fruit Wine <-- 10 Strawberry, 4 Lemon, 10 Orange, 2 Alcohol, 5 Grape
-12049,14,0,0,7475,0,578,10,568,4,582,10,970,2,514,5
+70,12049,14,0,0,7475,0,578,10,568,4,582,10,970,2,514,5
 //-- Seasoned Jellyfish <-- 30 Tentacle, 10 White Herb, 10 Soft Blade Grass, 1 Old Frying Pan, 20 Squid Ink
-12054,14,0,0,7475,0,962,30,509,10,7194,10,7031,1,1024,20
+71,12054,14,0,0,7475,0,962,30,509,10,7194,10,7031,1,1024,20
 //-- Rib with Herbs and Spices <-- 5 Meat, 3 Red Herb, 2 Yellow Herb, 3 Green Herb, 1 Sweet Sauce, 1 Lemon
-12044,14,0,0,7475,0,517,5,507,3,508,2,511,3,7453,1,568,1
+72,12044,14,0,0,7475,0,517,5,507,3,508,2,511,3,7453,1,568,1
 //-- Cream Sandwich <-- 5 Bread, 15 Milk, 10 Cheese, 10 Yellow Herb, 1 Meat, 1 Sweet Sauce 
-12064,14,0,0,7475,0,580,5,519,15,548,10,508,10,517,1,7453,1
+73,12064,14,0,0,7475,0,580,5,519,15,548,10,508,10,517,1,7453,1
 //-- Lutie Mixed Cold Noodles <-- 3 Grain, 1 Hot Sauce, 10 Ice Cubic, 10 Carrot, 10 Jack o' Pumpkin
-12059,14,0,0,7475,0,577,3,7455,1,7066,10,515,10,1062,10
+74,12059,14,0,0,7475,0,577,3,7455,1,7066,10,515,10,1062,10
 //-- Ancient Fish Dish <-- 10 Ancient Lips, 10 Raccoon Leaf, 10 White Herb,5 Yummy Fish, 2 Sweet Sauce
-12069,14,0,0,7475,0,1054,10,945,10,509,10,579,5,7453,2
+75,12069,14,0,0,7475,0,1054,10,945,10,509,10,579,5,7453,2
 
 //--------------------LEVEL 5-----------
 
 //-- Mastela Wine <-- 4 Mastela Fruit, 1 Blue Potion, 2 Alcohol, 2 Lemon, 1 Yellow Spice
-12050,15,0,0,7476,0,522,4,505,1,970,2,568,2,7452,1
+76,12050,15,0,0,7476,0,522,4,505,1,970,2,568,2,7452,1
 //-- Lutie Plat Cake <-- 10 Potato, 2 Honey, 1 Cooking Oil, 3 Carrot, 1 Grain
-12045,15,0,0,7476,0,516,10,518,2,7457,1,515,3,577,1
+77,12045,15,0,0,7476,0,516,10,518,2,7457,1,515,3,577,1
 //-- Green Salad <-- 2 Hinalle Leaflet, 3 Aloe Leaflet, 10 Sharp Leaf, 6 Huge Leaf, 1 Sweet Sauce, 1 Yellow Spice
-12065,15,0,0,7476,0,520,2,521,3,7100,10,7198,6,7453,1,7452,1
+78,12065,15,0,0,7476,0,520,2,521,3,7100,10,7198,6,7453,1,7452,1
 //-- Steamed Bat Wing and Pumpkin <-- 20 Wing of Red Bat, 20 Jack o' Pumpkin, 1 Pot, 10 Hinalle Leaflet, 10 Red Herb
-12060,15,0,0,7476,0,7006,20,1062,20,7482,1,520,10,507,10
+79,12060,15,0,0,7476,0,7006,20,1062,20,7482,1,520,10,507,10
 //-- Peppery Roasted Dumpling <-- 20 Bao, 10 Yellow Herb, 1 Hot Sauce, 1 Red Spice, 20 Green Herb
-12055,15,0,0,7476,0,553,20,508,10,7455,1,7456,1,511,20
+80,12055,15,0,0,7476,0,553,20,508,10,7455,1,7456,1,511,20
 //-- Broiled Down Scorpion <-- 20 Scorpion Tail, 10 Bug Leg, 10 Huge Leaf, 2 Old Frying Pan, 1 Cooking Oil
-12070,15,0,0,7476,0,904,20,1042,10,7198,10,7031,2,7457,1
+81,12070,15,0,0,7476,0,904,20,1042,10,7198,10,7031,2,7457,1
 
 //--------------------LEVEL 6-----------
 
 //-- Flavored Grilled Beef <-- 10 Meat, 2 Honey, 1 Yellow Herb, 1 Mastela Fruit, 20 Shining Scale
-12071,16,0,0,7477,0,517,10,518,2,508,1,522,1,954,20
+82,12071,16,0,0,7477,0,517,10,518,2,508,1,522,1,954,20
 //-- Red Mushroom Wine <-- 3 Mushroom, 3 Grape Juice, 20 Mushroom Spore, 1 Alcohol, 1 Red Spice
-12076,16,0,0,7477,0,581,3,533,3,921,20,970,1,7456,1
+83,12076,16,0,0,7477,0,581,3,533,3,921,20,970,1,7456,1
 //-- Peach Cake <-- 20 Solid Peach, 10 Piece of Cake, 10 Cheese, 10 Milk, 5 Orange Juice, 1 Sweet Sauce
-12091,16,0,0,7477,0,7164,20,539,10,548,10,519,10,620,5,7453,1
+84,12091,16,0,0,7477,0,7164,20,539,10,548,10,519,10,620,5,7453,1
 //-- Chili and Prawn Gratin <-- 20 Red Chile, 20 Shrimp, 1 Sweet Sauce, 20 Lemon
-12086,16,0,0,7477,0,7286,20,567,20,7453,1,568,20
+85,12086,16,0,0,7477,0,7286,20,567,20,7453,1,568,20
 //-- Very Bitter Invigorant <-- 20 Brown Root, 10 Maneater Root, 20 Mushroom Spore, 1 Mushroom, 2 Honey
-12081,16,0,0,7477,0,7188,20,1033,10,921,20,581,1,518,2
+86,12081,16,0,0,7477,0,7188,20,1033,10,921,20,581,1,518,2
 //-- Soup of Great Luck <-- 5 Reptile Tongue, 5 Tongue, 10 Clover, 10 Witch Starsand, 1 Aloe
-12096,16,0,0,7477,0,903,5,1015,5,705,10,1061,10,704,1
+87,12096,16,0,0,7477,0,903,5,1015,5,705,10,1061,10,704,1
 
 //--------------------LEVEL 7-----------
 
 //-- Barbecue <-- 10 Meat, 1 Live Coal, 2 Coal, 1 Hot Sauce, 15 Trunk, 10 White Herb
-12072,17,0,0,7478,0,517,10,7098,1,1003,2,7455,1,1019,15,509,10
+88,12072,17,0,0,7478,0,517,10,7098,1,1003,2,7455,1,1019,15,509,10
 //-- Royal Jelly and Herb Tea <-- 4 Royal Jelly, 2 Honey, 5 White Herb, 10 Hinalle Leaflet, 1 Yellow Spice
-12077,17,0,0,7478,0,526,4,518,2,509,5,520,10,7452,1
+89,12077,17,0,0,7478,0,526,4,518,2,509,5,520,10,7452,1
 //-- Soul Hunt Bread <-- 10 Bread, 5 Mastela Fruit, 1 Sweet Sauce, 5 Ment, 5 Amulet, 2 Unripe Apple
-12092,17,0,0,7478,0,580,10,522,5,7453,1,708,5,609,5,619,2
+90,12092,17,0,0,7478,0,580,10,522,5,7453,1,708,5,609,5,619,2
 //-- Boiled Vegetable stuffed with Roasted Crocodile <-- 10 Anolian Skin, 10 Jack o' Pumpkin, 10 Carrot, 10 Aloe Leaflet, 10 Yellow Herb, 1 Yellow Spice
-12087,17,0,0,7478,0,7003,10,1062,10,515,10,521,10,508,10,7452,1
+91,12087,17,0,0,7478,0,7003,10,1062,10,515,10,521,10,508,10,7452,1
 //-- Sumptuous Feast <-- 10 Fish Tail, 5 Aloe Leaflet, 10 Mane, 2 Yummy Fish, 10 Pet Food, 1 Sweet Sauce
-12082,17,0,0,7478,0,1023,10,521,5,1028,10,579,2,537,10,7453,1
+92,12082,17,0,0,7478,0,1023,10,521,5,1028,10,579,2,537,10,7453,1
 //-- Grilled Meat Skewer <-- 10 Scale Shell, 5 Gill, 10 Soft Blade of Grass, 5 Meat, 10 Mushroom, 10 Clam Flesh
-12097,17,0,0,7478,0,936,10,956,5,7194,10,517,5,581,10,966,10
+93,12097,17,0,0,7478,0,936,10,956,5,7194,10,517,5,581,10,966,10
 
 //--------------------LEVEL 8-----------
 
 //-- Bear Foot Dish <-- 20 Bear's Footskin, 10 Carrot, 10 Jack o' Pumpkin, 2 Aloe Leaflet, 1 Hinalle Leaflet, 1 Plain Sauce
-12073,18,0,0,7479,0,948,20,515,10,1062,10,521,2,520,1,7454,1
+94,12073,18,0,0,7479,0,948,20,515,10,1062,10,521,2,520,1,7454,1
 //-- Royal Tea <-- 4 Prickly Fruit, 10 Hinalle Leaflet, 3 Yggdrasil Leaf, 10 Aloe Leaflet, 6 Royal Jelly, 1 Yellow Spice
-12078,18,0,0,7479,0,576,4,520,10,610,3,521,10,526,6,7452,1
+95,12078,18,0,0,7479,0,576,4,520,10,610,3,521,10,526,6,7452,1
 //-- Special Toast <-- 10 Bread, 2 Royal Jelly, 5 Meat, 10 Strawberry, 1 Hot Sauce, 10 Cheese, 1 Sweet Sauce
-12093,18,0,0,7479,0,580,10,526,2,517,5,578,10,7455,1,548,10,7453,1
+96,12093,18,0,0,7479,0,580,10,526,2,517,5,578,10,7455,1,548,10,7453,1
 //-- Very Hot Curry <-- 1 Aloevera, 1 Hot Sauce, 10 Meat, 10 Hinalle Leaflet, 10 Jack o' Pumpkin, 10 Carrot
-12088,18,0,0,7479,0,606,1,7455,1,517,10,520,10,1062,10,515,10
+97,12088,18,0,0,7479,0,606,1,7455,1,517,10,520,10,1062,10,515,10
 //-- Huge Stuffed Leaves <-- 20 Fig Leaf, 20 Meat, 5 Rainbow Carrot, 10 Jack o' Pumpkin, 1 Plain Sauce, 2 Grain
-12083,18,0,0,7479,0,7298,20,517,20,622,5,1062,10,7454,1,577,2
+98,12083,18,0,0,7479,0,7298,20,517,20,622,5,1062,10,7454,1,577,2
 //-- Strawberry Rice Ball <-- 10 Strawberry, 5 Grain, 10 Fig Leaf, 1 Yellow Spice, 2 Red Spice, 1 Plain Sauce
-12098,18,0,0,7479,0,578,10,577,5,7298,10,7452,1,7456,2,7454,1
+99,12098,18,0,0,7479,0,578,10,577,5,7298,10,7452,1,7456,2,7454,1
 
 //--------------------LEVEL 9-----------
 
 //-- Sauted Meat Strips <-- 40 Tendon, 1 Pot, 10 Cheese, 1 Hot Sauce, 2 Coal, 30 Green Herb, 10 Squid Ink
-12074,19,0,0,7480,0,1050,40,7482,1,548,10,7455,1,1003,2,511,30,1024,10
+100,12074,19,0,0,7480,0,1050,40,7482,1,548,10,7455,1,1003,2,511,30,1024,10
 //-- Tristan 12 <-- 10 Yggdrasil Leaf, 10 Orange, 5 Alcohol, 4 Royal Jelly, 2 Blue Potion, 1 Yellow Spice, 10 Aloe Leaflet
-12079,19,0,0,7480,0,610,10,582,10,970,5,526,4,505,2,7452,1,521,10
+101,12079,19,0,0,7480,0,610,10,582,10,970,5,526,4,505,2,7452,1,521,10
 //-- Ethereal Fruit Juice <-- 5 Unripe Apple, 10 Orange, 10 Strawberry, 1 Red Spice, 1 Tropica Banana, 5 Grape Juice, 2 Alcohol
-12094,19,0,0,7480,0,619,5,582,10,578,10,7456,1,634,1,533,5,970,2
+102,12094,19,0,0,7480,0,619,5,582,10,578,10,7456,1,634,1,533,5,970,2
 //-- Delicious Boiled Meats <-- 10 Meat, 5 Royal Jelly, 20 Shoot, 4 Plain Sauce, 5 Yellow Herb, 10 White Herb, 5 Red Herb
-12089,19,0,0,7480,0,517,10,526,5,711,20,7454,4,508,5,509,10,507,5
+103,12089,19,0,0,7480,0,517,10,526,5,711,20,7454,4,508,5,509,10,507,5
 //-- Ascending Dragon Broth <-- 10 Dragon Skin, 20 Dragon Tail, 3 Yggdrasil Leaf, 6 Royal Jelly, 1 Hot Sauce, 1 Red Spice, 1 Fatty Chubby Earthworm
-12084,19,0,0,7480,0,7123,10,1037,20,610,3,526,6,7455,1,7456,1,632,1
+104,12084,19,0,0,7480,0,7123,10,1037,20,610,3,526,6,7455,1,7456,1,632,1
 //-- Blood Flavored Sodapop <-- 1 Animal Gore, 2 Anodyne, 2 Aloevera, 2 Alcohol, 6 Royal Jelly, 1 Red Spice, 10 Apple Juice
-12099,19,0,0,7480,0,702,1,605,2,606,2,970,2,526,6,7456,1,531,10
+105,12099,19,0,0,7480,0,702,1,605,2,606,2,970,2,526,6,7456,1,531,10
 
 //--------------------LEVEL 10-----------
 
 //-- Tongue Dish <-- 20 Tongue, 1 Pot, 1 Alcohol, 2 Aloevera, 1 Hot Sauce, 5 Royal Jelly, 10 Yggdrasil Leaf, 2 Blue Potion
-12075,20,0,0,7481,0,1015,20,7482,1,970,1,606,2,7455,1,526,5,610,10,505,2
+106,12075,20,0,0,7481,0,1015,20,7482,1,970,1,606,2,7455,1,526,5,610,10,505,2
 //-- Dragon Breath Cocktail <-- 10 Maneater Root, 1 Singing Plant, 5 Aloe Leaflet, 5 Royal Jelly, 5 Lemon, 5 Prickly Fruit, 1 Yggdrasilberry, 10 Blue Herb
-12080,20,0,0,7481,0,1033,10,707,1,521,5,526,5,568,5,576,5,607,1,510,10
+107,12080,20,0,0,7481,0,1033,10,707,1,521,5,526,5,568,5,576,5,607,1,510,10
 //-- Wine of Bergelmir <-- 1 Yggdrasilberry, 10 Ice Cubic, 10 Bacillus, 4 Royal Jelly, 3 Concentration Potion, 5 Alcohol, 2 Prickly Fruit, 1 Illusion Flower
-12095,20,0,0,7481,0,607,1,7066,10,7119,10,526,4,645,3,970,5,576,2,710,1
+108,12095,20,0,0,7481,0,607,1,7066,10,7119,10,526,4,645,3,970,5,576,2,710,1
 //-- Hot Sand Steamed Scorpion <-- 20 Scorpion Tail, 20 Scorpion Claw, 2 Aloevera, 3 Yggdrasil Leaf, 3 Bitter Herb, 10 Royal Jelly , 1 Hot Sauce, 1 Pot
-12090,20,0,0,7481,0,904,20,7125,20,606,2,610,3,621,3,526,10,7455,1,7482,1
+109,12090,20,0,0,7481,0,904,20,7125,20,606,2,610,3,621,3,526,10,7455,1,7482,1
 //-- Stew of Immortality <-- 20 Immortal Heart, 10 Memento, 1 Yggdrasil Seed, 2 Anodyne, 10 Heart of Mermaid, 2 Hot Sauce, 10 Amulet, 2 Bitter Herb
-12085,20,0,0,7481,0,929,20,934,10,608,1,605,2,950,10,7455,2,609,10,621,2
+110,12085,20,0,0,7481,0,929,20,934,10,608,1,605,2,950,10,7455,2,609,10,621,2
 //-- Nine Tail Dish <-- 10 Nine Tails, 2 Four Leaf Clover, 10 Maneater Root, 10 Sharp Leaf, 4 Yggdrasil Leaf, 1 Plain Sauce, 1 Yellow Spice, 2 Izidor
-12100,20,0,0,7481,0,1022,10,706,2,1033,10,7100,10,610,4,7454,1,7452,1,709,2
+111,12100,20,0,0,7481,0,1022,10,706,2,1033,10,7100,10,610,4,7454,1,7452,1,709,2
 //==============================================
 
 
@@ -298,23 +301,23 @@
 
 //---- Metals ----------------------------------
 //-- Iron <-- BS_IRON & 1 Iron Ore
-998,21,94,1,1002,1
+112,998,21,94,1,1002,1
 //-- Steel <-- BS_STEEL & 5 Iron, 1 Coal
-999,21,95,1,998,5,1003,1
+113,999,21,95,1,998,5,1003,1
 //----------------------------------------------
 
 
 //---- Enchanted Stones ------------------------
 //-- Star Crumb <-- BS_ENCHANTSTONE & 10 Star Dust
-1000,21,96,1,1001,10
+114,1000,21,96,1,1001,10
 //-- Flame Heart <-- BS_ENCHANTSTONE & 10 Red Blood
-994,21,96,1,990,10
+115,994,21,96,1,990,10
 //-- Mystic Frozen <-- BS_ENCHANTSTONE & 10 Crystal Blue
-995,21,96,1,991,10
+116,995,21,96,1,991,10
 //-- Rough Wind <-- BS_ENCHANTSTONE & 10 Wind of Verdure
-997,21,96,1,993,10
+117,997,21,96,1,993,10
 //-- Great Nature <-- BS_ENCHANTSTONE & 10 Green Live
-996,21,96,1,992,10
+118,996,21,96,1,992,10
 //----------------------------------------------
 
 //==============================================
@@ -324,58 +327,58 @@
 
 //---- Health Potions --------------------------
 //-- Red Potion <-- AM_PHARMACY & Potion Creation Guide & 1 Red Herb, 1 Empty Potion Bottle
-501,22,228,1,7144,0,507,1,1093,1
+119,501,22,228,1,7144,0,507,1,1093,1
 //-- Yellow Potion <-- AM_PHARMACY & Potion Creation Guide & 1 Yellow Herb, 1 Empty Potion Bottle
-503,22,228,1,7144,0,508,1,1093,1
+120,503,22,228,1,7144,0,508,1,1093,1
 //-- White Potion <-- AM_PHARMACY & Potion Creation Guide & 1 White Herb, 1 Empty Potion Bottle
-504,22,228,1,7144,0,509,1,1093,1
+121,504,22,228,1,7144,0,509,1,1093,1
 //-- Blue Potion <-- AM_PHARMACY & Potion Creation Guide & 1 Blue Herb, 1 Scell, 1 Empty Potion Bottle
-505,22,228,1,7144,0,510,1,911,1,1093,1
+122,505,22,228,1,7144,0,510,1,911,1,1093,1
 //-- Condensed Red Potion <-- AM_PHARMACY & Condensed Potion Creation Guide & 1 Red Potion, 1 Empty Testtube, 1 Cactus Needle
-545,22,228,1,7133,0,501,1,1092,1,952,1
+123,545,22,228,1,7133,0,501,1,1092,1,952,1
 //-- Condensed Yellow Potion <-- AM_PHARMACY & Condensed Potion Creation Guide & 1 Yellow Potion, 1 Empty Testtube, 1 Mole Whiskers
-546,22,228,1,7133,0,503,1,1092,1,1017,1
+124,546,22,228,1,7133,0,503,1,1092,1,1017,1
 //-- Condensed White Potion <-- AM_PHARMACY & Condensed Potion Creation Guide & 1 White Potion, 1 Empty Testtube, 1 Witched Starsand
-547,22,228,1,7133,0,504,1,1092,1,1061,1
+125,547,22,228,1,7133,0,504,1,1092,1,1061,1
 //----------------------------------------------
 
 //---- Skill-related Mixtures ------------------
 //-- Holy Water <-- AL_HOLYWATER & 1 Empty Bottle
-523,22,31,1,713,1
+126,523,22,31,1,713,1
 //-- Deadly Poison Bottle <-- ASC_CDP & 1 Venom Canine, 1 Cactus Needle, 1 Bee Sting, 1 Poison Spore, 1 Karvodailnirol, 1 Berserk Potion, 1 Empty Bottle
-678,22,407,1,937,1,952,1,939,1,7033,1,972,1,657,1,713,1
+127,678,22,407,1,937,1,952,1,939,1,7033,1,972,1,657,1,713,1
 //-- Bottle Grenade <-- AM_PHARMACY & Bottle Grenade Creation Guide & 1 Alcohol, 1 Fabric, 1 Empty Bottle
-7135,22,228,1,7128,0,970,1,1059,1,713,1
+128,7135,22,228,1,7128,0,970,1,1059,1,713,1
 //-- Acid Bottle <-- AM_PHARMACY & Acid Bottle Creation Guide & 1 Empty Bottle, 1 Immortal Heart
-7136,22,228,1,7129,0,713,1,929,1
+129,7136,22,228,1,7129,0,713,1,929,1
 //-- Plant Bottle <-- AM_PHARMACY & Plant Bottle Creation Guide & 1 Empty Bottle, 2 Maneater Blossom
-7137,22,228,1,7130,0,713,1,1032,2
+130,7137,22,228,1,7130,0,713,1,1032,2
 //-- Marine Sphere Bottle <-- AM_PHARMACY & Marine Sphere Creation Guide & 1 Empty Bottle, 1 Tendon, 1 Detonator
-7138,22,228,1,7131,0,713,1,1050,1,1051,1
+131,7138,22,228,1,7131,0,713,1,1050,1,1051,1
 //-- Glistening Coat <-- AM_PHARMACY & Glistening Coat Creation Guide & 1 Alcohol, 1 Heart of Mermaid, 1 Zenorcs Fang, 1 Empty Bottle
-7139,22,228,1,7132,0,970,1,950,1,1044,1,713,1
+132,7139,22,228,1,7132,0,970,1,950,1,1044,1,713,1
 //----------------------------------------------
 
 //---- Elemental-resist Potions ----------------
 //-- Resist Fire Potion <-- AM_PHARMACY & Elemental Potion Creation Guide & 2 Frill, 1 Red Gemstone, 1 Empty Potion Bottle
-12118,22,228,1,7434,0,1012,2,716,1,1093,1
+133,12118,22,228,1,7434,0,1012,2,716,1,1093,1
 //-- Resist Water Potion <-- AM_PHARMACY & Elemental Potion Creation Guide & 3 Heart of Mermaid, 1 Blue Gemstone, 1 Empty Potion Bottle
-12119,22,228,1,7434,0,950,3,717,1,1093,1
+134,12119,22,228,1,7434,0,950,3,717,1,1093,1
 //-- Resist Earth Potion <-- AM_PHARMACY & Elemental Potion Creation Guide & 2 Large Jellopy, 1 Yellow Gemstone, 1 Empty Potion Bottle
-12120,22,228,1,7434,0,7126,2,715,1,1093,1
+135,12120,22,228,1,7434,0,7126,2,715,1,1093,1
 //-- Resist Wind Potion <-- AM_PHARMACY & Elemental Potion Creation Guide & 1 3 Moth Dust, 1 Blue Gemstone, 1 Empty Potion Bottle
-12121,22,228,1,7434,0,1057,3,717,1,1093,1
+136,12121,22,228,1,7434,0,1057,3,717,1,1093,1
 //----------------------------------------------
 
 //---- Misc ------------------------------------
 //-- Anodyne <-- AM_PHARMACY & Potion Creation Guide & 1 Ment, 1 Alcohol, 1 Empty Bottle
-605,22,228,1,7144,0,708,1,970,1,713,1
+137,605,22,228,1,7144,0,708,1,970,1,713,1
 //-- Aloevera <-- AM_PHARMACY & Potion Creation Guide & 1 Aloe, 1 Honey, 1 Empty Bottle
-606,22,228,1,7144,0,704,1,518,1,713,1
+138,606,22,228,1,7144,0,704,1,518,1,713,1
 //-- Alcohol <-- AM_PHARMACY & Alcohol Creation Guide & 1 Empty Bottle, 5 Poison Spore, 5 Stem, 1 Empty Testtube
-970,22,228,1,7127,0,713,1,7033,5,905,5,1092,1
+139,970,22,228,1,7127,0,713,1,7033,5,905,5,1092,1
 //-- Embryo <-- AM_PHARMACY & Potion Creation Guide & 1 Seed of Life, 1 Morning Dew of Yggdrasil, 1 Glass Tube
-7142,22,228,1,7144,0,7140,1,7141,1,7143,1
+140,7142,22,228,1,7144,0,7140,1,7141,1,7143,1
 //----------------------------------------------
 
 //==============================================
@@ -384,63 +387,63 @@
 //===== Elemental Converters === ItemLV=23 =====
 
 //-- Fire Elemental Converter <-- SA_CREATECON & 1 Blank Scroll, 3 Scorpion Tail
-12114,23,1007,1,7433,1,904,3
+141,12114,23,1007,1,7433,1,904,3
 //-- Water Elemental Converter <-- SA_CREATECON & 1 Blank Scroll, 3 Snail's Shell
-12115,23,1007,1,7433,1,946,3
+142,12115,23,1007,1,7433,1,946,3
 //-- Earth Elemental Converter <-- SA_CREATECON & 1 Blank Scroll, 3 Horn
-12116,23,1007,1,7433,1,947,3
+143,12116,23,1007,1,7433,1,947,3
 //-- Wind Elemental Converter <-- SA_CREATECON & 1 Blank Scroll, 3 Rainbow Shell
-12117,23,1007,1,7433,1,1013,3
+144,12117,23,1007,1,7433,1,1013,3
 
 //==============================================
 
 //===== Ancilla And Runes === ItemLV=24 ========
 //---- Ancilla ---------------------------------
 //-- Ancilla <-- AB_ANCILLA & 1 Blue Gemstone
-12333,24,2039,1,717,1
+145,12333,24,2039,1,717,1
 
 //---- Rune Stones -----------------------------
 //-- Runstone Nosiege <-- RK_RUNEMASTERY Lv8, 1 Broken Armor Piece, 1 Old Magic Circle, 1 Light Granule, 1 Elder Branch
-12725,24,2010,8,7069,1,7099,1,7938,1,7939,1
+146,12725,24,2010,8,7069,1,7099,1,7938,1,7939,1
 //-- Runstone Rhydo <-- RK_RUNEMASTERY Lv7, 1 Red Gemstone, 1 Light Granule, 1 Elder Branch
-12726,24,2010,7,716,1,7938,1,7939,1
+147,12726,24,2010,7,716,1,7938,1,7939,1
 //-- Runstone Verkana <-- RK_RUNEMASTERY Lv9, 1 Dullahan Armor, 1 Elder Branch
-12727,24,2010,9,7210,1,7939,1
+148,12727,24,2010,9,7210,1,7939,1
 //-- Runstone Isia <-- RK_RUNEMASTERY Lv2, 1 Burning Heart, 1 Elder Branch
-12728,24,2010,2,7097,1,7939,1
+149,12728,24,2010,2,7097,1,7939,1
 //-- Runstone Asir <-- RK_RUNEMASTERY Lv5, 1 Ogre Tooth, 1 Light Granule, 1 Elder Branch
-12729,24,2010,5,7002,1,7938,1,7939,1
+150,12729,24,2010,5,7002,1,7938,1,7939,1
 //-- Runstone Urj <-- RK_RUNEMASTERY Lv6, 1 Honey, 1 Slender Snake, 1 Elder Branch
-12730,24,2010,6,518,1,1048,1,7939,1
+151,12730,24,2010,6,518,1,1048,1,7939,1
 //-- Runstone Turisus <-- RK_RUNEMASTERY Lv1, 1 Cobold Hair, 1 Claw Of Desert Wolf, 1 Elder Branch
-12731,24,2010,1,1034,1,7030,1,7939,1
+152,12731,24,2010,1,1034,1,7030,1,7939,1
 //-- Runstone Pertz <-- RK_RUNEMASTERY Lv3, 1 Dragon Canine, 1 Tangled Chain, 1 Light Granule, 1 Elder Branch
-12732,24,2010,3,1035,1,7221,1,7938,1,7939,1
+153,12732,24,2010,3,1035,1,7221,1,7938,1,7939,1
 //-- Runstone Hagalas <-- RK_RUNEMASTERY Lv4, 1 Round Shell, 1 Dragon's Skin, 1 Elder Branch
-12733,24,2010,4,1096,1,7123,1,7939,1
+154,12733,24,2010,4,1096,1,7123,1,7939,1
 //-- Runstone Lux Anima <-- RK_RUNEMASTERY Lv10, 3 Gold, 3 Light Granule
-22540,24,2010,10,969,3,7938,3
+155,22540,24,2010,10,969,3,7938,3
 //==============================================
 
 //===== Guillotine Cross Poisons === ItemLv=25 =
 //-- Guillotine Antidote <-- GC_RESEARCHNEWPOISON Lv5, 1 White Herb, 1 Blue Herb, 2 Green Herb
-6128,25,2024,5,509,1,510,1,511,2
+156,6128,25,2024,5,509,1,510,1,511,2
 //-- Poison Paralysis <-- GC_RESEARCHNEWPOISON Lv1, 1 Medicine Bowl, 20 Poison Toad's Skin, 1 Poison Kit, 1 Poison Herb Amoena
-12717,25,2024,1,7134,1,7155,20,7931,1,7937,1
+157,12717,25,2024,1,7134,1,7155,20,7931,1,7937,1
 //-- Poison Leech <-- GC_RESEARCHNEWPOISON Lv4, 1 Medicine Bowl, 1 Poison Kit, 1 Poison Herb Nerium, 1 Poison Herb Scopolia
-12718,25,2024,4,7134,1,7931,1,7932,1,7936,1
+158,12718,25,2024,4,7134,1,7931,1,7932,1,7936,1
 //-- Poison Oblivion <-- GC_RESEARCHNEWPOISON Lv9, 1 Izidor, 10 Heart Of Mermaid, 1 Medicine Bowl, 1 Poison Kit
-12719,25,2024,9,709,1,950,10,7134,1,7931,1
+159,12719,25,2024,9,709,1,950,10,7134,1,7931,1
 //-- Poison Contamination <-- GC_RESEARCHNEWPOISON Lv3, 25 Decayed Nail, 1 Medicine Bowl, 1 Poison Kit, 1 Poison Herb Seratum
-12720,25,2024,3,957,25,7134,1,7931,1,7935,1
+160,12720,25,2024,3,957,25,7134,1,7931,1,7935,1
 //-- Poison Numb <-- GC_RESEARCHNEWPOISON Lv8, 1 Medicine Bowl, 10 Sticky Poison, 1 Poison Kit, 1 Poison Herb Nerium
-12721,25,2024,8,7134,1,7565,10,7931,1,7932,1
+161,12721,25,2024,8,7134,1,7565,10,7931,1,7932,1
 //-- Poison Fever <-- GC_RESEARCHNEWPOISON Lv2, 20 Anolian Skin, 1 Medicine Bowl, 1 Poison Kit, 1 Poison Herb Rantana
-12722,25,2024,2,7003,20,7134,1,7931,1,7933,1
+162,12722,25,2024,2,7003,20,7134,1,7931,1,7933,1
 //-- Poison Laughing <-- GC_RESEARCHNEWPOISON Lv7, 10 Poison Spore, 1 Medicine Bowl, 1 Poison Kit, 1 Poison Herb Makulata
-12723,25,2024,7,7033,10,7134,1,7931,1,7934,1
+163,12723,25,2024,7,7033,10,7134,1,7931,1,7934,1
 //-- Poison Fatigue <-- GC_RESEARCHNEWPOISON Lv6, 1 Izidor, 1 Medicine Bowl, 10 Sticky Poison, 1 Poison Kit
-12724,25,2024,6,709,1,7134,1,7565,10,7931,1
+164,12724,25,2024,6,709,1,7134,1,7565,10,7931,1
 //==============================================
 
 //==============================================
@@ -448,208 +451,208 @@
 //==============================================
 //----- Change Material ---- ItemLV=26 ---------
 //-- Sacred Masque <-- GN_CHANGEMATERIAL Lv1, 45 Grasshopper's Leg, 35 Yoyo Tail
-1045,26,2494,1,940,45,942,35
+165,1045,26,2494,1,940,45,942,35
 //-- Long Hair <-- GN_CHANGEMATERIAL Lv1, 40 Pencil Case, 5 Tiger's Skin
-1020,26,2494,1,738,40,1029,5
+166,1020,26,2494,1,738,40,1029,5
 //-- Phracon <-- GN_CHANGEMATERIAL Lv1, 45 Spawn, 40 Glass Bead
-1010,26,2494,1,908,45,746,40
+167,1010,26,2494,1,908,45,746,40
 //-- Lantern <-- GN_CHANGEMATERIAL Lv1, 10 Solid Shell, 20 Blossom Of Maneater
-1041,26,2494,1,943,10,1032,20
+168,1041,26,2494,1,943,10,1032,20
 //-- Acorn <-- GN_CHANGEMATERIAL Lv1, 30 Cactus Needle, 10 Snail's Shell
-1026,26,2494,1,952,30,946,10
+169,1026,26,2494,1,952,30,946,10
 //-- Frozen Heart <-- GN_CHANGEMATERIAL Lv1, 25 Raccoondog Doll, 35 Moth Dust
-1008,26,2494,1,754,25,1057,35
+170,1008,26,2494,1,754,25,1057,35
 //-- Horrendous Mouth <-- GN_CHANGEMATERIAL Lv1, 45 Stem, 45 Dragon Scale
-958,26,2494,1,905,45,1036,45
+171,958,26,2494,1,905,45,1036,45
 //-- Detrimindexta <-- GN_CHANGEMATERIAL Lv1, 40 Chrysalis, 10 Flesh Of Clam
-971,26,2494,1,915,40,966,10
+172,971,26,2494,1,915,40,966,10
 //-- Detonator <-- GN_CHANGEMATERIAL Lv1, 45 Nose Ring, 25 Feather Of Birds
-1051,26,2494,1,941,45,916,25
+173,1051,26,2494,1,941,45,916,25
 //-- Tweezer <-- GN_CHANGEMATERIAL Lv1, 40 Worm Peelings, 5 Monkey Doll
-1046,26,2494,1,955,40,753,5
+174,1046,26,2494,1,955,40,753,5
 //-- Petite DiablOfs Horn <-- GN_CHANGEMATERIAL Lv1, 5 Stone Heart, 10 Resin
-1038,26,2494,1,953,5,907,10
+175,1038,26,2494,1,953,5,907,10
 //-- Root Of Maneater <-- GN_CHANGEMATERIAL Lv1, 25 Talon, 20 Tooth Of 
-1033,26,2494,1,917,25,1044,20
+176,1033,26,2494,1,917,25,1044,20
 //-- Conch <-- GN_CHANGEMATERIAL Lv1, 5 Gill, 25 Immortal Heart
-961,26,2494,1,956,5,929,25
+177,961,26,2494,1,956,5,929,25
 //-- Rotten Scale <-- GN_CHANGEMATERIAL Lv1, 20 Shell, 50 Thin N' Long Tongue
-959,26,2494,1,935,20,1015,50
+178,959,26,2494,1,935,20,1015,50
 //-- Elder Pixie's Beard <-- GN_CHANGEMATERIAL Lv1, 35 Bee Sting, 45 Petite DiablOfs Wing
-1040,26,2494,1,939,35,1039,45
+179,1040,26,2494,1,939,35,1039,45
 //-- Lizard Scruff <-- GN_CHANGEMATERIAL Lv1, 20 Scale Of Snakes, 15 Karvodailnirol
-1012,26,2494,1,926,20,972,15
+180,1012,26,2494,1,926,20,972,15
 //-- Emveretarcon <-- GN_CHANGEMATERIAL Lv1, 5 Heart Of Mermaid, 40 Grasshopper Doll
-1011,26,2494,1,950,5,752,40
+181,1011,26,2494,1,950,5,752,40
 //-- Chinese Ink <-- GN_CHANGEMATERIAL Lv1, 20 Bear's Foot, 25 Black Ladle
-1024,26,2494,1,948,20,737,25
+182,1024,26,2494,1,948,20,737,25
 //-- Spiderweb <-- GN_CHANGEMATERIAL Lv1, 50 Fin, 35 Slender Snake
-1025,26,2494,1,951,50,1048,35
+183,1025,26,2494,1,951,50,1048,35
 //-- Reins <-- GN_CHANGEMATERIAL Lv1, 30 Chonchon Doll, 50 Stuffed Doll
-1064,26,2494,1,742,30,740,50
+184,1064,26,2494,1,742,30,740,50
 //-- Wooden Block <-- GN_CHANGEMATERIAL Lv1, 10 Rotten Bandage, 10 Single Cell
-1019,26,2494,1,930,10,1052,10
+185,1019,26,2494,1,930,10,1052,10
 //-- Tentacle <-- GN_CHANGEMATERIAL Lv1, 40 Decayed Nail, 5 Wild Boar's Mane
-962,26,2494,1,957,40,1028,5
+186,962,26,2494,1,957,40,1028,5
 //-- Mixture <-- GN_CHANGEMATERIAL Lv1, 15 Posionous Canine, 30 Powder Of Butterfly
-974,26,2494,1,937,15,924,30
+187,974,26,2494,1,937,15,924,30
 //-- Colorful Shell <-- GN_CHANGEMATERIAL Lv1, 50 Horn, 45 Zargon
-1013,26,2494,1,947,50,912,45
+188,1013,26,2494,1,947,50,912,45
 //-- Wing Of Moth <-- GN_CHANGEMATERIAL Lv1, 20 Frozen Rose, 30 Reptile Tongue
-1058,26,2494,1,749,20,903,30
+189,1058,26,2494,1,749,20,903,30
 //-- Nipper <-- GN_CHANGEMATERIAL Lv1, 25 Sticky Mucus, 40 Earthworm Peeling
-960,26,2494,1,938,25,1055,40
+190,960,26,2494,1,938,25,1055,40
 //-- Turtle Shell <-- GN_CHANGEMATERIAL Lv1, 5 Fluff, 40 Poring Doll
-967,26,2494,1,914,5,741,40
+191,967,26,2494,1,914,5,741,40
 //-- Nail Of Orc <-- GN_CHANGEMATERIAL Lv1, 50 Raccoon Leaf, 10 Garlet
-1043,26,2494,1,945,50,910,10
+192,1043,26,2494,1,945,50,910,10
 //-- Dragon Canine <-- GN_CHANGEMATERIAL Lv1, 50 Osiris Doll, 35 Sticky Webfoot
-1035,26,2494,1,751,50,918,35
+193,1035,26,2494,1,751,50,918,35
 //-- Skirt Of Virgin <-- GN_CHANGEMATERIAL Lv1, 30 Scales Shell, 35 Head Of Medusa
-1049,26,2494,1,936,30,1047,35
+194,1049,26,2494,1,936,30,1047,35
 //-- Dragon Train <-- GN_CHANGEMATERIAL Lv1, 25 Tooth Of Bat, 35 Sharpened Cuspid
-1037,26,2494,1,913,25,1063,35
+195,1037,26,2494,1,913,25,1063,35
 //-- Dokkaebi Horn <-- GN_CHANGEMATERIAL Lv1, 15 Shining Scales, 25 Lip Of Ancient Fish
-1021,26,2494,1,954,15,1054,25
+196,1021,26,2494,1,954,15,1054,25
 //-- Grit <-- GN_CHANGEMATERIAL Lv1, 35 Crystal Mirror, 50 Limb Of Mantis
-1056,26,2494,1,747,35,1031,50
+197,1056,26,2494,1,747,35,1031,50
 //-- Sharp Scale <-- GN_CHANGEMATERIAL Lv1, 10 Horseshoe, 20 Clam Shell
-963,26,2494,1,944,10,965,20
+198,963,26,2494,1,944,10,965,20
 //-- Short Leg <-- GN_CHANGEMATERIAL Lv1, 20 Claw Of Wolves, 45 Scell
-1042,26,2494,1,920,20,911,45
+199,1042,26,2494,1,920,20,911,45
 //-- Starsand Of Witch <-- GN_CHANGEMATERIAL Lv1, 10 Insect Feeler, 15 Blue Porcelain
-1061,26,2494,1,928,10,735,15
+200,1061,26,2494,1,928,10,735,15
 //-- Fox Tail <-- GN_CHANGEMATERIAL Lv1, 10 Animal's Skin, 15 Rouge
-1022,26,2494,1,919,10,739,15
+201,1022,26,2494,1,919,10,739,15
 //-- Cobold Hair <-- GN_CHANGEMATERIAL Lv1, 45 Jellopy, 20 Wedding Bouquet
-1034,26,2494,1,909,45,745,20
+202,1034,26,2494,1,909,45,745,20
 //-- Jaws Of Ant <-- GN_CHANGEMATERIAL Lv1, 20 Spore Doll, 20 Witherless Rose
-1014,26,2494,1,743,20,748,20
+203,1014,26,2494,1,743,20,748,20
 //-- Voucher Of Orcish Hero <-- GN_CHANGEMATERIAL Lv1, 5 Tree Root, 45 Nail Of Mole
-968,26,2494,1,902,5,1018,45
+204,968,26,2494,1,902,5,1018,45
 //-- Sacred Marks <-- GN_CHANGEMATERIAL Lv1, 10 Scorpion's Tail, 30 Pumpkin Head
-1009,26,2494,1,904,10,1062,30
+205,1009,26,2494,1,904,10,1062,30
 //-- Alchol <-- GN_CHANGEMATERIAL Lv1, 50 Orcish Voucher, 40 Skel Bone
-970,26,2494,1,931,50,932,40
+206,970,26,2494,1,931,50,932,40
 //-- Crap Shell <-- GN_CHANGEMATERIAL Lv1, 50 Baphomet Doll, 30 Fish Tail
-964,26,2494,1,750,50,1023,30
+207,964,26,2494,1,750,50,1023,30
 //-- Tendon <-- GN_CHANGEMATERIAL Lv1, 25 Orcish Cuspid, 5 Feather
-1050,26,2494,1,922,25,949,5
+208,1050,26,2494,1,922,25,949,5
 //-- Tiger Footskin <-- GN_CHANGEMATERIAL Lv1, 5 Pointed Scale, 20 White Platter
-1030,26,2494,1,906,5,736,20
+209,1030,26,2494,1,906,5,736,20
 //-- Hinalle <-- GN_CHANGEMATERIAL Lv1, 45 Bunch Of Flowers, 40 Moustache Of Mole
-703,26,2494,1,744,45,1017,40
+210,703,26,2494,1,744,45,1017,40
 //-- Counteragent <-- GN_CHANGEMATERIAL Lv1, 15 Evil Horn, 30 Mementos
-973,26,2494,1,923,15,934,30
+211,973,26,2494,1,923,15,934,30
 //-- Tooth Of Ancient Fish <-- GN_CHANGEMATERIAL Lv1, 35 Bill Of Birds, 30 Transparent Cloth
-1053,26,2494,1,925,35,1059,30
+212,1053,26,2494,1,925,35,1059,30
 //-- Rat Tail <-- GN_CHANGEMATERIAL Lv1, 35 Mushroom Spore, 40 Golden Hair
-1016,26,2494,1,921,35,1060,40
+213,1016,26,2494,1,921,35,1060,40
 //-- Coal <-- GN_CHANGEMATERIAL Lv1, 1 Guard
-1003,26,2494,1,2101,1
+214,1003,26,2494,1,2101,1
 //-- Steel <-- GN_CHANGEMATERIAL Lv1, 1 Tsurugi
-999,26,2494,1,1119,1
+215,999,26,2494,1,1119,1
 //-- Cigar <-- GN_CHANGEMATERIAL Lv1, 1 Orcish Axe
-2267,26,2494,1,1304,1
+216,2267,26,2494,1,1304,1
 //-- Bone Wand <-- GN_CHANGEMATERIAL Lv1, 100 Clattering Skull, 100 Broken Farming Utensil
-1615,26,2494,1,7752,100,7753,100
+217,1615,26,2494,1,7752,100,7753,100
 //-- Cigar <-- GN_CHANGEMATERIAL Lv1, 1 Orcish Axe, 100 Orcish Voucher
-2267,26,2494,1,1304,1,931,100
+218,2267,26,2494,1,1304,1,931,100
 //-- Starsand Of Witch <-- GN_CHANGEMATERIAL Lv1, 100 Moth Dust, 100 Scell
-1061,26,2494,1,1057,100,911,100
+219,1061,26,2494,1,1057,100,911,100
 //-- Soft Feather <-- GN_CHANGEMATERIAL Lv1, 30 Feather, 30 Feather Of Birds
-7063,26,2494,1,949,30,916,30
+220,7063,26,2494,1,949,30,916,30
 //-- Wind Of Verdure <-- GN_CHANGEMATERIAL Lv1, 100 Ice Piece
-992,26,2494,1,7066,100
+221,992,26,2494,1,7066,100
 //-- Crystal Blue <-- GN_CHANGEMATERIAL Lv1, 100 Claw Of Wolves
-991,26,2494,1,920,100
+222,991,26,2494,1,920,100
 //-- Soft Silk Cloth <-- GN_CHANGEMATERIAL Lv1, 10 Transparent Cloth
-7166,26,2494,1,1059,10
+223,7166,26,2494,1,1059,10
 //-- Transparent Cloth <-- GN_CHANGEMATERIAL Lv1, 2 Soft Silk Cloth
-1059,26,2494,1,7166,2
+224,1059,26,2494,1,7166,2
 //-- Boost500 To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Boost500, 10 Flexible String
-13269,26,2494,1,1093,10,12417,10,7200,10
+225,13269,26,2494,1,1093,10,12417,10,7200,10
 //-- Full SwingK To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Full SwingK, 10 Flexible String
-13270,26,2494,1,1093,10,12418,10,7200,10
+226,13270,26,2494,1,1093,10,12418,10,7200,10
 //-- Mana Plus To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Mana Plus, 10 Flexible String
-13271,26,2494,1,1093,10,12419,10,7200,10
+227,13271,26,2494,1,1093,10,12419,10,7200,10
 //-- Cure Free To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Cure Free, 10 Flexible String
-13272,26,2494,1,1093,10,12475,10,7200,10
+228,13272,26,2494,1,1093,10,12475,10,7200,10
 //-- Stamina Up M To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Stamina Up M, 10 Flexible String
-13273,26,2494,1,1093,10,12420,10,7200,10
+229,13273,26,2494,1,1093,10,12420,10,7200,10
 //-- Digestive F To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Empty Potion, 10 Digestive F, 10 Flexible String
-13274,26,2494,1,1093,10,12421,10,7200,10
+230,13274,26,2494,1,1093,10,12421,10,7200,10
 //-- HP Inc PotS To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 HP Increase PotionS
-13275,26,2494,1,6297,10,12422,10
+231,13275,26,2494,1,6297,10,12422,10
 //-- HP Inc PotM To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 HP Increase PotionM
-13276,26,2494,1,6297,10,12423,10
+232,13276,26,2494,1,6297,10,12423,10
 //-- HP Inc PotL To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 HP Increase PotionL
-13277,26,2494,1,6297,10,12424,10
+233,13277,26,2494,1,6297,10,12424,10
 //-- SP Inc PotS To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 SP Increase PotionS
-13278,26,2494,1,6297,10,12425,10
+234,13278,26,2494,1,6297,10,12425,10
 //-- SP Inc PotM To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 SP Increase PotionM
-13279,26,2494,1,6297,10,12426,10
+235,13279,26,2494,1,6297,10,12426,10
 //-- SP Inc PotL To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 SP Increase PotionL
-13280,26,2494,1,6297,10,12427,10
+236,13280,26,2494,1,6297,10,12427,10
 //-- En White PotZ To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 Enrich White PotionZ
-13281,26,2494,1,6297,10,12428,10
+237,13281,26,2494,1,6297,10,12428,10
 //-- Vitata500 To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 Vitata500
-13282,26,2494,1,6297,10,12436,10
+238,13282,26,2494,1,6297,10,12436,10
 //-- En Cel Juice To Throw <-- GN_CHANGEMATERIAL Lv1, 10 Bottle To Throw, 10 Enrich Celermine Juice
-13283,26,2494,1,6297,10,12437,10
+239,13283,26,2494,1,6297,10,12437,10
 //==============================================
 
 //---- Mix Cooking --- ItemLV=27 ---------------
 //-- Savage BBQ <-- GN_MIX_COOKING Lv1, Mix Cook Book, 1 Melange Pot, 1 Savage Meat, 1 Cooking Skewer, 1 Black Charcoal
-12429,27,2495,1,11022,0,6248,1,6249,1,6250,1,6251,1
+240,12429,27,2495,1,11022,0,6248,1,6249,1,6250,1,6251,1
 //-- Wug Blood Cocktail <-- GN_MIX_COOKING Lv1, Mix Cook Book, 1 Melange Pot, 3 Wolf Blood, 2 Cold Ice
-12430,27,2495,1,11022,0,6248,1,6252,3,6253,2
+241,12430,27,2495,1,11022,0,6248,1,6252,3,6253,2
 //-- Minor Brisket <-- GN_MIX_COOKING Lv1, Mix Cook Book, 1 Melange Pot, 2 Beef Head Meat, 1 Large Cookpot
-12431,27,2495,1,11022,0,6248,1,6254,2,6255,1
+242,12431,27,2495,1,11022,0,6248,1,6254,2,6255,1
 //-- Siroma Icetea <-- GN_MIX_COOKING Lv1, Mix Cook Book, 1 Melange Pot, 3 Ice Fragment, 2 Ice Crystal, 1 Comodo Tropic Fruit
-12432,27,2495,1,11022,0,6248,1,6256,3,6257,2,6258,1
+243,12432,27,2495,1,11022,0,6248,1,6256,3,6257,2,6258,1
 //-- Drocera Herb Stew <-- GN_MIX_COOKING Lv1, Mix Cook Book, 3 Red Herb, 3 White Herb, 3 Blue Herb, 1 Melange Pot, 1 Large Cookpot, 1 Drocera Tentacle
-12433,27,2495,1,11022,0,507,3,509,3,510,3,6248,1,6255,1,6259,3
+244,12433,27,2495,1,11022,0,507,3,509,3,510,3,6248,1,6255,1,6259,3
 //-- Petti Tail Noodle <-- GN_MIX_COOKING Lv1, Mix Cook Book, 1 Melange Pot, 2 Petti Tail, 1 Fine Noodle, 1 Cool Gravy
-12434,27,2495,1,11022,0,6248,1,6260,2,6261,1,6262,1
+245,12434,27,2495,1,11022,0,6248,1,6260,2,6261,1,6262,1
 
 //---- Create Bomb --- ItemLV=28 ---------------
 //-- Apple Bomb <-- GN_MAKEBOMB Lv1, Apple Bomb CB, 1 Apple, 1 Scell, 1 Detonator, 1 Gun Powder
-13260,28,2496,1,6279,0,512,1,911,1,1051,1,6244,1
+246,13260,28,2496,1,6279,0,512,1,911,1,1051,1,6244,1
 //-- Coconut Bomb <-- GN_MAKEBOMB Lv1, Coconut Bomb CB, 1 Detonator, 1 Coconut Fruit, 2 Gun Powder
-13261,28,2496,1,6281,0,1051,1,6263,1,6244,2
+247,13261,28,2496,1,6281,0,1051,1,6263,1,6244,2
 //-- Melon Bomb <-- GN_MAKEBOMB Lv1, Melon Bomb CB, 1 Sticky Mucus, 1 Detonator, 2 Gun Powder, 1 Melon
-13262,28,2496,1,6282,0,938,1,1051,1,6244,2,6264,1
+248,13262,28,2496,1,6282,0,938,1,1051,1,6244,2,6264,1
 //-- Pineapple Bomb <-- GN_MAKEBOMB Lv1, Pinepple Bomb CB, 1 Cactus Needle, 1 Detonator, 3 Gun Powder, 1 Pineapple
-13263,28,2496,1,6280,0,952,1,1051,1,6244,3,6265,1
+249,13263,28,2496,1,6280,0,952,1,1051,1,6244,3,6265,1
 //-- Banana Bomb <-- GN_MAKEBOMB Lv1, Banana Bomb CB, 1 Banana, 1 Detonator, 4 Gun Powder, 1 Mould Powder
-13264,28,2496,1,6283,0,513,1,1051,1,6244,4,7001,1
+250,13264,28,2496,1,6283,0,513,1,1051,1,6244,4,7001,1
 
 //---- Special Pharmacy --- ItemLV=29 ----------
 //-- Seed Of Horny Plant <-- GN_S_PHARMACY Lv1, Plant Genetic Grow, 10 Prickly Fruit
-6210,29,2497,1,6284,0,576,10
+251,6210,29,2497,1,6284,0,576,10
 //-- Bloodsuck Plant Seed <-- GN_S_PHARMACY Lv1, Plant Genetic Grow, 10 Root Of Maneater
-6211,29,2497,1,6284,0,1033,10
+252,6211,29,2497,1,6284,0,1033,10
 //-- Bomb Mushroom Spore <-- GN_S_PHARMACY Lv1, Plant Genetic Grow, 10 Mushroom Spore, 2 Gun Powder, 5 Poison Spore
-6212,29,2497,1,6284,0,921,10,6244,2,7033,5
+253,6212,29,2497,1,6284,0,921,10,6244,2,7033,5
 //-- HP Increase Potion (Small) <-- GN_S_PHARMACY Lv1, Increase Stamina Study, 10 White Herb, 5 Monster's Feed, 10 Empty Bottle, 1 Hot Sauce
-12422,29,2497,1,11023,0,509,10,528,5,713,10,7455,1
+254,12422,29,2497,1,11023,0,509,10,528,5,713,10,7455,1
 //-- HP Increase Potion (Medium) <-- GN_S_PHARMACY Lv1, Increase Stamina Study, 10 Yellow Herb, 10 White Herb, 10 Empty Bottle, 1 Hot Sauce
-12423,29,2497,1,11023,0,508,10,509,10,713,10,7455,1
+255,12423,29,2497,1,11023,0,508,10,509,10,713,10,7455,1
 //-- HP Increase Potion (Large) <-- GN_S_PHARMACY Lv1, Increase Stamina Study, 15 White Herb, 3 Fruit Of Mastela, 1 Holy Water, 10 Empty Bottle, 1 Hot Sauce
-12424,29,2497,1,11023,0,509,15,522,3,523,1,713,10,7455,1
+256,12424,29,2497,1,11023,0,509,15,522,3,523,1,713,10,7455,1
 //-- SP Increase Potion (Small) <-- GN_S_PHARMACY Lv1, Vital Drink CB, 10 Grape, 10 Lemon, 10 Empty Bottle, 1 Sweet Sauce
-12425,29,2497,1,11024,0,514,10,568,10,713,10,7453,1
+257,12425,29,2497,1,11024,0,514,10,568,10,713,10,7453,1
 //-- SP Increase Potion (Medium) <-- GN_S_PHARMACY Lv1, Vital Drink CB, 10 Blue Herb, 10 Honey, 10 Empty Bottle, 1 Sweet Sauce
-12426,29,2497,1,11024,0,510,10,518,10,713,10,7453,1
+258,12426,29,2497,1,11024,0,510,10,518,10,713,10,7453,1
 //-- SP Increase Potion (Large) <-- GN_S_PHARMACY Lv1, Vital Drink CB, 15 Blue Herb, 10 Royal Jelly, 10 Empty Bottle, 1 Sweet Sauce
-12427,29,2497,1,11024,0,510,15,526,10,713,10,7453,1
+259,12427,29,2497,1,11024,0,510,15,526,10,713,10,7453,1
 //-- Enrich White Potion Z <-- GN_S_PHARMACY Lv1, Quality Potion Book, 20 White Potion, 10 White Herb, 1 Alchol, 10 Empty Cylinder
-12428,29,2497,1,6285,0,504,20,509,10,970,1,1092,10
+260,12428,29,2497,1,6285,0,504,20,509,10,970,1,1092,10
 //-- Vitata 500 <-- GN_S_PHARMACY Lv1, Quality Potion Book, 10 Blue Herb, 10 Grape, 10 Honey, 10 Empty Cylinder
-12436,29,2497,1,6285,0,510,10,514,10,518,10,1092,10
+261,12436,29,2497,1,6285,0,510,10,514,10,518,10,1092,10
 //-- Enrich Celermine Juice <-- GN_S_PHARMACY Lv1, Quality Potion Book, 5 Center Potion, 5 Awakening Potion, 10 Empty Cylinder, 5 Hot Sauce
-12437,29,2497,1,6285,0,645,5,656,5,1092,10,7455,5
+262,12437,29,2497,1,6285,0,645,5,656,5,1092,10,7455,5
 //-- Cure Free <-- GN_S_PHARMACY Lv1, Quality Potion Book, 20 Green Herb, 1 Fruit Of Mastela, 5 Panacea, 1 Leaf Of Yggdrasil, 10 Empty Cylinder
-12475,29,2497,1,6285,0,511,20,522,1,525,5,610,1,1092,10
+263,12475,29,2497,1,6285,0,511,20,522,1,525,5,610,1,1092,10
 //===============================================

+ 80 - 79
db/skill_changematerial_db.txt

@@ -1,84 +1,85 @@
 // Change Material Database
 //
 // Structure of Database:
-// ProductID,BaseRate,MakeAmount1,MakeAmountRate1...,MakeAmount5,MakeAmountRate5
+// ID,ProductID,BaseRate,MakeAmount1,MakeAmountRate1...,MakeAmount5,MakeAmountRate5
 //
-// NOTE: 
-// Up to 5 ID/Amount pairs can be specified.
-// Rate = n/10%
-
-703,1000,4,800,2,200		// Hinalle 
-958,800,9,1000		// Horrendous_Mouth
-959,800,7,1000		// Rotten_Scale
-960,1000,6,800,9,200	// Nipper 
-961,800,3,1000		// Conch
-962,1000,4,800,6,200	// Tentacle 
-963,800,3,1000		// Sharp_Scale
-964,800,8,1000		// Crap_Shell
-967,800,4,1000		// Turtle_Shell
-968,800,5,1000		// Voucher_Of_Orcish_Hero
-970,800,9,1000		// Alchol
-971,800,5,1000		// Detrimindexta
-973,800,4,1000		// Counteragent
-974,1000,4,800,6,200	// Mixture 
-991,1000,1,500,1,500	// Crystal_Blue 
-992,1000,1,500,1,500	// Wind_Of_Verdure 
-999,1000,10,1000	// Steel
-1003,500,1,1000		// Coal
-1008,800,6,1000		// Frozen_Heart
-1009,800,4,1000		// Sacred_Marks
-1010,800,8,1000		// Phracon
-1011,800,4,1000		// Emveretarcon
-1012,800,3,1000		// Lizard_Scruff
-1013,1000,9,800,13,200	// Colorful_Shell
-1014,1000,4,800,6,200	// Jaws_Of_Ant
-1016,1000,7,800,10,200	// Rat_Tail 
-1019,800,2,1000		// Wooden_Block
-1020,1000,4,800,6,200	// Long_Hair 
-1021,800,4,1000		// Dokkaebi_Horn
-1022,1000,2,800,3,200	// Fox_Tail 
-1024,800,4,1000		// Chinese_Ink
-1025,800,8,1000		// Spiderweb
-1026,800,4,1000		// Acorn
-1030,800,2,1000		// Tiger_Footskin
-1033,1000,4,800,6,200	// Root_Of_Maneater 
-1034,1000,6,800,9,200	// Cobold_Hair 
-1035,1000,8,800,12,200	// Dragon_Canine 
-1037,800,6,1000		// Dragon_Train
-1038,1000,1,1000	// Petite_Dablofs_Horn 
-1040,1000,8,800,12,200	// Elder_Pixie's_Beard 
-1041,800,3,1000		// Lantern
-1042,800,6,1000		// Short_Leg
-1043,800,6,1000		// Nail_Of_Orc
-1045,800,8,1000		// Sacred_Masque
-1046,800,4,1000		// Tweezer
-1049,800,6,1000		// Skirt_Of_Virgin
-1050,800,3,1000		// Tendon
-1051,800,7,1000		// Detonator
-1053,1000,6,800,9,200	// Tooth_Of_Ancient_Fish 
-1056,800,8,1000		// Grit
-1058,800,5,1000		// Wing_Of_Moth
-1059,1000,5,1000	// Transparent_Cloth
-1061,80,2,1000		// Starsand_Of_Witch
-1061,1000,1,1000	// Starsand_Of_Witch
-1064,800,8,1000		// Reins
-1615,200,1,1000		// Bone_Wand
-2267,1000,1,1000	// Cigar
-7063,1000,1,200,1,200,1,100	// Soft_Feather
-7166,1000,2,1000	// Soft_Silk_Cloth
-13269,1000,5,500,2,250,1,100	// Boost500_To_Throw
-13270,1000,5,500,2,250,1,100	// Full_SwingK_To_Throw
-13271,1000,5,500,2,250,1,100	// Mana_Plus_To_Throw
-13272,1000,5,500,2,250,1,100	// Cure_Free_To_Throw
-13273,1000,5,500,2,250,1,100	// Stamina_Up_M_To_Throw
-13274,1000,5,500,2,250,1,100	// Digestive_F_To_Throw
-13275,1000,10,1000	// HP_Inc_PotS_To_Throw
-13276,1000,10,1000	// HP_Inc_PotM_To_Throw
-13277,1000,10,1000	// HP_Inc_PotL_To_Throw
-13278,1000,10,1000	// SP_Inc_PotS_To_Throw
-13279,1000,10,1000	// SP_Inc_PotM_To_Throw
-13280,1000,10,1000	// SP_Inc_PotL_To_Throw
-13281,1000,10,1000	// En_White_PotZ_To_Throw
-13282,1000,10,1000	// Vitata500_To_Throw
-13283,1000,10,1000	// En_Cel_Juice_To_Throw
+// NOTE:
+// - ID is used to identify item order that will be used for overwriting on db/import.
+//   Value is started from 0 until 74 (MAX_SKILL_CHANGEMATERIAL_DB-1). Use same ID on import file to overwrite original result & requirements
+// - Up to 5 ID/Amount pairs can be specified.
+// - Rate = n/10%
 
+0,703,1000,4,800,2,200	// Hinalle 
+1,958,800,9,1000		// Horrendous_Mouth
+2,959,800,7,1000		// Rotten_Scale
+3,960,1000,6,800,9,200	// Nipper 
+4,961,800,3,1000		// Conch
+5,962,1000,4,800,6,200	// Tentacle 
+6,963,800,3,1000		// Sharp_Scale
+7,964,800,8,1000		// Crap_Shell
+8,967,800,4,1000		// Turtle_Shell
+9,968,800,5,1000		// Voucher_Of_Orcish_Hero
+10,970,800,9,1000		// Alchol
+11,971,800,5,1000		// Detrimindexta
+12,973,800,4,1000		// Counteragent
+13,974,1000,4,800,6,200	// Mixture 
+14,991,1000,1,500,1,500	// Crystal_Blue 
+15,992,1000,1,500,1,500	// Wind_Of_Verdure 
+16,999,1000,10,1000		// Steel
+17,1003,500,1,1000		// Coal
+18,1008,800,6,1000		// Frozen_Heart
+19,1009,800,4,1000		// Sacred_Marks
+20,1010,800,8,1000		// Phracon
+21,1011,800,4,1000		// Emveretarcon
+22,1012,800,3,1000		// Lizard_Scruff
+23,1013,1000,9,800,13,200	// Colorful_Shell
+24,1014,1000,4,800,6,200	// Jaws_Of_Ant
+25,1016,1000,7,800,10,200	// Rat_Tail 
+26,1019,800,2,1000		// Wooden_Block
+27,1020,1000,4,800,6,200	// Long_Hair 
+28,1021,800,4,1000		// Dokkaebi_Horn
+29,1022,1000,2,800,3,200	// Fox_Tail 
+30,1024,800,4,1000		// Chinese_Ink
+31,1025,800,8,1000		// Spiderweb
+32,1026,800,4,1000		// Acorn
+33,1030,800,2,1000		// Tiger_Footskin
+34,1033,1000,4,800,6,200	// Root_Of_Maneater 
+35,1034,1000,6,800,9,200	// Cobold_Hair 
+36,1035,1000,8,800,12,200	// Dragon_Canine 
+37,1037,800,6,1000		// Dragon_Train
+38,1038,1000,1,1000		// Petite_Dablofs_Horn 
+39,1040,1000,8,800,12,200	// Elder_Pixie's_Beard 
+40,1041,800,3,1000		// Lantern
+41,1042,800,6,1000		// Short_Leg
+42,1043,800,6,1000		// Nail_Of_Orc
+43,1045,800,8,1000		// Sacred_Masque
+44,1046,800,4,1000		// Tweezer
+45,1049,800,6,1000		// Skirt_Of_Virgin
+46,1050,800,3,1000		// Tendon
+47,1051,800,7,1000		// Detonator
+48,1053,1000,6,800,9,200	// Tooth_Of_Ancient_Fish 
+49,1056,800,8,1000		// Grit
+50,1058,800,5,1000		// Wing_Of_Moth
+51,1059,1000,5,1000		// Transparent_Cloth
+52,1061,800,2,1000		// Starsand_Of_Witch
+53,1061,1000,1,1000		// Starsand_Of_Witch
+54,1064,800,8,1000		// Reins
+55,1615,200,1,1000		// Bone_Wand
+56,2267,1000,1,1000		// Cigar
+57,7063,1000,1,200,1,200,1,100	// Soft_Feather
+58,7166,1000,2,1000		// Soft_Silk_Cloth
+59,13269,1000,5,500,2,250,1,100	// Boost500_To_Throw
+60,13270,1000,5,500,2,250,1,100	// Full_SwingK_To_Throw
+61,13271,1000,5,500,2,250,1,100	// Mana_Plus_To_Throw
+62,13272,1000,5,500,2,250,1,100	// Cure_Free_To_Throw
+63,13273,1000,5,500,2,250,1,100	// Stamina_Up_M_To_Throw
+64,13274,1000,5,500,2,250,1,100	// Digestive_F_To_Throw
+65,13275,1000,10,1000	// HP_Inc_PotS_To_Throw
+66,13276,1000,10,1000	// HP_Inc_PotM_To_Throw
+67,13277,1000,10,1000	// HP_Inc_PotL_To_Throw
+68,13278,1000,10,1000	// SP_Inc_PotS_To_Throw
+69,13279,1000,10,1000	// SP_Inc_PotM_To_Throw
+70,13280,1000,10,1000	// SP_Inc_PotL_To_Throw
+71,13281,1000,10,1000	// En_White_PotZ_To_Throw
+72,13282,1000,10,1000	// Vitata500_To_Throw
+73,13283,1000,10,1000	// En_Cel_Juice_To_Throw

+ 2 - 0
db/skill_improvise_db.txt

@@ -3,6 +3,8 @@
 //
 // Structure of Database:
 // SkillID,Rate
+//
+// - To remove entry by importing, put 0 on 'Rate'
 
 // Mage Skills
 10,5000	// Sight

+ 3 - 1
db/spellbook_db.txt

@@ -3,7 +3,9 @@
 // Structure of Database:
 // SkillID,PreservePoints,Required Book
 //
-// NOTE: To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.h.
+// NOTE:
+// - To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.h.
+// - To remove entry by importing, put 0 for 'PreservePoints'
 
 //Mage
 14,7,6190	//Cold Bolt

+ 26 - 25
src/map/clif.c

@@ -3333,15 +3333,15 @@ void clif_arrow_create_list(struct map_session_data *sd)
 	WFIFOW(fd,0) = 0x1ad;
 
 	for (i = 0, c = 0; i < MAX_SKILL_ARROW_DB; i++) {
-		short j;
-		if (skill_arrow_db[i].nameid > 0 &&
-			(j = pc_search_inventory(sd, skill_arrow_db[i].nameid)) >= 0 &&
+		short j, nameid = skill_arrow_db[i].nameid;
+		if (nameid > 0 && itemdb_exists(nameid) &&
+			(j = pc_search_inventory(sd, nameid)) >= 0 &&
 			!sd->status.inventory[j].equip && sd->status.inventory[j].identify)
 		{
-			if ((j = itemdb_viewid(skill_arrow_db[i].nameid)) > 0)
+			if ((j = itemdb_viewid(nameid)) > 0)
 				WFIFOW(fd,c*2+4) = j;
 			else
-				WFIFOW(fd,c*2+4) = skill_arrow_db[i].nameid;
+				WFIFOW(fd,c*2+4) = nameid;
 			c++;
 		}
 	}
@@ -5375,32 +5375,33 @@ void clif_skill_produce_mix_list(struct map_session_data *sd, int skill_id , int
 	int i,c,view,fd;
 	nullpo_retv(sd);
 
-	if(sd->menuskill_id == skill_id)
+	if (sd->menuskill_id == skill_id)
 		return; //Avoid resending the menu twice or more times...
-	if( skill_id == GC_CREATENEWPOISON )
+	if (skill_id == GC_CREATENEWPOISON)
 		skill_id = GC_RESEARCHNEWPOISON;
 
-	fd=sd->fd;
+	fd = sd->fd;
 	WFIFOHEAD(fd, MAX_SKILL_PRODUCE_DB * 8 + 8);
-	WFIFOW(fd, 0)=0x18d;
+	WFIFOW(fd, 0) = 0x18d;
 
-	for(i=0,c=0;i<MAX_SKILL_PRODUCE_DB;i++){
-		if( skill_can_produce_mix(sd,skill_produce_db[i].nameid, trigger, 1) &&
-			( ( skill_id > 0 && skill_produce_db[i].req_skill == skill_id ) || skill_id < 0 )
-			){
-			if((view = itemdb_viewid(skill_produce_db[i].nameid)) > 0)
-				WFIFOW(fd,c*8+ 4)= view;
+	for (i = 0, c = 0; i < MAX_SKILL_PRODUCE_DB; i++){
+		if (skill_can_produce_mix(sd,skill_produce_db[i].nameid, trigger, 1) &&
+			(skill_id <= 0 || (skill_id > 0 && skill_produce_db[i].req_skill == skill_id))
+			)
+		{
+			if ((view = itemdb_viewid(skill_produce_db[i].nameid)) > 0)
+				WFIFOW(fd,c*8+ 4) = view;
 			else
-				WFIFOW(fd,c*8+ 4)= skill_produce_db[i].nameid;
-			WFIFOW(fd,c*8+ 6)= 0;
-			WFIFOW(fd,c*8+ 8)= 0;
-			WFIFOW(fd,c*8+10)= 0;
+				WFIFOW(fd,c*8+ 4) = skill_produce_db[i].nameid;
+			WFIFOW(fd,c*8+ 6) = 0;
+			WFIFOW(fd,c*8+ 8) = 0;
+			WFIFOW(fd,c*8+10) = 0;
 			c++;
 		}
 	}
-	WFIFOW(fd, 2)=c*8+8;
+	WFIFOW(fd, 2) = c*8+8;
 	WFIFOSET(fd,WFIFOW(fd,2));
-	if(c > 0) {
+	if (c > 0) {
 		sd->menuskill_id = skill_id;
 		sd->menuskill_val = trigger;
 		return;
@@ -11593,7 +11594,7 @@ void clif_parse_Cooking(int fd,struct map_session_data *sd) {
 	struct s_packet_db* info = &packet_db[sd->packet_ver][RFIFOW(fd,0)];
 	int type = RFIFOW(fd,info->pos[0]);
 	unsigned short nameid = RFIFOW(fd,info->pos[1]);
-	int amount = sd->menuskill_val2?sd->menuskill_val2:1;
+	int amount = sd->menuskill_val2 ? sd->menuskill_val2 : 1;
 	if( type == 6 && sd->menuskill_id != GN_MIX_COOKING && sd->menuskill_id != GN_S_PHARMACY )
 		return;
 
@@ -11751,12 +11752,12 @@ void clif_parse_ItemIdentify(int fd,struct map_session_data *sd)
 void clif_parse_SelectArrow(int fd,struct map_session_data *sd){
 	unsigned short nameid = RFIFOW(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[0]);
 	if (pc_istrading(sd)) {
-	//Make it fail to avoid shop exploits where you sell something different than you see.
+		//Make it fail to avoid shop exploits where you sell something different than you see.
 		clif_skill_fail(sd,sd->ud.skill_id,USESKILL_FAIL_LEVEL,0);
 		clif_menuskill_clear(sd);
 		return;
 	}
-	switch( sd->menuskill_id ) {
+	switch (sd->menuskill_id) {
 		case AC_MAKINGARROW:
 			skill_arrow_create(sd,nameid);
 			break;
@@ -16716,7 +16717,7 @@ int clif_spellbook_list(struct map_session_data *sd)
 
 	for( i = 0, c = 0; i < MAX_INVENTORY; i ++ )
 	{
-		if( itemdb_is_spellbook(sd->status.inventory[i].nameid) )
+		if( itemdb_is_spellbook2(sd->status.inventory[i].nameid) )
 		{
 			WFIFOW(fd, c * 2 + 4) = sd->status.inventory[i].nameid;
 			c++;

+ 15 - 0
src/map/itemdb.c

@@ -1458,6 +1458,21 @@ bool itemdb_isNoEquip(struct item_data *id, uint16 m) {
 	return false;
 }
 
+/**
+* Check if item is available in spellbook_db or not
+* @param nameid
+* @return True if item is spellbook; False if not
+*/
+bool itemdb_is_spellbook2(unsigned short nameid) {
+	unsigned char i;
+	if (!nameid || !itemdb_exists(nameid))
+		return false;
+	ARR_FIND(0, MAX_SKILL_SPELLBOOK_DB, i, skill_spellbook_db[i].nameid == nameid);
+	if (i >= MAX_SKILL_SPELLBOOK_DB)
+		return false;
+	return true;
+}
+
 /**
 * Read all item-related databases
 */

+ 1 - 0
src/map/itemdb.h

@@ -447,6 +447,7 @@ struct item_data* itemdb_exists(unsigned short nameid);
 #define itemdb_is_GNthrowable(n) (n >= ITEMID_MYSTERIOUS_POWDER && n <= ITEMID_BLACK_THING_TO_THROW)
 const char* itemdb_typename(enum item_types type);
 const char *itemdb_typename_ammo (enum e_item_ammo ammo);
+bool itemdb_is_spellbook2(unsigned short nameid);
 
 unsigned short itemdb_searchrandomid(uint16 group_id, uint8 sub_group);
 

File diff suppressed because it is too large
+ 346 - 265
src/map/skill.c


+ 39 - 24
src/map/skill.h

@@ -13,17 +13,17 @@ struct skill_unit;
 struct skill_unit_group;
 struct status_change_entry;
 
-#define MAX_SKILL_DB			MAX_SKILL
-#define MAX_SKILL_PRODUCE_DB	270
-#define MAX_PRODUCE_RESOURCE	12
-#define MAX_SKILL_ARROW_DB		150
-#define MAX_ARROW_RESOURCE		5
-#define MAX_SKILL_ABRA_DB		350
-#define MAX_SKILL_IMPROVISE_DB 50
-#define MAX_SKILL_LEVEL 100
-#define MAX_SKILL_CRIMSON_MARKER 3
-#define SKILL_NAME_LENGTH 31
-#define SKILL_DESC_LENGTH 31
+#define MAX_SKILL_DB			MAX_SKILL /// Max Skill DB
+#define MAX_SKILL_PRODUCE_DB	270 /// Max Produce DB
+#define MAX_PRODUCE_RESOURCE	12 /// Max Produce requirements
+#define MAX_SKILL_ARROW_DB		150 /// Max Arrow Creation DB
+#define MAX_ARROW_RESULT		5 /// Max Arrow results/created
+#define MAX_SKILL_ABRA_DB		350 /// Max Skill list of Abracadabra DB
+#define MAX_SKILL_IMPROVISE_DB 50 /// Max Skill for Improvise
+#define MAX_SKILL_LEVEL 100 /// Max Skill Level
+#define MAX_SKILL_CRIMSON_MARKER 3 /// Max Crimson Marker targets
+#define SKILL_NAME_LENGTH 31 /// Max Skill Name length
+#define SKILL_DESC_LENGTH 31 /// Max Skill Desc length
 
 DBMap* skilldb_name2id;
 
@@ -279,26 +279,28 @@ enum {
 
 /// Create Database item
 struct s_skill_produce_db {
-	unsigned short nameid;
-	int trigger;
-	int req_skill,req_skill_lv,itemlv;
-	int mat_id[MAX_PRODUCE_RESOURCE],mat_amount[MAX_PRODUCE_RESOURCE];
+	unsigned short nameid; /// Product ID
+	unsigned short req_skill; /// Required Skill
+	unsigned char req_skill_lv, /// Required Skill Level
+		itemlv; /// Item Level
+	unsigned short mat_id[MAX_PRODUCE_RESOURCE], /// Materials needed
+		mat_amount[MAX_PRODUCE_RESOURCE]; /// Amount of each materials
 };
 extern struct s_skill_produce_db skill_produce_db[MAX_SKILL_PRODUCE_DB];
 
 /// Creating database arrow
 struct s_skill_arrow_db {
-	unsigned short nameid;
-	int trigger;
-	int cre_id[MAX_ARROW_RESOURCE],cre_amount[MAX_ARROW_RESOURCE];
+	unsigned short nameid, /// Material ID
+		cre_id[MAX_ARROW_RESULT], /// Arrow created
+		cre_amount[MAX_ARROW_RESULT]; /// Amount of each arrow created
 };
 extern struct s_skill_arrow_db skill_arrow_db[MAX_SKILL_ARROW_DB];
 
 /// Abracadabra database
 struct s_skill_abra_db {
-	uint16 skill_id;
-	char name[NAME_LENGTH];
-	int per[MAX_SKILL_LEVEL];
+	uint16 skill_id; /// Skill ID
+	char name[SKILL_NAME_LENGTH]; /// Shouted skill name
+	int per[MAX_SKILL_LEVEL]; /// Probability summoned
 };
 extern struct s_skill_abra_db skill_abra_db[MAX_SKILL_ABRA_DB];
 
@@ -441,10 +443,10 @@ bool skill_isNotOk_npcRange(struct block_list *src, uint16 skill_id, uint16 skil
 int skill_changetarget(struct block_list *bl,va_list ap);
 
 // Item creation
-int skill_can_produce_mix( struct map_session_data *sd, unsigned short nameid, int trigger, int qty);
-int skill_produce_mix( struct map_session_data *sd, uint16 skill_id, unsigned short nameid, int slot1, int slot2, int slot3, int qty );
+short skill_can_produce_mix( struct map_session_data *sd, unsigned short nameid, int trigger, int qty);
+bool skill_produce_mix( struct map_session_data *sd, uint16 skill_id, unsigned short nameid, int slot1, int slot2, int slot3, int qty );
 
-int skill_arrow_create( struct map_session_data *sd, unsigned short nameid);
+bool skill_arrow_create( struct map_session_data *sd, unsigned short nameid);
 
 // skills for the mob
 int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,uint16 skill_id,uint16 skill_lv,unsigned int tick,int flag );
@@ -1959,11 +1961,13 @@ enum {
 
 	UNT_MAX = 0x190
 };
+
 /**
  * Skill Unit Save
  **/
 void skill_usave_add(struct map_session_data * sd, uint16 skill_id, uint16 skill_lv);
 void skill_usave_trigger(struct map_session_data *sd);
+
 /**
  * Warlock
  **/
@@ -1974,8 +1978,15 @@ enum wl_spheres {
 	WLS_WATER,
 	WLS_STONE,
 };
+struct s_skill_spellbook_db {
+	unsigned short nameid;
+	unsigned short skill_id;
+	unsigned short point;
+};
+extern struct s_skill_spellbook_db skill_spellbook_db[MAX_SKILL_SPELLBOOK_DB];
 int skill_spellbook (struct map_session_data *sd, unsigned short nameid);
 int skill_block_check(struct block_list *bl, enum sc_type type, uint16 skill_id);
+
 /**
  * Guilottine Cross
  **/
@@ -1986,19 +1997,23 @@ struct s_skill_magicmushroom_db {
 extern struct s_skill_magicmushroom_db skill_magicmushroom_db[MAX_SKILL_MAGICMUSHROOM_DB];
 int skill_maelstrom_suction(struct block_list *bl, va_list ap);
 bool skill_check_shadowform(struct block_list *bl, int64 damage, int hit);
+
 /**
  * Ranger
  **/
 int skill_detonator(struct block_list *bl, va_list ap);
 bool skill_check_camouflage(struct block_list *bl, struct status_change_entry *sce);
+
 /**
  * Mechanic
  **/
 int skill_magicdecoy(struct map_session_data *sd, unsigned short nameid);
+
 /**
  * Guiltoine Cross
  **/
 int skill_poisoningweapon( struct map_session_data *sd, unsigned short nameid);
+
 /**
  * Auto Shadow Spell (Shadow Chaser)
  **/

Some files were not shown because too many files changed in this diff