From 6fd870057c83832ef59664fc92cc95e273131783 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 23 Jun 2019 12:08:15 -0300 Subject: Give newcomers additional drop rate of [Cactus Drink] on Candor --- npc/005-7/trainer.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/005-7') diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt index cb3b7db2a..a7fc492bc 100644 --- a/npc/005-7/trainer.txt +++ b/npc/005-7/trainer.txt @@ -556,6 +556,13 @@ OnKillMaggot: message strcharinfo(0), l("@@/10 Maggots", .@k+1); } } + // Additional Cactus Drink drop rate for newcomers: 4.9% additional + if (BaseLevel <= 22) { + if (rand2(10000) < 490-(BaseLevel**2)) { + getmapxy(.@m$, .@x, .@y, 0); + makeitem CactusDrink, 1, .@m$, .@x, .@y; + } + } fix_mobkill(Maggot); end; OnKillHouseMaggot: -- cgit v1.2.3-60-g2f50