summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 12:10:51 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 12:10:51 -0300
commit7dc287d59ca06a02214d1d18ed8b27bd737a7ae1 (patch)
tree766d5e39c1ead49366fad9107170320bf0e4be6d
parent5924cd46a2b4636dc64eba166f8d35ddc125aa4d (diff)
downloadserverdata-7dc287d59ca06a02214d1d18ed8b27bd737a7ae1.tar.gz
serverdata-7dc287d59ca06a02214d1d18ed8b27bd737a7ae1.tar.bz2
serverdata-7dc287d59ca06a02214d1d18ed8b27bd737a7ae1.tar.xz
serverdata-7dc287d59ca06a02214d1d18ed8b27bd737a7ae1.zip
Debug prints
-rw-r--r--db/re/item_db.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index f77785f1e..8cbb86427 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -4851,10 +4851,10 @@ item_db: (
// Bow: Subtype W_BOW (ITEMINFO_SUBTYPE)
// Arrow: EQP_AMMO
// Check if you are using bow and arrows
- if (
- (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) &&
- (getiteminfo(getequipid(EQI_AMMO), ITEMINFO_LOC) == EQP_AMMO)
- ) {
+ debugmes "Quiver info! Bow Getequip id is "+getequipid(EQI_HAND_R);
+ debugmes "Quiver info! Item subtype is "+getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE);
+ debugmes "Quiver info! Target subtype: "+W_BOW;
+ if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_SUBTYPE) == W_BOW) {
bonus bHitRate,10;
bonus bAddMaxWeight,100;
}