summaryrefslogtreecommitdiff
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
parent232f1fe02a2407aa628af550dd7a247ef62f70dc (diff)
downloadserverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.gz
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.bz2
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.tar.xz
serverdata-aaf35991589f4d2dc1c23a91c1859b646bfec007.zip
Made levelling up in life magic practical.
-rw-r--r--conf/magic.conf.template4
-rw-r--r--npc/001-1_Tulimshar/elanore.txt6
2 files changed, 5 insertions, 5 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)
diff --git a/npc/001-1_Tulimshar/elanore.txt b/npc/001-1_Tulimshar/elanore.txt
index 62e664b1..0c56ecf7 100644
--- a/npc/001-1_Tulimshar/elanore.txt
+++ b/npc/001-1_Tulimshar/elanore.txt
@@ -272,7 +272,7 @@ L_Teach_Initial_Noroom:
L_Teach_CheckAdvanceTo2:
mes "[Elanore the Healer]";
- if (@Q_heal_exp < 30)
+ if (@Q_heal_exp < 20)
goto L_Teach_CheckAdvanceTo2_fail;
mes "Elanore smiles at you.";
mes "\"From what I have been hearing, you seem to be doing well on your way to becoming a healer. I have decided to accept you as a student of the School of Life Magic.\"";
@@ -313,9 +313,9 @@ L_Teach_CheckAdvanceTo2_fail:
mes "\"I think I would like to observe you for a little longer to see if you would make a good healer.\"";
if (@Q_heal_exp < 5)
mes "\"You are still at the beginning of your path, but do keep practicing.\"";
- if ((@Q_heal_exp >= 5) && (@Q_heal_exp < 20))
+ if ((@Q_heal_exp >= 5) && (@Q_heal_exp < 15))
mes "\"You are making progress, but you still need more practice.\"";
- if (@Q_heal_exp >= 20)
+ if (@Q_heal_exp >= 15)
mes "\"You have made good progress, but please do continue in your efforts.\"";
close;