From 23518b19a828eb36e56c0cb0cd4a8f8778934ad6 Mon Sep 17 00:00:00 2001
From: Fate <fate-tmw@googlemail.com>
Date: Sun, 11 Jan 2009 14:24:01 -0700
Subject: Fixed a number of remaining bugs

---
 conf/magic.conf.template | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'conf/magic.conf.template')

diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 66e44cfa..a03e78ac 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -728,6 +728,9 @@ SPELL hide (target : PC) : "#A13" =
                 THEN CALL default_effect();
                 status_change(target, SC_HIDE, 0, 0, 0, 0, 5000 + (spellpower * 2500));
                 CALL gain_xp(2);
+                message(target, "You are hidden!");
+                message(caster, "You hid someone!");
+          ATEND message(target, "It's over!");
 
 #--------------------------------------------------------------------------------
 # Level 2 spells
@@ -808,7 +811,7 @@ SPELL teleport (destination : STRING) : "#A40" =
           REQUIRE skill(caster, MAGIC) > level,
           REQUIRE skill(caster, school) > level)
 	=> EFFECT CALL default_effect();
-                  WAIT (100000 / (spellpower + 10));
+                  WAIT 1000 + (200000 / (spellpower + 10));
                   sfx(location(caster), SFX_TELEPORT, 1);
                   warp(caster, random_location(anchor(destination)));
                   sfx(location(caster), SFX_TELEPORT, 100);
@@ -858,7 +861,7 @@ PROCEDURE debug_xmod(name, mask, shift, gain) =
 PROCEDURE debug_mod(name, delta) =
           IF (name = "mexp") THEN CALL debug_xmod("MAGIC_EXPERIENCE", 0xffff, 0, delta);
           ELSE IF (name = "lastspell") THEN CALL debug_xmod("MAGIC_EXPERIENCE", 0xff, 16, delta);
-          ELSE IF (name = "lifeexp") THEN CALL debug_xmod("MAGIC_EXPERIENCE", 0xff, 24, delta);
+          ELSE IF (name = "healexp") THEN CALL debug_xmod("MAGIC_EXPERIENCE", 0xff, 24, delta);
           ELSE IF (name = "drank") THEN CALL debug_xmod("MAGIC_FLAGS", 0x1, 0, delta);
           ELSE IF (name = "Kmseed") THEN CALL debug_xmod("MAGIC_FLAGS", 0x1, 1, delta);
           ELSE IF (name = "touched-mseed") THEN CALL debug_xmod("MAGIC_FLAGS", 0x1, 2, delta);
-- 
cgit v1.2.3-70-g09d2