summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-04 14:59:31 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-04 14:59:31 -0300
commit1f64481a1a2e21c26761a1e51dd27a5f5f085a46 (patch)
treeea0044d09e77f236c17370fe41429b7577643f81
parent07a451bcc84fa9efa001e8725d7d2a5630bebdd3 (diff)
downloadserverdata-1f64481a1a2e21c26761a1e51dd27a5f5f085a46.tar.gz
serverdata-1f64481a1a2e21c26761a1e51dd27a5f5f085a46.tar.bz2
serverdata-1f64481a1a2e21c26761a1e51dd27a5f5f085a46.tar.xz
serverdata-1f64481a1a2e21c26761a1e51dd27a5f5f085a46.zip
Broadcast Quirino's Arena winner
-rw-r--r--npc/001-8/hub.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index 0b5aa5370..a189f2fd0 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -313,6 +313,7 @@ OnTimer900000:
OnVictory:
@qhub_victor=1;
+ announce(sprintf("##1HUNGRY QUIRIN EVENT: ##3##B%s has won the match! Hail!", strcharinfo(0)), bc_all|bc_npc);
OnPCDieEvent:
@qhub_died=1;
OnPCLogoutEvent:
@@ -363,11 +364,11 @@ OnPCLogoutEvent:
// If you are the victor (and didn't cheat), you can now hold your reward ;-)
if (@qhub_victor) {
- getitem any(MercBoxA, MercBoxA, SilverGift, GoldenGift), 1;
- Zeny=Zeny+rand(500, 2500);
+ getitem any(MercBoxA, MercBoxA, SilverGift, MercBoxBB, GoldenGift), 1;
+ Zeny=Zeny+rand2(500, 2500);
}
if (@qhub_died || @qhub_victor)
- getexp rand(100,300), BaseLevel*10; // Dying on this map is enough to get a reward. Logout = no reward.
+ getexp rand2(100,300), BaseLevel*10; // Dying on this map is enough to get a reward. Logout = no reward.
// You'll be revived/fully healed, and then warped.
// FIXME: It will throw you in Nard's ship if you are on logout...