summaryrefslogtreecommitdiff
path: root/npc/other/fortune.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/fortune.txt')
-rw-r--r--npc/other/fortune.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/npc/other/fortune.txt b/npc/other/fortune.txt
index 23d65e88f..c3bec40f3 100644
--- a/npc/other/fortune.txt
+++ b/npc/other/fortune.txt
@@ -57,23 +57,21 @@ payon_in03,117,128,5 script Fortune Teller 4_M_BIBI,{
mes "Then...";
mes "Please pay your fee with all of your sincerity.";
next;
- input .@input;
- if (.@input == 0) {
+ input(.@input);
+ if (.@input <= 0) {
mes "[Lhimetorra]";
mes "Ah...?!";
mes "You have angered the monster spirits!";
close;
}
- else if (.@input > Zeny) {
+ if (.@input > Zeny) {
mes "[Lhimetorra]";
mes "There's no need to overdo it. Just give with all your heart... *Tsk tsk*";
close;
}
- else {
- mes "[Lhimetorra]";
- mes "I accept your heart and your devotion with my gratitude. Thoughts are more important than the amount when paying a fortune teller.";
- Zeny -= .@input;
- }
+ mes "[Lhimetorra]";
+ mes "I accept your heart and your devotion with my gratitude. Thoughts are more important than the amount when paying a fortune teller.";
+ Zeny -= .@input;
next;
mes "[Lhimetorra]";
mes "Then, I will begin to tell the fortune of your wish. Concentrate on yourself...";