diff options
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 25 |
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) |