diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-30 19:25:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-30 19:25:06 -0300 |
commit | a75c323e7a9b35f7dcc49c6f86478ec16a3c0419 (patch) | |
tree | dbca2245f96cff58bdc829bcdf1091a0cf29bd2a | |
parent | 9129341a98bb1b5a92d3dc442f4ca247d8332cec (diff) | |
download | serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.gz serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.bz2 serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.tar.xz serverdata-a75c323e7a9b35f7dcc49c6f86478ec16a3c0419.zip |
Actually, give Julie an Arcmage Boxset as an apology token.
-rw-r--r-- | npc/functions/clientversion.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 0a97ffc52..6c507ccbc 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -586,8 +586,8 @@ function script clientupdater { .@dg=true; // Sell Bottles - if (countitem(BottleOfWoodlandWater)) { - delitem BottleOfWoodlandWater, countitem(BottleOfWoodlandWater); + if (countitem(BottleOfWoodlandWater) > 1) { + delitem BottleOfWoodlandWater, (countitem(BottleOfWoodlandWater)/2)+1; } if (countitem(EmptyBottle)) { delitem EmptyBottle, countitem(EmptyBottle); @@ -595,11 +595,13 @@ function script clientupdater { if (countitem(IcedBottle)) { delitem IcedBottle, countitem(IcedBottle); } + getitem ArcmageBoxset, 1; // Unjail player atcommand "@unjail "+strcharinfo(0); mesn "Jesusalva"; mesq l("You're right, you never sold any Water Bottle ever. I'm unjailing you."); + mesc l("As an Apology Token, you're also receiving one @@.", getitemlink(ArcmageBoxset)); next; } |