summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-30 19:23:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-30 19:23:26 -0300
commit9129341a98bb1b5a92d3dc442f4ca247d8332cec (patch)
tree3f33875e12b5d42b43db815453c0e54750b636c3
parent57a4c13193c91f616a579b73607e00c5ae923274 (diff)
downloadserverdata-9129341a98bb1b5a92d3dc442f4ca247d8332cec.tar.gz
serverdata-9129341a98bb1b5a92d3dc442f4ca247d8332cec.tar.bz2
serverdata-9129341a98bb1b5a92d3dc442f4ca247d8332cec.tar.xz
serverdata-9129341a98bb1b5a92d3dc442f4ca247d8332cec.zip
That's right, JulieWarhawk never sold a single water bottle '-'
Noobs >.>
-rw-r--r--npc/functions/clientversion.txt25
1 files changed, 4 insertions, 21 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 6882e2e36..0a97ffc52 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -583,41 +583,24 @@ function script clientupdater {
CRAFTING_SCORE_COMPLETE=CRAFTING_SCORE*39;
// Water bug
if (strcharinfo(0) == "JulieWarhawk") {
- #LOAN=34980;
+ .@dg=true;
- // Take any money in pockets
- if (Zeny>=#LOAN) {
- Zeny-=#LOAN;
- #LOAN=0;
- } else {
- #LOAN-=Zeny;
- Zeny=0;
- }
// Sell Bottles
if (countitem(BottleOfWoodlandWater)) {
- #LOAN-=countitem(BottleOfWoodlandWater)*80;
delitem BottleOfWoodlandWater, countitem(BottleOfWoodlandWater);
}
if (countitem(EmptyBottle)) {
- #LOAN-=countitem(EmptyBottle)*80;
delitem EmptyBottle, countitem(EmptyBottle);
}
if (countitem(IcedBottle)) {
- #LOAN-=countitem(IcedBottle)*500;
delitem IcedBottle, countitem(IcedBottle);
}
- // Bank money (will also handle overflows)
- if (BankVault > #LOAN) {
- BankVault-=#LOAN;
- #LOAN=0;
- } else {
- #LOAN-=BankVault;
- BankVault=0;
- }
// Unjail player
atcommand "@unjail "+strcharinfo(0);
- dispbottom l("You have been freed, and you still own @@ GP to the Bank.", #LOAN);
+ mesn "Jesusalva";
+ mesq l("You're right, you never sold any Water Bottle ever. I'm unjailing you.");
+ next;
}
// Bug reward (FF)