diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/magic/level1-experience.txt | 2 | ||||
-rw-r--r-- | world/map/npc/magic/level1-lesser-heal.txt | 1 | ||||
-rw-r--r-- | world/map/npc/magic/level2-lay-on-hands.txt | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/magic/level1-experience.txt b/world/map/npc/magic/level1-experience.txt index 0d6b5459..323abc54 100644 --- a/world/map/npc/magic/level1-experience.txt +++ b/world/map/npc/magic/level1-experience.txt @@ -8,7 +8,6 @@ callfunc "adjust_spellpower"; set Sp, Sp - 1; misceffect FX_MAGIC_GENERIC, strcharinfo(0); - callfunc "magic_exp"; // no exp for this spell set @ratio, ((@last_exp*10) - rand(.MAX_MAGIC_EXP[@level]/30))/.MAX_MAGIC_EXP[@level]; set @mes$, "You feel completely overwhelmed by your magic."; @@ -27,7 +26,6 @@ if(@ratio >= 45 && @level < MAX_MAGIC_LEVEL) set @mes$, @mes$ + " Surely the Mana Seed will more than readily offer more magic for such a proficient user."; if(@level >= 5) set @mes$, "You are as proficient at magic as you can possibly be."; // this is the maximum magic level message strcharinfo(0), "Magic : ##3##B"+@mes$; - // TODO put magic_exp somewhere end; OnInit: diff --git a/world/map/npc/magic/level1-lesser-heal.txt b/world/map/npc/magic/level1-lesser-heal.txt index 22aec370..85f2f8a8 100644 --- a/world/map/npc/magic/level1-lesser-heal.txt +++ b/world/map/npc/magic/level1-lesser-heal.txt @@ -17,6 +17,7 @@ misceffect FX_MAGIC_WHITE, strcharinfo(0); set .@heal_value, (get(MaxHp, @target_id) - get(Hp, @target_id)); set @mexp, .exp_gain; + callfunc "magic_exp"; if (.@heal_value < 200) set .@heal_value, 200; if (@args$ == "Mouboo" || @args$ == "mouboo") goto L_Mouboo; diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt index 8fb7f6ce..ab5b2616 100644 --- a/world/map/npc/magic/level2-lay-on-hands.txt +++ b/world/map/npc/magic/level2-lay-on-hands.txt @@ -31,6 +31,7 @@ L_Pay: set @mexp, min(.exp_gain, .@payment/100); callfunc "gain_heal_xp"; + callfunc "magic_exp"; set .@dark, getskilllv(SKILL_MAGIC_DARK) >= 2; // true if dark magic user set .@bad, (MaxHp/20)*(0-1); |