summaryrefslogtreecommitdiff
path: root/npc/015-3-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-10-06 10:47:19 -0300
committerJesusaves <cpntb1@ymail.com>2023-10-06 10:47:19 -0300
commit01a2a5e659d25d3c3402f842df6d3dc40aff7e0d (patch)
tree4584097d811ffa8ae39e4e4b8091f875b6abefee /npc/015-3-3
parentd70ad08278f5235830e7c609b7e29096ce3f028a (diff)
downloadserverdata-01a2a5e659d25d3c3402f842df6d3dc40aff7e0d.tar.gz
serverdata-01a2a5e659d25d3c3402f842df6d3dc40aff7e0d.tar.bz2
serverdata-01a2a5e659d25d3c3402f842df6d3dc40aff7e0d.tar.xz
serverdata-01a2a5e659d25d3c3402f842df6d3dc40aff7e0d.zip
Bugfix
Diffstat (limited to 'npc/015-3-3')
-rw-r--r--npc/015-3-3/blanc.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/015-3-3/blanc.txt b/npc/015-3-3/blanc.txt
index 46de8bd1a..84b4c5df2 100644
--- a/npc/015-3-3/blanc.txt
+++ b/npc/015-3-3/blanc.txt
@@ -13,7 +13,10 @@
// STORY MODE
setpcblock(PCBLOCK_HARD, true);
mesc l("STORY MODE ENABLED. Monsters won't attack you, so you can read without worries."), 1;
- close;
+ next;
+ clear;
+
+ showavatar NPC_BLANC;
mesn;
mesq l("Hey pal, I am preparing a trip for The Mana World: Classic, which is beyond the mirror lake. Care to sell me contrabanded stuff?");
@@ -57,9 +60,12 @@
rif(checkbound(.@x, 1), l("I would like to sell it for %s GP.", fnum(.@price*2/3))),
rif(checkbound(.@x, 2) && .@admin, l("I would like to sell it for %s GP.", fnum(.@price*1/3))),
rif(.@c1 >= 252, l("I would like to swap, I offer you %s GP.", fnum(.@price))),
- rif(!checkbound(.@x), l("I would like to sell it for %s GP.", fnum(.@price*11/10)));
+ rif(!checkbound(.@x) && !.@c1, l("I would like to sell it for %s GP.", fnum(.@price*11/10)));
switch (@menu) {
case 2:
+ mesn;
+ mesq l("Are you sure?");
+ if (askyesno() == ASK_NO) break;
// Sell account bound items
delitem .@x, 1;
Zeny += .@price * 2 / 3;