From 98860f7aa06060e6c6b59efeb3414b3bec67695a Mon Sep 17 00:00:00 2001 From: Fate Date: Sun, 30 Nov 2008 16:39:49 -0700 Subject: Added magic constants and Auldsbel the wizard (tested except for the mana seed part, still needs the magic quests) --- db/const.txt | 2 ++ db/item_db.txt | 2 +- db/magic_const.txt | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 db/magic_const.txt (limited to 'db') 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 -- cgit v1.2.3-70-g09d2