From aeb67a3b2402abd59f25f88909c02c9843de43cf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 21 Jun 2020 05:56:44 -0300 Subject: Crafting: New requeriments for Lv 6 and Lv 7 --- npc/024-16/craftsman.txt | 8 ++++++-- npc/functions/clientversion.txt | 14 ++++++++++++++ 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 @@ -811,6 +811,20 @@ function script clientupdater { EVENT_POINTS=0; } + } + // 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 -- cgit v1.2.3-60-g2f50