summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 10:09:07 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 10:09:07 -0700
commitaaf35991589f4d2dc1c23a91c1859b646bfec007 (patch)
treec3bd2c71ab79f970e3df41b72a78f48d30989ab7 /conf
parent232f1fe02a2407aa628af550dd7a247ef62f70dc (diff)
downloadserverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.gz
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.bz2
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.xz
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.zip
Made levelling up in life magic practical.
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index f1690473..092402a6 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -63,10 +63,10 @@ PROCEDURE sfx_generic(target) =
PROCEDURE set_var(name, mask, shift, value) =
set_script_variable(caster, name, script_int(caster, name) & (neg (mask << shift)) | ((value & mask) << shift));
-PROCEDURE gain_heal_xp(value, gain) = # `gain' influences the likelihood of an increase
+PROCEDURE gain_heal_xp(value, gain) = # `value' influences the likelihood of an increase
last_heal_xp = (script_int(caster, SCRIPT_XP) >> SCRIPT_HEALSPELL_SHIFT) & SCRIPT_HEALSPELL_MASK;
IF (target <> caster
- && value > (20 + last_heal_xp + random(last_heal_xp + 1) + random(last_heal_xp + 1)))
+ && value > (10 + last_heal_xp + random(last_heal_xp + 1) + random(last_heal_xp + 1)))
THEN (
heal_xp = last_heal_xp + gain;
IF (heal_xp > SCRIPT_HEALSPELL_MASK)