From b8dafc6736eb3f6fa60afcc41b5a71c9fa11bf2e Mon Sep 17 00:00:00 2001 From: Jesusalva Jesusalva Date: Sat, 19 Nov 2022 10:11:04 +0000 Subject: WIP: v2022.11.11 Update --- world/map/npc/052-2/chest.txt | 16 ++++++++++++++++ world/map/npc/052-2/partyroom.txt | 1 + 2 files changed, 17 insertions(+) (limited to 'world/map/npc/052-2') diff --git a/world/map/npc/052-2/chest.txt b/world/map/npc/052-2/chest.txt index d7644054..00645c76 100644 --- a/world/map/npc/052-2/chest.txt +++ b/world/map/npc/052-2/chest.txt @@ -119,12 +119,28 @@ L_InventoryNoSpace: L_AskLeaving: mes "It's time to leave this place now."; next; + if (countitem(ImperialBow)) goto L_Banshee; + goto L_ReallyLeave; + +L_ReallyLeave: // Force the hero to leave last, as this event triggers the end of the quest // as well as some dialogs from Valia, when the hero returns. if (strcharinfo(0) == $@ILLIA_HERO$ && getareausers("052-2", 19, 8, 137, 88) > 1) goto L_WaitHelpersLeave; goto L_PrepareLeaving; +L_Banshee: + mes "Actually, should I place the [@@"+ImperialBow+"|@@] here? If I do, it'll be cursed into a [@@"+BansheeBow+"|@@] again."; + menu + "Ridiculous. Why would I curse my weapon again?", L_ReallyLeave, + "Yes, that's a good idea. I would sacrifice anything for the extra power.", L_CurseBanshee; + +L_CurseBanshee: + if (countitem(ImperialBow) < 1) goto L_ReallyLeave; + delitem ImperialBow, 1; + getitem BansheeBow, 1; + goto L_ReallyLeave; + L_WaitHelpersLeave: mes "However, I'd better wait my friends leave before I do."; next; diff --git a/world/map/npc/052-2/partyroom.txt b/world/map/npc/052-2/partyroom.txt index ec6d2a64..5d4664e4 100644 --- a/world/map/npc/052-2/partyroom.txt +++ b/world/map/npc/052-2/partyroom.txt @@ -248,6 +248,7 @@ OnDeath: end; OnBP: + getexp 25000, 0; set BOSS_POINTS, BOSS_POINTS + $@illia_bp; message strcharinfo(0), "You gain " + $@illia_bp + " Boss Points giving you a total of " + BOSS_POINTS + "."; end; -- cgit v1.2.3-70-g09d2