From 0b846bddfa59054284ddd595e2f9aaca1dfa4066 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 18 May 2019 23:19:38 -0300 Subject: This should make Mana Stone error message more useful, and game smoother. --- npc/011-1/manastone.txt | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'npc/011-1') diff --git a/npc/011-1/manastone.txt b/npc/011-1/manastone.txt index f468deedb..e4a2255e9 100644 --- a/npc/011-1/manastone.txt +++ b/npc/011-1/manastone.txt @@ -35,13 +35,14 @@ close; -L_NotWorthy: - if (readparam(Sp) != readparam(MaxSp)) - dispbottom l("I must have full MP to touch it... Which I don't."); - else - dispbottom l("I should train my intelligence, and level up, both my base as my Job Level."); + +L_NotWorthy2: + if (is_gm()) movenpc .name$, 20+rand(150), 20+rand(150); + if (is_gm()) close; npctalk3 l("You are not worthy!"); - percentheal min(-10, -70+BaseLevel), min(-10, -100+BaseLevel); + percentheal -20, -50; + if (!MAGIC_LVL) + dispbottom l("I should train my intelligence, have full MP, and don't neglect even Job Level."); end; L_Level: @@ -57,13 +58,13 @@ L_Level: if (is_gm()) percentheal -20, -50; if (MAGIC_LVL >= 7 || is_gm()) close; -L_NotWorthy2: - if (is_gm()) movenpc .name$, 20+rand(150), 20+rand(150); - if (is_gm()) close; +L_NotWorthy: + if (readparam(Sp) != readparam(MaxSp)) + dispbottom l("I must have full MP to touch it... Which I don't."); + else + dispbottom l("I should train my intelligence, and level up, both my base as my Job Level."); npctalk3 l("You are not worthy!"); - percentheal -20, -50; - if (!MAGIC_LVL) - dispbottom l("I should train my intelligence, have full MP, and don't neglect even Job Level."); + percentheal min(-10, -70+BaseLevel), min(-10, -100+BaseLevel); end; L_LevelUp: -- cgit v1.2.3-60-g2f50