From 8689fbc4a192962db7c47385326183181b217c7f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 13 Sep 2018 10:34:00 -0300 Subject: The rule for #parum is weird crazy. I have no idea how it works, so, DON'T ASK. --- npc/magic/parum.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/magic') 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; -- cgit v1.2.3-70-g09d2