From 9129341a98bb1b5a92d3dc442f4ca247d8332cec Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 30 Aug 2019 19:23:26 -0300 Subject: That's right, JulieWarhawk never sold a single water bottle '-' Noobs >.> --- npc/functions/clientversion.txt | 25 ++++--------------------- 1 file 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) -- cgit v1.2.3-70-g09d2