From 8ff7649002b5e9d833fd6a99d52c199fa0135035 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 18 Jul 2019 12:40:25 -0300 Subject: use rand2() here --- npc/craft/recipes.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/craft') 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; -- cgit v1.2.3-70-g09d2