summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/parum.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/magic/parum.txt b/npc/magic/parum.txt
index 9e1cc0994..31d0a5eb8 100644
--- a/npc/magic/parum.txt
+++ b/npc/magic/parum.txt
@@ -42,12 +42,14 @@ OnCall:
// Create the stuff based on MAGIC_EXP
.@r=rand(1,41);
+ // Each 2 mexp reduces chance to get a fail
if (.@r < 42-(MAGIC_EXP/2)) {
getitem WarpedLog, 1;
} else {
- if (.@r > 30+abizit())
+ // Proeficiency makes more likely to finish it
+ if (.@r > 30-abizit())
getitem MoubooFigurine, 1;
- else if (.@r > 20 && MAGIC_EXP > 82)
+ else if (.@r > 20-abizit() && MAGIC_EXP > 82)
getitem WoodenLog, 1;
else
getitem Arrow, .@r;