summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
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)