summaryrefslogtreecommitdiff
path: root/npc/001-11/Demure.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-11/Demure.txt')
-rw-r--r--npc/001-11/Demure.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/001-11/Demure.txt b/npc/001-11/Demure.txt
index 7608e79fd..c36ca4cf8 100644
--- a/npc/001-11/Demure.txt
+++ b/npc/001-11/Demure.txt
@@ -77,7 +77,7 @@
mesn;
mesq l("Should I attach a love letter?");
next;
- .@totalneed=@Val_Ammo/10+1;
+ .@totalneed=@Val_Ammo/10+(@Val_Ammo % 10 ? 1 : 0);
select
l("Yes, one"),
//rif(countitem(LoveLetter) >= .@totalneed, l("Yes, %d", .@totalneed)),
@@ -88,7 +88,7 @@
// Custom input
if (@menu == 2) {
mes l("How many %s should I attach?", getitemlink(LoveLetter));
- mesc l("Recommended: %d | Max: %d", countitem(LoveLetter), .@totalneed);
+ mesc l("Recommended: ##B%d##b | Max: %d", .@totalneed, countitem(LoveLetter));
input .@totalneed;
if (.@totalneed > countitem(LoveLetter))
.@totalneed=countitem(LoveLetter);