From 27a21793daaf592b4c011b314c31ca98af6c2dbb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 30 Apr 2018 17:57:11 -0300 Subject: Change GM items strategy from NAMED to BOUND (and prevent trade) --- db/re/item_db.conf | 3 ++- npc/003-2/lua.txt | 4 ++-- 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 ""; -- cgit v1.2.3-70-g09d2