summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-26 13:19:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-26 13:19:06 -0300
commit4f2b3748bb846877a502abe84a64e78b567cae15 (patch)
treeb6c1833e0f67936d8c629dbedc6a33970153b225
parent193f2e06f0d0a35f84bc8903919da8a36260b1bc (diff)
downloadserverdata-4f2b3748bb846877a502abe84a64e78b567cae15.tar.gz
serverdata-4f2b3748bb846877a502abe84a64e78b567cae15.tar.bz2
serverdata-4f2b3748bb846877a502abe84a64e78b567cae15.tar.xz
serverdata-4f2b3748bb846877a502abe84a64e78b567cae15.zip
Ocean Pirate Captain may give victor a Crazy Rum Bottle, randomly.
via getitem
-rw-r--r--npc/016-7/main.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/016-7/main.txt b/npc/016-7/main.txt
index 6c615a50d..165150630 100644
--- a/npc/016-7/main.txt
+++ b/npc/016-7/main.txt
@@ -47,6 +47,9 @@ OnReward:
getexp BaseLevel*10, BaseLevel;
Zeny=Zeny+BaseLevel*rand2(5,15);
//getitem SailorShirt, 1; // I already tried to do this before...?
+ // 7% chance to get Crazy Rum
+ if (rand2(10000) < 700+(readparam(bLuk)*3))
+ getitem CrazyRum, 1;
dispbottom l("Congratulations!");
if (isin("016-7", 23, 25, 52, 35))
addtimer(3000, "#MarineShipAttack::OnResumeTravel");