summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-26 15:10:14 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-26 15:10:14 -0200
commit8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d (patch)
tree0e64ab5183f00e9d794323fc85d227daf7e74d71
parent31ae85fa7150dbe25f2b4ad701dbb0acbdfc3c0d (diff)
downloadserverdata-8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d.tar.gz
serverdata-8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d.tar.bz2
serverdata-8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d.tar.xz
serverdata-8a9ef33d41b2b7e22269d0112c6f87c2de6baf3d.zip
007-1 Chest position must be reset on init.
Robbery bonus for Burglar Mask (thief only). Carry bonus on Monocle (merc only)
-rw-r--r--db/re/item_db.conf10
-rw-r--r--npc/007-1/treasure.txt1
2 files changed, 10 insertions, 1 deletions
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: