summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-30 16:39:49 -0700
committerFate <fate-tmw@googlemail.com>2008-11-30 16:39:49 -0700
commit98860f7aa06060e6c6b59efeb3414b3bec67695a (patch)
tree5c324c55069abd6d43f4f737f9e7168056d1c436 /db
parent2b67987792ba5cf7057df4b41056f5b689c63251 (diff)
downloadserverdata-98860f7aa06060e6c6b59efeb3414b3bec67695a.tar.gz
serverdata-98860f7aa06060e6c6b59efeb3414b3bec67695a.tar.bz2
serverdata-98860f7aa06060e6c6b59efeb3414b3bec67695a.tar.xz
serverdata-98860f7aa06060e6c6b59efeb3414b3bec67695a.zip
Added magic constants and Auldsbel the wizard (tested except for the mana seed part, still needs the magic quests)
Diffstat (limited to 'db')
-rw-r--r--db/const.txt2
-rw-r--r--db/item_db.txt2
-rw-r--r--db/magic_const.txt17
3 files changed, 20 insertions, 1 deletions
diff --git a/db/const.txt b/db/const.txt
index 73e60c04..080efbad 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -174,3 +174,5 @@ NIBBLE_6_MASK 251658240
NIBBLE_7_SHIFT 28
NIBBLE_7_MASK 4026531840
+
+import: db/magic_const.txt
diff --git a/db/item_db.txt b/db/item_db.txt
index 591a5de8..c55a5aa1 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, , {}, {}
-705, MagicPotion, Magic Potion, 0, 2000, 300, 50, , , , , , 10477567, 2, , , 0, , { itemheal 0, 10; callfunc "MagicGainBasic"; }, {}
+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, , , , , , , , , , , , {}, {}
diff --git a/db/magic_const.txt b/db/magic_const.txt
new file mode 100644
index 00000000..791c446e
--- /dev/null
+++ b/db/magic_const.txt
@@ -0,0 +1,17 @@
+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