summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-21 17:12:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-21 17:12:20 -0300
commitfe0df84b61325d3f0fc8cb6c38a8704c861248a8 (patch)
tree564cdce685aa17ab4ef22b23698040aa5159af6c /npc/craft
parente428bb8478274f76c2ac7c35e285a0c8a68866ad (diff)
downloadserverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.gz
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.bz2
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.xz
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.zip
Crafting - Players are now able to opt for bound items instead of named ones.
Bound items cannot be traded but accept cards.
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/smith.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 6d5ea54c9..cfad0c30a 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -60,6 +60,8 @@ function script SmithSystem {
if (.scope == CRAFT_GUILD)
getitembound(.@it, 1, 2); // Create a guild-bound item
+ else if (GSET_CRAFT_BOUND)
+ getitembound(.@it, 1, 1); // Create an account-bound item
else
getnameditem(.@it, strcharinfo(0));
if (getskilllv(TMW2_CRAFT)) {