From 01bfc4512d7102e2a4eb0e36c7d891e32f12462b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 27 Aug 2019 14:32:39 -0300 Subject: Crafting Score new rule --- npc/craft/smith.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'npc/craft/smith.txt') diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt index fa866f7eb..9d0739926 100644 --- a/npc/craft/smith.txt +++ b/npc/craft/smith.txt @@ -45,9 +45,12 @@ function script SmithSystem { // Player craft item usecraft .@craft; .@it=getcraftcode(.@entry); - // Mark the crafting in your score book (except dagger) - if (.@it != Dagger) - CRAFTING_SCORE+=1; + + // Mark the crafting in your score variable + CRAFTING_SCORE_COMPLETE+=getiteminfo(.@it, ITEMINFO_ELV); + // Update your score book + CRAFTING_SCORE=(CRAFTING_SCORE_COMPLETE/40); + if (.scope == CRAFT_GUILD) getitembound(.@it, 1, 2); // Create a guild-bound item else -- cgit v1.2.3-70-g09d2