summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-21 05:56:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-21 05:56:44 -0300
commitaeb67a3b2402abd59f25f88909c02c9843de43cf (patch)
tree62b08fafabca9994668b1b66594ef17d4fc7f4a7
parent67003933b3eaee3a819ab6a9638a15870ab033ae (diff)
downloadserverdata-aeb67a3b2402abd59f25f88909c02c9843de43cf.tar.gz
serverdata-aeb67a3b2402abd59f25f88909c02c9843de43cf.tar.bz2
serverdata-aeb67a3b2402abd59f25f88909c02c9843de43cf.tar.xz
serverdata-aeb67a3b2402abd59f25f88909c02c9843de43cf.zip
Crafting: New requeriments for Lv 6 and Lv 7
-rw-r--r--npc/024-16/craftsman.txt8
-rw-r--r--npc/functions/clientversion.txt14
2 files changed, 20 insertions, 2 deletions
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt
index b1a212026..0abd3e827 100644
--- a/npc/024-16/craftsman.txt
+++ b/npc/024-16/craftsman.txt
@@ -86,9 +86,9 @@ function calcRequisites {
case 4:
return 18;
case 5:
- return 24;
- case 6:
return 32;
+ case 6:
+ return 64;
}
return -1;
}
@@ -156,6 +156,10 @@ function calcUpgrade {
inventoryplace EquipmentBlueprintE, 1;
getitem EquipmentBlueprintE, 1;
break;
+ case 5:
+ inventoryplace AncientBlueprint, 1;
+ getitem AncientBlueprint, 1;
+ break;
default:
getexp 1700, 200;
break;
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 16ea51286..f7926953e 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -812,6 +812,20 @@ function script clientupdater {
}
}
+ // Magic v3
+ // dom jun 21 05:55:00 BRT 2020
+ if (UPDATE < 1592729700) {
+ UPDATE=1592729700;
+
+ if (getskilllv(TMW2_CRAFT) > 5) {
+ // Refund part of the money spent
+ Zeny+=35000+(getskilllv(TMW2_CRAFT) > 6 ? 40000 : 0);
+ // Update crafting
+ skill TMW2_CRAFT, 5, 0;
+ dispbottom l("Crafting rules changed! Your crafting skill was lowered to Level 5, talk to Craftmaster to recover it!");
+ }
+
+ }
// :// End of Regular Update System
////////////////////////////////////