diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-08-17 14:39:44 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-08-17 14:39:44 -0700 |
commit | e6af141ede435de18a28af4fd58e0bdd62bfe23d (patch) | |
tree | e25506009a53012b1da05feb5591bb646c4c7396 | |
parent | cd1434ffa2975b987e0c114d4ab039025e3c0f15 (diff) | |
download | serverdata-2011.08.18.tar.gz serverdata-2011.08.18.tar.bz2 serverdata-2011.08.18.tar.xz serverdata-2011.08.18.zip |
Compromise on the range of #inmav2011.08.18
-rw-r--r-- | world/map/conf/magic.conf.template | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/world/map/conf/magic.conf.template b/world/map/conf/magic.conf.template index 22f2e423..b317d63a 100644 --- a/world/map/conf/magic.conf.template +++ b/world/map/conf/magic.conf.template @@ -562,13 +562,13 @@ SPELL lay-on-hands (target : STRING) : "#L10" = REQUIRE hp(caster) > max_hp(caster) / 20, REQUIRE skill(caster, MAGIC) > level, REQUIRE skill(caster, school) > level, - REQUIRE if_then_else(failed(pc(target)), 1, - (pc(target) <> caster) - && - (rdistance(location(caster), - location(pc(target))) < 2 + sqrt(spellpower) / 4) - && not (running_status_update(pc(target), SC_HALT_REGENERATE)) - )) + REQUIRE if_then_else(failed(pc(target)), + 1, + (pc(target) <> caster) + && (rdistance(location(caster), location(pc(target))) + < 2 + (12 * sqrt(spellpower) + spellpower) / 100) + && not (running_status_update(pc(target), SC_HALT_REGENERATE)) + )) => EFFECT CALL adjust_spellpower(school); IF (not (target)) THEN ABORT; IF failed(pc(target)) |