summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/magic/drops.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/magic/drops.txt b/npc/magic/drops.txt
index 0d2803a18..8ce992998 100644
--- a/npc/magic/drops.txt
+++ b/npc/magic/drops.txt
@@ -19,6 +19,12 @@ function script SK_drops {
.@lv=getmonsterinfo(.@mobId, MOB_LV);
.@min=10-getskilllv(TMW2_DROPS)+(.@lv/10);
+ // Bifs trigger Realm of Drops twice as often, while slimes half as often
+ if (getmonsterinfo(.@mobId, MOB_RACE) == RC_Mineral)
+ .@min = (.@min+1)/2;
+ if (compare("slime", strtolower(strmobinfo(1, .@mobId))))
+ .@min *= 2;
+
// Maybe we are in condition for the bonus drop
if (@skdrop[.@mobId] % .@min == 0) {
// This creates .@item and .@rate with same index