summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-06-01 14:53:51 -0300
committerJesusaves <cpntb1@ymail.com>2024-06-01 14:53:51 -0300
commitfc0b556ae917ae855e0c3947b6007ce71504e257 (patch)
treef83d596905d03ef2375f0bc6d3c47f49c592cd26
parent728299a4361618763ebdcc0d68cfbfe3f2d48b43 (diff)
downloadserverdata-fc0b556ae917ae855e0c3947b6007ce71504e257.tar.gz
serverdata-fc0b556ae917ae855e0c3947b6007ce71504e257.tar.bz2
serverdata-fc0b556ae917ae855e0c3947b6007ce71504e257.tar.xz
serverdata-fc0b556ae917ae855e0c3947b6007ce71504e257.zip
Update Mana Tree Quest layout
-rw-r--r--npc/025-2-4/tree.txt1
-rw-r--r--npc/029-0/amelia.txt1
-rw-r--r--npc/functions/util.txt6
3 files changed, 7 insertions, 1 deletions
diff --git a/npc/025-2-4/tree.txt b/npc/025-2-4/tree.txt
index 943c8ada7..7b7dee71a 100644
--- a/npc/025-2-4/tree.txt
+++ b/npc/025-2-4/tree.txt
@@ -39,6 +39,7 @@ function manatreeAgain {
inventoryplace Manapple, 1;
mesc l("The tree generously offer you one of its fruits.");
mesc l("You gladly accept it. But probably better not disturb it for a few days.");
+ compareandsetq FortressQuest_ManaTree, 2, 3;
// If you pledged for Barbara's life, 2 days cooldown, else 3d
if (BARBARA_STATE == 3)
setq3 FortressQuest_ManaTree, gettimeparam(GETTIME_DAYOFMONTH)+2;
diff --git a/npc/029-0/amelia.txt b/npc/029-0/amelia.txt
index da98601ef..26a2c8b70 100644
--- a/npc/029-0/amelia.txt
+++ b/npc/029-0/amelia.txt
@@ -12,6 +12,7 @@
if (.@q == 0) goto L_Start;
if (.@q == 1) goto L_Cheerful;
if (.@q == 2) goto L_Short;
+ if (.@q == 3) goto L_Short;
// Generic reply
npctalk3 l("*sigh*");
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 5ebb3793d..4e6494d34 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -651,8 +651,12 @@ function script reputation {
if (getq(FortressQuest_RangedHunt) >= 2)
.@nr=.@nr+1;
+ // The Mana Tree (+1 rep)
+ if (getq(FortressQuest_ManaTree) >= 3)
+ .@nr=.@nr+1;
+
// FORTRESS TOWN Magical Formula
- .@nr=.@nr*100/5;
+ .@nr=.@nr*100/6;
// Final