summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-09-13 21:02:56 -0300
committerJesusaves <cpntb1@ymail.com>2024-09-13 21:02:56 -0300
commit330910dc52bed3257d80cb052b2cecc7a2f9843e (patch)
treeaaf139f0f0db25e61689ea31f349dd394aa41c99
parentaa08f1d117b52b013ddf0d24ea8729d52dd89f96 (diff)
downloadserverdata-330910dc52bed3257d80cb052b2cecc7a2f9843e.tar.gz
serverdata-330910dc52bed3257d80cb052b2cecc7a2f9843e.tar.bz2
serverdata-330910dc52bed3257d80cb052b2cecc7a2f9843e.tar.xz
serverdata-330910dc52bed3257d80cb052b2cecc7a2f9843e.zip
Update Barbara to also grant Story Immunity, as the safe zone was nerfed.
-rw-r--r--npc/018-6-1/main.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt
index ffe7fb62a..0f2c2e049 100644
--- a/npc/018-6-1/main.txt
+++ b/npc/018-6-1/main.txt
@@ -228,6 +228,11 @@ OnMain:
.@q3=getq3(LoFQuest_Barbara);
sleep2(50);
+ setpcblock(PCBLOCK_HARD, true);
+ mesc l("STORY MODE ENABLED. Monsters won't attack you, so you can read without worries."), 1;
+ next;
+ clear;
+
// Barbara was taken hostage or murdered - save this data
@evil=0; // Temporary variable to show the murder option or not
setnpcdialogtitle l("Wounded Girl");
@@ -324,6 +329,7 @@ OnMain:
BARBARA_STATE=1;
setq1 LoFQuest_Barbara, 5;
disablenpc instance_npcname(.name$); // NPC will now go to rest
+ setpcblock(PCBLOCK_HARD, false);
close;
} else {
@evil=false;
@@ -342,6 +348,7 @@ OnMain:
// The quest is not over yet - do not set BARBARA_STATE
setq1 LoFQuest_Barbara, 5;
disablenpc instance_npcname(.name$); // NPC will now go to rest
+ setpcblock(PCBLOCK_HARD, false);
close;
break;
}
@@ -397,6 +404,7 @@ L_MainStory:
setq1 LoFQuest_Barbara, 5;
disablenpc instance_npcname(.name$); // NPC will now go to rest
next;
+ setpcblock(PCBLOCK_HARD, false);
closeclientdialog;
dispbottom l("You see a fruit on her body. You take it.");
getitembound MysteriousFruit, 1, 4;
@@ -448,9 +456,11 @@ L_MainStory:
// The quest is not over yet - do not set BARBARA_STATE
setq1 LoFQuest_Barbara, 5;
disablenpc instance_npcname(.name$); // NPC will now go to rest
+ setpcblock(PCBLOCK_HARD, false);
close;
}
Exception("Invalid Barbara Dialog State - 0");
+ setpcblock(PCBLOCK_HARD, false);
close;
OnInit: