summaryrefslogtreecommitdiff
path: root/npc/functions
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 /npc/functions
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
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt14
1 files changed, 14 insertions, 0 deletions
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
////////////////////////////////////