summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/const.txt20
-rw-r--r--db/item_db.txt6
2 files changed, 24 insertions, 2 deletions
diff --git a/db/const.txt b/db/const.txt
index 73e60c04..f372ff14 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -174,3 +174,23 @@ NIBBLE_6_MASK 251658240
NIBBLE_7_SHIFT 28
NIBBLE_7_MASK 4026531840
+
+// Magic skills
+SKILL_MAGIC 340
+SKILL_MAGIC_LIFE 341
+SKILL_MAGIC_WAR 342
+SKILL_MAGIC_TRANSMUTE 343
+SKILL_MAGIC_NATURE 344
+SKILL_MAGIC_ASTRAL 345
+
+// Flags for the magic quests
+MFLAG_DRANK_POTION 1 // Character drank at least one magic potion as prerequisite for the mana seed quest
+MFLAG_KNOWS_MANASEED 2 // Character has found the Mana Seed
+MFLAG_TOUCHED_MANASEED 4 // Character has touched the Mana Seed
+MFLAG_MANASEED_MAXEDOUT 8 // Character has touched the Mana Seed while maxed out on magic
+
+MFLAG_KNOWS_AULDSBEL 16 // Character has met Auldsbel
+MFLAG_KNOWS_WYARA 32 // Character has met Wyara
+MFLAG_KNOWS_SAGATHA 64 // Character has met Sagatha
+MFLAG_KNOWS_MANAPOTION 128 // Has heard about the mana potion
+
diff --git a/db/item_db.txt b/db/item_db.txt
index 721db3ee..ee68f152 100644
--- a/db/item_db.txt
+++ b/db/item_db.txt
@@ -194,7 +194,7 @@
702, WeddingRing, Wedding Ring, 5, 1000, 1, 1, , 0, , 1, 0, 10477567, 2, 128, , 0, 0, {}, {}
703, SulphurPowder, Sulphur Powder, 3, 1000, 100, 2, , , , , , 10477567, 2, , , 0, , {}, {}
704, IronPowder, Iron Powder, 3, 800, 80, 3, , , , , , 10477567, 2, , , 0, , {}, {}
-// RESERVED
+705, ManaPotion, Mana Potion, 0, 2000, 300, 50, , , , , , 10477567, 2, , , 0, , { itemheal 0, 10; callfunc "MagicGainBasic"; }, {}
706, GoldenScorpionStinger, Golden Scorpion Stinger, 3, 2000, 500, 2, , , , , , , , , , , , {}, {}
707, MonsterOilPotion, Monster Oil Potion, 3, 10000, 2000, 50, , , , , , , , , , , , {}, {}
708, LeatherPatch, Leather Patch, 3, 300, 150, 18, , , , , , , , , , , , {}, {}
@@ -217,7 +217,9 @@
725, GMCap, GM Cap, 5, 2000, 500, 10, , 5, , 5, 0, 10477567, 2, 256, , 0, 0, {}, {}
726, GMRobe, GM Robe, 5, 8000, 4000, 5, , 5, , 0, 0, 10477567, 2, 512, , 0, 0, {}, {}
727, Iten, Iten, 3, 0, 0, 100, , , , , , , , , , , , {}, {}
-// RESERVED
+728, MoubooFigurine, Mouboo Figurine, 3, 0, 0, 1, , , , , , , , , , , , {}, {}
+729, WarpedLog, Warped Log, 3, 0, 0, 2, , , , , , , , , , , , {}, {}
+730, Lifestone, Lifestone, 3, 0, 0, 1, , , , , , , , , , , , {}, {}
731, AssassinPants, Assassin Pants, 5, 10000, 3000, 10, , 5, , -5, 0, 10477567, 2, 1, , 0, 0, {}, {}
#ID, Name, Label, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Job, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript}