summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-16 16:59:52 +0000
committerFate <fate-tmw@googlemail.com>2009-05-16 16:59:52 +0000
commit44b83f57bd879d852d7d5c41214a5bc41a5358f8 (patch)
treea7d9cb0312ac3afa6abdce49a1d5d858cba5e8a5
parent9c025c897e112583b68de9d8545f81edb95dbe5c (diff)
downloadserverdata-44b83f57bd879d852d7d5c41214a5bc41a5358f8.tar.gz
serverdata-44b83f57bd879d852d7d5c41214a5bc41a5358f8.tar.bz2
serverdata-44b83f57bd879d852d7d5c41214a5bc41a5358f8.tar.xz
serverdata-44b83f57bd879d852d7d5c41214a5bc41a5358f8.zip
Added T15 and T16 spells
-rw-r--r--conf/magic.conf.template29
1 files changed, 28 insertions, 1 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 058ec51e..69660224 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -52,7 +52,7 @@ CONST SCRIPT_LASTSPELL_MASK = 0xff
CONST SCRIPT_LASTSPELL_SHIFT = 16
CONST SCRIPT_HEALSPELL_MASK = 0xff
CONST SCRIPT_HEALSPELL_SHIFT = 24
-CONST DEBUG = 0
+CONST DEBUG = 1
CONST ATTACK_ICON_GENERIC = 2000
CONST ATTACK_ICON_SHEARING = 2001
@@ -490,6 +490,33 @@ SPELL make-iron-powder : "#T14" =
CALL create_item("IronPowder", 1 + spellpower / 140 + (random(max(1, 900 - spellpower)) / 220), "IronOre", 700);
CALL gain_xp(3);
+SPELL make-concentration-potion : "#T15" =
+ LET level = 1
+ school = TRANSMUTE
+ IN (MANA 8, CASTTIME 5000,
+ REQUIRE skill(caster, MAGIC) > level,
+ REQUIRE skill(caster, school) > level,
+ COMPONENTS ["BottleOfWater", 2 * "CobaltHerb", 2 * "Petal"])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL create_item( if_then_else(random(2000 + experience) < experience, "ConcentrationPotion", "DarkConcentrationPotion"), 1,
+ if_then_else(random(2), 744, "DarkConcentrationPotion"),
+ 2000);
+ CALL gain_xp(4);
+
+SPELL merge-concentration-potions : "#T16" =
+ LET level = 1
+ school = TRANSMUTE
+ IN (MANA 8, CASTTIME 5000,
+ REQUIRE skill(caster, MAGIC) > level,
+ REQUIRE skill(caster, school) > level,
+ COMPONENTS ["DarkConcentrationPotion", 744])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL create_item("ConcentrationPotion", 1, 744, 1000);
+ CALL gain_xp(4);
+
+
SPELL lay-on-hands (target : STRING) : "#L10" =
LET level = 1
school = LIFE