summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-18 12:40:25 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-18 12:40:25 -0300
commit8ff7649002b5e9d833fd6a99d52c199fa0135035 (patch)
tree8f5dd4aebc07d24d7fb32fa7e9ac0fb94feb3437 /npc
parentd829fc70c61e266c36b521def1adaaed90f1d808 (diff)
downloadserverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.gz
serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.bz2
serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.xz
serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.zip
use rand2() here
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/recipes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt
index 05eea9e99..bef6d655e 100644
--- a/npc/craft/recipes.txt
+++ b/npc/craft/recipes.txt
@@ -354,7 +354,7 @@ function script MakeBlueprint {
.@rcp=any_of(.@recipes);
if (RECIPES_ALCHEMY[.@rcp]) {
dispbottom l("It was a recipe you already knew...");
- getexp (BaseLevel+JobLevel)*rand(1,.@rarity), JobLevel+rand(1,.@rarity);
+ getexp (BaseLevel+JobLevel)*rand2(1,.@rarity), JobLevel+rand2(1,.@rarity);
} else {
dispbottom l("Learned a new recipe!");
RECIPES_ALCHEMY[.@rcp]=true;
@@ -404,7 +404,7 @@ function script MakeBlueprint {
.@rcp=any_of(.@recipes);
if (RECIPES_EQUIPMENT[.@rcp]) {
dispbottom l("It was a recipe you already knew...");
- getexp (BaseLevel+JobLevel)*rand(1,.@rarity), JobLevel+rand(1,.@rarity);
+ getexp (BaseLevel+JobLevel)*rand2(1,.@rarity), JobLevel+rand2(1,.@rarity);
} else {
dispbottom l("Learned a new recipe!");
RECIPES_EQUIPMENT[.@rcp]=true;