From aaf35991589f4d2dc1c23a91c1859b646bfec007 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 31 Jan 2009 10:09:07 -0700 Subject: Made levelling up in life magic practical. --- conf/magic.conf.template | 4 ++-- npc/001-1_Tulimshar/elanore.txt | 6 +++--- 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; -- cgit v1.2.3-60-g2f50