From 44552917efd5117214fa2a77cc6dc5f13ae55281 Mon Sep 17 00:00:00 2001 From: Enchilado Date: Mon, 2 May 2011 13:57:03 +1000 Subject: Fixed bug in lover's script. Before, all of a player's Dark Crystals were removed, not just the required amount. --- npc/027-2_Caretakers_House/lover.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/027-2_Caretakers_House/lover.txt b/npc/027-2_Caretakers_House/lover.txt index e194dce5..7233cb57 100644 --- a/npc/027-2_Caretakers_House/lover.txt +++ b/npc/027-2_Caretakers_House/lover.txt @@ -71,7 +71,7 @@ L_Crystals: if (countitem("DarkCrystal") < @CRYSTAL_AMOUNT) goto L_Not_Enough_Crystals; - delitem "DarkCrystal", countitem("DarkCrystal"); + delitem "DarkCrystal", @CRYSTAL_AMOUNT; getexp @CRYSTAL_EXP, 0; next; mes "\"Oh, I can feel them! Please lay them down on the floor.\""; -- cgit v1.2.3-70-g09d2