summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-08-01 12:53:20 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-08-01 12:53:20 -0700
commitb13e3648b71009c36afe18209d49e0b46309cdf5 (patch)
tree059830eeedfa7e4d184b03502f1dd025de76a05c /world/map
parent9ebd0be924a02216eecbcd0f653d253662ef7b0f (diff)
downloadserverdata-b13e3648b71009c36afe18209d49e0b46309cdf5.tar.gz
serverdata-b13e3648b71009c36afe18209d49e0b46309cdf5.tar.bz2
serverdata-b13e3648b71009c36afe18209d49e0b46309cdf5.tar.xz
serverdata-b13e3648b71009c36afe18209d49e0b46309cdf5.zip
Weaken the range of #inma at high power to avoid breaking quests
Diffstat (limited to 'world/map')
-rw-r--r--world/map/conf/magic.conf.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template
index c8fd29df..22f2e423 100644
--- a/world/map/conf/magic.conf.template
+++ b/world/map/conf/magic.conf.template
@@ -566,7 +566,7 @@ SPELL lay-on-hands (target : STRING) : "#L10" =
(pc(target) <> caster)
&&
(rdistance(location(caster),
- location(pc(target))) < 2 + (spellpower / 50))
+ location(pc(target))) < 2 + sqrt(spellpower) / 4)
&& not (running_status_update(pc(target), SC_HALT_REGENERATE))
))
=> EFFECT CALL adjust_spellpower(school);