From 8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 26 Jan 2019 15:10:14 -0200 Subject: 007-1 Chest position must be reset on init. Robbery bonus for Burglar Mask (thief only). Carry bonus on Monocle (merc only) --- db/re/item_db.conf | 10 ++++++++++ npc/007-1/treasure.txt | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index a7e05909a..60ffeb7d6 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -9550,7 +9550,13 @@ item_db: ( id5033: 1 id5036: 1 } + Script: <" + if (getskilllv(ALL_INCCARRY)) + addtoskill(ALL_INCCARRY, 1, 2); + "> // How can we set 5033 and 5036 give only 1 dex or 1 luck to this item ? @jesusalva +// We probably can't. Just kidding, we use getequipcardid(), check if it is PolishedWhatever, +// and add a -1 bonus. }, { Id: 3202 @@ -9649,6 +9655,10 @@ item_db: ( EquipLv: 40 Refine: false ViewSprite: 3208 + Script: <" + if (getskilllv(TF_STEAL)) + addtoskill(TF_STEAL, 1, 2); + "> }, { Id: 3209 diff --git a/npc/007-1/treasure.txt b/npc/007-1/treasure.txt index f4ec03d6f..8e9503a57 100644 --- a/npc/007-1/treasure.txt +++ b/npc/007-1/treasure.txt @@ -95,7 +95,6 @@ OnInit: .busy = false; .distance = 2; .empty = false; - end; OnClock0156: OnClock0756: -- cgit v1.2.3-70-g09d2