summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEnchilado <crunchy@crunchy-Satellite-L300.(none)>2011-05-02 13:57:03 +1000
committerEnchilado <crunchy@crunchy-Satellite-L300.(none)>2011-05-02 13:57:03 +1000
commit44552917efd5117214fa2a77cc6dc5f13ae55281 (patch)
tree5bd8cdbca427922659bbc75c761b0c88ad06ef3d /npc
parent28e0b8303ac16810be6208e58e9a19532e6d6cf8 (diff)
downloadserverdata-44552917efd5117214fa2a77cc6dc5f13ae55281.tar.gz
serverdata-44552917efd5117214fa2a77cc6dc5f13ae55281.tar.bz2
serverdata-44552917efd5117214fa2a77cc6dc5f13ae55281.tar.xz
serverdata-44552917efd5117214fa2a77cc6dc5f13ae55281.zip
Fixed bug in lover's script.
Before, all of a player's Dark Crystals were removed, not just the required amount.
Diffstat (limited to 'npc')
-rw-r--r--npc/027-2_Caretakers_House/lover.txt2
1 files changed, 1 insertions, 1 deletions
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.\"";