summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authoro11c <b.r.longbons@gmail.com>2013-11-30 15:40:28 -0800
committero11c <b.r.longbons@gmail.com>2013-11-30 15:40:28 -0800
commite6cfc1b42b42d1a15ed1501a13bc094a8657a23c (patch)
tree8907b376a32a108f1fb995d1bda4aa00d8a779d4 /world
parent0a2c474e0aa0816a4085cf1999c1fe26a7764aad (diff)
parentd19175e1a4d9f65c480540b69f3255eb4981e1f6 (diff)
downloadserverdata-e6cfc1b42b42d1a15ed1501a13bc094a8657a23c.tar.gz
serverdata-e6cfc1b42b42d1a15ed1501a13bc094a8657a23c.tar.bz2
serverdata-e6cfc1b42b42d1a15ed1501a13bc094a8657a23c.tar.xz
serverdata-e6cfc1b42b42d1a15ed1501a13bc094a8657a23c.zip
Merge pull request #51 from tux9th/dark
Editing Spell #joyplim
Diffstat (limited to 'world')
-rw-r--r--world/map/conf/magic.conf.template7
1 files changed, 3 insertions, 4 deletions
diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template
index ea85bfa4..29f2ade5 100644
--- a/world/map/conf/magic.conf.template
+++ b/world/map/conf/magic.conf.template
@@ -876,10 +876,9 @@ SPELL happy-curse (target : PC) : "#N12" =
REQUIRE rdistance(location(target), location(caster)) < 1 + spellpower / 100)
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- h = (max_hp(caster) / 2) * -1;
- IF skill(caster, DARK) > 1
- THEN itemheal(caster, h, 0);
- FOR i = 0 TO (spellpower / 10) DO (emote(target, 3); WAIT 500;);
+ IF (skill(caster, DARK) > 1)
+ THEN FOR i = 0 TO (spellpower / 10) DO (emote(target, 5); WAIT 500;)
+ ELSE FOR i = 0 TO (spellpower / 10) DO (emote(target, 3); WAIT 500;);
CALL gain_xp(1, 23);
LOCAL SPELL rain : "#N13" =