diff options
Diffstat (limited to 'npc/005-7/trainer.txt')
-rw-r--r-- | npc/005-7/trainer.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt index 85e31d717..a500e21cb 100644 --- a/npc/005-7/trainer.txt +++ b/npc/005-7/trainer.txt @@ -574,6 +574,7 @@ OnKillHouseMaggot: fix_mobkill(HouseMaggot); end; OnKillCandorScorpion: + if (!playerattached()) end; .@q=getq(CandorQuest_Trainer); .@k=getq2(CandorQuest_Trainer); // Get number of kills (via getq2) if (.@q == 7) { @@ -585,6 +586,13 @@ OnKillCandorScorpion: message strcharinfo(0), l("@@/3 Candor Scorpions", .@k+1); } } + // Additional Bug Leg drop rate for newcomers: 5% additional + if (BaseLevel <= 22) { + if (rand2(10000) < 500-(BaseLevel**2)) { + getmapxy(.@m$, .@x, .@y, 0); + makeitem BugLeg, 1, .@m$, .@x, .@y; + } + } fix_mobkill(CandorScorpion); end; OnKillScorpion: |