diff options
author | o11c <b.r.longbons@gmail.com> | 2013-11-30 15:40:28 -0800 |
---|---|---|
committer | o11c <b.r.longbons@gmail.com> | 2013-11-30 15:40:28 -0800 |
commit | e6cfc1b42b42d1a15ed1501a13bc094a8657a23c (patch) | |
tree | 8907b376a32a108f1fb995d1bda4aa00d8a779d4 /world | |
parent | 0a2c474e0aa0816a4085cf1999c1fe26a7764aad (diff) | |
parent | d19175e1a4d9f65c480540b69f3255eb4981e1f6 (diff) | |
download | serverdata-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.template | 7 |
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" = |