diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-18 23:19:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-18 23:19:38 -0300 |
commit | 0b846bddfa59054284ddd595e2f9aaca1dfa4066 (patch) | |
tree | 170955df4407beae6a4cf2c21b87219a3dd445a2 /npc/011-1 | |
parent | 495a42de7692534a5ece735d5f49b782be818b17 (diff) | |
download | serverdata-0b846bddfa59054284ddd595e2f9aaca1dfa4066.tar.gz serverdata-0b846bddfa59054284ddd595e2f9aaca1dfa4066.tar.bz2 serverdata-0b846bddfa59054284ddd595e2f9aaca1dfa4066.tar.xz serverdata-0b846bddfa59054284ddd595e2f9aaca1dfa4066.zip |
This should make Mana Stone error message more useful, and game smoother.
Diffstat (limited to 'npc/011-1')
-rw-r--r-- | npc/011-1/manastone.txt | 25 |
1 files changed, 13 insertions, 12 deletions
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: |