summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-07 22:40:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-07 22:40:36 -0300
commit087208123b39766ef3a92d3e831de2fa8a523472 (patch)
tree3fddc908d385d42f1872b572f3f052d60fc045d8 /npc
parentf83f19557ca7951ef05ea66990d288020d0bc16d (diff)
downloadserverdata-087208123b39766ef3a92d3e831de2fa8a523472.tar.gz
serverdata-087208123b39766ef3a92d3e831de2fa8a523472.tar.bz2
serverdata-087208123b39766ef3a92d3e831de2fa8a523472.tar.xz
serverdata-087208123b39766ef3a92d3e831de2fa8a523472.zip
When you use a repeated Blueprint, report how many Monster Points you've gained.
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/recipes.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt
index c8a3362ca..2f9d7cf3b 100644
--- a/npc/craft/recipes.txt
+++ b/npc/craft/recipes.txt
@@ -382,11 +382,12 @@ function script MakeBlueprint {
// Now you'll learn some recipe!
.@rcp=any_of(.@recipes);
if (RECIPES_ALCHEMY[.@rcp]) {
- dispbottom l("It was a recipe you already knew...");
+ .@mpot=rand2(900, 1000*.@rarity);
+ dispbottom l("It was a recipe you already knew... (+ @@ Mobpt)", .@mpot);
getexp (BaseLevel+JobLevel)*rand2(1,.@rarity), JobLevel+rand2(1,.@rarity);
// Give you some Monster Points to use with Intense Beard
// You do NOT need to be registered with Aidan for this.
- Mobpt+=rand2(900, 1000*.@rarity);
+ Mobpt+=.@mpot;
} else {
dispbottom l("Learned a new recipe!");
RECIPES_ALCHEMY[.@rcp]=true;
@@ -440,11 +441,12 @@ function script MakeBlueprint {
// Now you'll learn some recipe!
.@rcp=any_of(.@recipes);
if (RECIPES_EQUIPMENT[.@rcp]) {
- dispbottom l("It was a recipe you already knew...");
+ .@mpot=rand2(900, 1000*.@rarity);
+ dispbottom l("It was a recipe you already knew... (+ @@ Mobpt)", .@mpot);
getexp (BaseLevel+JobLevel)*rand2(1,.@rarity), JobLevel+rand2(1,.@rarity);
// Give you some Monster Points to use with Intense Beard
// You do NOT need to be registered with Aidan for this.
- Mobpt+=rand2(900, 1000*.@rarity);
+ Mobpt+=.@mpot;
} else {
dispbottom l("Learned a new recipe!");
RECIPES_EQUIPMENT[.@rcp]=true;