summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-22 21:14:46 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-22 21:14:46 -0300
commit148f4207263228d12e66d451487a460dda33a2c5 (patch)
tree49ea23eda53dab65b5616c5287286e1b3fac622e
parent26caa4b8dc06adf8299f46095d60168e68f930c2 (diff)
downloadserverdata-148f4207263228d12e66d451487a460dda33a2c5.tar.gz
serverdata-148f4207263228d12e66d451487a460dda33a2c5.tar.bz2
serverdata-148f4207263228d12e66d451487a460dda33a2c5.tar.xz
serverdata-148f4207263228d12e66d451487a460dda33a2c5.zip
Dagger doesn't causes Crafting Score to increase
-rw-r--r--npc/craft/smith.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 9843cac26..71f6a47f5 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -44,10 +44,11 @@ function script SmithSystem {
.success=true;
} else if (.knowledge[.@entry] || $@GM_OVERRIDE) {
// Player craft item
- // Mark the crafting in your score book
- CRAFTING_SCORE+=1;
usecraft .@craft;
.@it=getcraftcode(.@entry);
+ // Mark the crafting in your score book (except dagger)
+ if (.@it != Dagger)
+ CRAFTING_SCORE+=1;
getnameditem(.@it, strcharinfo(0));
if (getskilllv(TMW2_CRAFT)) {
delinventorylist(); // Needed, because we'll rely on rfind()