diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-18 12:40:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-18 12:40:25 -0300 |
commit | 8ff7649002b5e9d833fd6a99d52c199fa0135035 (patch) | |
tree | 8f5dd4aebc07d24d7fb32fa7e9ac0fb94feb3437 /npc/craft/recipes.txt | |
parent | d829fc70c61e266c36b521def1adaaed90f1d808 (diff) | |
download | serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.gz serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.bz2 serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.tar.xz serverdata-8ff7649002b5e9d833fd6a99d52c199fa0135035.zip |
use rand2() here
Diffstat (limited to 'npc/craft/recipes.txt')
-rw-r--r-- | npc/craft/recipes.txt | 4 |
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; |