summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-04-30 17:57:11 -0300
committerJesusaves <cpntb1@ymail.com>2018-04-30 17:57:11 -0300
commit27a21793daaf592b4c011b314c31ca98af6c2dbb (patch)
tree04c694592fc293db786afc438dcadee84466c959
parent3a1e16f9e614085335b543ade46ec7ba37522cd4 (diff)
downloadserverdata-27a21793daaf592b4c011b314c31ca98af6c2dbb.tar.gz
serverdata-27a21793daaf592b4c011b314c31ca98af6c2dbb.tar.bz2
serverdata-27a21793daaf592b4c011b314c31ca98af6c2dbb.tar.xz
serverdata-27a21793daaf592b4c011b314c31ca98af6c2dbb.zip
Change GM items strategy from NAMED to BOUND (and prevent trade)
-rw-r--r--db/re/item_db.conf3
-rw-r--r--npc/003-2/lua.txt4
2 files changed, 4 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index de080ed43..43d4b71b6 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -6335,6 +6335,7 @@ item_db: (
BindOnEquip: false
BuyingStore: false
Trade: {
+ notrade: true
nodrop: true
noselltonpc: true
}
@@ -9089,13 +9090,13 @@ item_db: (
BindOnEquip: false
BuyingStore: false
Trade: {
+ notrade: true
nodrop: true
noselltonpc: true
}
Nouse: {
override: 80
}
- BindOnEquip: true
Sprite: 0
},
{
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index f67bd9e2d..c4207157e 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -23,8 +23,8 @@ L_Menu:
close;
L_GMItems:
- getnameditem "GMRobe", strcharinfo(0);
- getnameditem "GMCap", strcharinfo(0);
+ getitembound "GMRobe", 1, 1;
+ getitembound "GMCap", 1, 1;
logmes(strcharinfo(0)+" just took a GM set.");
logmes(strcharinfo(0)+" just took a GM set.", LOGMES_ATCOMMAND);
mes "";